Date: Wed, 8 Aug 2012 10:19:19 -0700 From: Adrian Chadd <adrian@freebsd.org> To: =?UTF-8?B?5LmU5qWa?= <honestqiao@gmail.com> Cc: freebsd-wireless <freebsd-wireless@freebsd.org>, bschmidt <bschmidt@freebsd.org> Subject: Re: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9 Message-ID: <CAJ-Vmo=8mANNs1n4xKRfLpeuPOibL_wNW1xMdigv2rQhR%2BwnWA@mail.gmail.com> In-Reply-To: <CAJ-VmonDAC2rJTy564HtsVA1_nve2UArgVcB6KAu0R4eSGaGtQ@mail.gmail.com> References: <201207300139326668335@gmail.com> <CAJ-VmokhfuK82iSicx-hKT0X3W=3ia-dwUHqaJxuLJ_YJLOhMw@mail.gmail.com> <2012080200541916697916@gmail.com> <201208011929.23039.bschmidt@freebsd.org> <201208021454506984721@gmail.com> <CAJ-VmoncK47d%2BHVsC=ze6tDDgGQ=wTP3Q7hsADJq%2BcvD6aL1OA@mail.gmail.com> <201208081131539552520@gmail.com> <CAJ-VmokH1Xoo2BfDaJtc-zq4%2BiHjvw5De1y-bCnbvSGrkRBz-Q@mail.gmail.com> <CAMAY4Vg6s8xqjZPVES4OeUkT3rb6ogT3XbseaysQofOFCyPTEQ@mail.gmail.com> <CAJ-VmonDAC2rJTy564HtsVA1_nve2UArgVcB6KAu0R4eSGaGtQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=8mANNs1n4xKRfLpeuPOibL_wNW1xMdigv2rQhR%2BwnWA>