Hm, hostap+sta channel information isn't always correctly propagated
Adrian Chadd
adrian.chadd at gmail.com
Fri Sep 30 08:21:11 UTC 2011
As part of trying to replicate what Ed's seeing, I did this:
ifconfig wlanX create wlandev ath1 ssid TESTX up
for wlan 0 .. 3. It picked a DFS channel and started the DFS CAC machinery.
Then I created a sta interface on wlan4 and it did some scanning, then
selected channel 1.
This is what I ended up with:
adrian-home-mips# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:c0:ca:1a:6c:d4
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: running
ssid TEST channel 52 (5260 MHz 11a) bssid 00:c0:ca:1a:6c:d4
regdomain FCC3 country US ecm authmode OPEN privacy OFF txpower 30
mcastrate 6 mgmtrate 6 scanvalid 60 wme burst dtimperiod 1
adrian-home-mips# ifconfig wlan1
wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:c0:ca:1a:6c:d4
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: running
ssid TEST2 channel 52 (5260 MHz 11a) bssid 00:c0:ca:1a:6c:d4
regdomain FCC3 country US ecm authmode OPEN privacy OFF txpower 30
mcastrate 6 mgmtrate 6 scanvalid 60 wme burst dtimperiod 1
adrian-home-mips# ifconfig wlan2
wlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:c0:ca:1a:6c:d4
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: running
ssid TEST2 channel 52 (5260 MHz 11a) bssid 00:c0:ca:1a:6c:d4
regdomain FCC3 country US ecm authmode OPEN privacy OFF txpower 30
mcastrate 6 mgmtrate 6 scanvalid 60 wme burst dtimperiod 1
adrian-home-mips# ifconfig wlan3
wlan3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:c0:ca:1a:6c:d4
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: running
ssid TEST3 channel 52 (5260 MHz 11a) bssid 00:c0:ca:1a:6c:d4
regdomain FCC3 country US ecm authmode OPEN privacy OFF txpower 30
mcastrate 6 mgmtrate 6 scanvalid 60 wme burst dtimperiod 1
adrian-home-mips# ifconfig wlan4
wlan4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:c0:ca:1a:6c:d4
media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
status: associated
ssid CACHEBOY_DAGLISH channel 1 (2412 MHz 11g) bssid 00:25:86:d8:7c:da
regdomain FCC3 country US ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
wme burst roaming MANUAL
Shortly after this, I did a manual scan and it seemed to disconnect
from the ssid for some reason and reassociate again. Now all of the
hostap interfaces show up on the right channel.
They were tx'ing beacons on channel 1; it's just that the BSS state
hadn't been updated.
Hm!
Adrian
More information about the freebsd-wireless
mailing list