iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Adrian Chadd adrian at freebsd.org
Wed Aug 8 17:19:20 UTC 2012


Hm, so can you disable mesh?

Or, so you don't have to recompile everything, just edit
ieee80211_input.c, find this code:



#ifdef IEEE80211_SUPPORT_MESH
                case IEEE80211_ELEMID_MESHID:
                        scan->meshid = frm;
                        break;
                case IEEE80211_ELEMID_MESHCONF:
                        scan->meshconf = frm;
                        break;
#endif

.. and just change that ifdef to

#ifdef UNUSED

I'd like to see if somehow your code is mis-parsing the beacon and
populating those meshid/meshconf fields. They should be NULL at the
start of that function.



Adrian


More information about the freebsd-wireless mailing list