On Wed, 2009-02-04 at 16:08 +0100, Samuel Ortiz wrote: > From: Samuel Ortiz <samuel.ortiz@xxxxxxxxx> > > In very dense environment, the scan result buffer can get really large, mostly > due to the addition of proprietary IEs. iwlist fails, typically warning about: > "print_scanning_info: Allocation failed". wpa_supplicant fails as well, after > reallocating the scan result buffer several times, up to 132 Kbytes: > [snip] > Scan results did not fit - trying larger buffer (131072 bytes) > ioctl[SIOCGIWSCAN]: Argument list too long > > By adding a mac80211 module parameter, we can filter the scan results and keep > only the ones userspace currently worries about, i.e. WPA1, WPA2, WMM and WPS. > > To activate this feature, 1 has to be written to > /sys/module/mac80211/parameters/ieee80211_scan_ie_filter Module parameter, hard-coded filter, just to work around wext crap. Eww. NACK. Go for http://johannes.sipsolutions.net/patches/kernel/all/LATEST/028-cfg80211-scan.patch instead. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part