Bug? After switching from monitor mode to master, hostap sends *invalid* *IBSS* beacons
Denis Vlasenko
vda
Tue Apr 5 00:12:08 PDT 2005
I already reported this:
# iwconfig wlan0 mode monitor
# iwconfig wlan0 mode master
I see wlan0 emitting *IBSS* beacons!
Today I've captured full packets and:
21:01:47.770212 0us Beacon (hostap) [1.0* 2.0* 5.5 11.0 Mbit] IBSS CH: 1, PRIVACY
0x0000: 8000 0000 ffff ffff ffff 0009 5b67 8f70 ............[g.p
0x0010: 0009 5b67 8f70 4005 80d2 8400 0000 0000 ..[g.p at .........
bssid^^^^^^^^^ seq^ timestamp^^^^^^^^^^
0x0020: 6400 1200 0006 686f 7374 6170 0104 8284 d.....hostap....
bint cap^ ssid^^^^^^^^^^^^^^^ rates^^^^
0x0030: 0b16 0301 0106 0200 0005 0400 0100 00 ...............
^^^^ DSparm^IBSSparm^^TIM^^^^^^^^^^^^
These beacons are invalid. TIM IE must exist only in ESS beacons,
and IBSSparam only in IBSS. We have both! :)
This fixes it:
# iwconfig wlan0 mode ad-hoc
# iwconfig wlan0 mode master
Happens with Netgear PCI card, hostap 0.3.7 + fw 1.8.0 + Linux 2.6.11
--
vda
More information about the Hostap
mailing list