Is it possible to record "number of scans" performed information down at supplicant level and make it available at Application layer?

Nithyananthan Poosamani nithy.psg
Wed Aug 3 18:52:02 PDT 2011


Hi,

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.

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.
However I do not know how to record these value somehow and make it
available to an application running at the top.

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 !
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?

Please guide me so that I can perform this recording of information.

Thanks,
Nithyananthan Poosamani
--
Networking Research Laboratory (NRL)
NC State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110803/98ad9841/attachment.htm 



More information about the Hostap mailing list