Fixed scan buffer increasing with WEXT

We can now handle up to 65535 byte result buffer which is the maximum
due to WEXT using 16-bit length field. Previously, this was limited to
32768 bytes in practice even through we tried with 65536 and 131072
buffers which we just truncated into 0 in the 16-bit variable.

This more or less doubles the number of BSSes we can received from scan
results.
This commit is contained in:
Jouni Malinen 2009-02-05 12:00:23 +02:00 committed by Jouni Malinen
parent 94abc2f11b
commit 42f1ee7d1f
4 changed files with 11 additions and 3 deletions

View file

@ -3,6 +3,8 @@ ChangeLog for wpa_supplicant
????-??-?? - v0.7.0
* increased wpa_cli ping interval to 5 seconds and made this
configurable with a new command line options (-G<seconds>)
* fixed scan buffer processing with WEXT to handle up to 65535
byte result buffer (previously, limited to 32768 bytes)
2009-01-06 - v0.6.7
* added support for Wi-Fi Protected Setup (WPS)