<div dir="ltr">Hi,<div><br></div><div>I am interested in recording the number of scan trials happening at the wpa_supplicant daemon service and want that available at the Application layer.</div><div><br></div><div>I know that wpa_supplicant data structure has "scan_runs" integer member element which can inform me of the number of scan runs performed after the supplicant service started running.</div>
<div>However I do not know how to record these value somehow and make it available to an application running at the top.</div><div><br></div><div>I can insert a Log message in the scan.c file and make it log always so that when I am connected to ADB, I can see the information but I feel this method is ugly !</div>
<div>Can I write information directly onto a file say "xyz.txt" in /data directory or somewhere so that I can retrieve it later using a rooted phone? </div><div><br></div><div>Please guide me so that I can perform this recording of information.</div>
<div><br></div><div>Thanks,</div><div>Nithyananthan Poosamani</div><div>--</div><div>Networking Research Laboratory (NRL)</div><div>NC State University</div></div>