[BUG] after switching from monitor mode to master, hostap sends IBSS beacons instead of ESS

Denis Vlasenko vda
Mon Mar 21 06:50:53 PST 2005


If I do:

# iwconfig wlan0 mode monitor
# iwconfig wlan0 mode master

then I see wlan0 emitting *IBSS* beacons!

I am capturing it by having another hostap card
in monitor mode in the same box and running tcpdump on it:

14:25:46.759099 Beacon (mon) [1.0* 2.0* 5.5 11.0 Mbit] IBSS CH: 1
                                                      ^^^^^^
This fixes it:

# iwconfig wlan0 mode ad-hoc
# iwconfig wlan0 mode master

14:26:13.591276 Beacon (mon) [1.0* 2.0* 5.5 11.0 Mbit] ESS CH: 1

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