#658: No suitable AP found using wpa_supplicant, IWEVGENIE OVERFLOW during scan.
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: madwifi: other | Version:
Resolution: | Keywords:
Patch_attached: 0 |
--------------------------------------------+-------------------------------
Comment (by RonDon):
Are you checking for CAPABILITY INFORMATION FIELD which you should be
getting in the beacon? The capability information feed for wpa_supplicant
might be missing.
Pass the capability information field of the 802.11 management frame to
the suppliacant and hence supplicant should be aware about the wep
capablity for the particular AP from the scan result.
Something like this in your driver_smac.c,
wpa_driver_smac_get_scan_results function:
+ if (ob->capinfo & 2) {
+ sr->bssid[0] |= 2;
+ }
+
+ sr->caps = ob->capinfo; // Fill it here to
fix
+
+ sr->ssid_len = ob->ssid[0];
+ memcpy(sr->ssid, (ob->ssid) + 1, sizeof(sr->ssid));
+ sr->freq = ob->channel;
+
+
+ element = wpa_find_wpa_ie(ob_data, ob->length);
+ if (element) {
+ sr->wpa_ie_len = element[1] + 2;
+ memcpy(sr->wpa_ie, element, sr->wpa_ie_len);
+ }
+ element = wpa_find_rsn_ie(ob_data, ob->length);
+
+ if (element) {
+ printf("found RSN IE!*****************\n");
+ sr->rsn_ie_len = element[1] + 2;
+ memcpy(sr->rsn_ie, element, sr->rsn_ie_len);
+ }
+ bss_count++;
+
+ }
--
Ticket URL: <http://madwifi.org/ticket/658>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets