Hi everyone,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We are trying to create a GUI application that reports status of a prism wireless card (station/client/managed mode)&nbsp; on our embedded device that runs 2.4.26 kernel and hostap V2.6. We are using the older versions due to legacy issues.
<br><br>How can we obtain the following information from the hostap driver&nbsp; (ioctl calls??) :-<br>1. If the card has been taken out of range of an access point i.e. current linkstatus.<br>2. If the card can 'see' an access point but cannot connect to it (due to authentication mismatch or wrong WEP key, for example)
<br><br>I understand that linkstatus information is communicated by the card firmware as an Unsolicited MAC Mgmt frame. So, the driver itself is aware when the card goes out of range. My question is how can I obtain this information at the application level? The 'status' field in the /proc/net/wireless file does not seem to indicate this information.
<br><br>Thanks in advance,<br>Sriram <br><br><br><br><br>