Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1891 (new defect)

Opened 14 years ago

AP: iwconfig ath0 channel 5 results in no more beacons

Reported by: Andrew Lunn <andrew@lunn.ch> Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending:

Description

Repository UUID: 0192ed92-7a03-0410-a25b-9323aeb14dbd
Revision: 3546
Node Kind: directory
Schedule: normal
Last Changed Author: mentor
Last Changed Rev: 3546
Last Changed Date: 2008-04-18 04:08:35 +0200 (Fri, 18 Apr 2008)

Pretty similar to my last bug report, this time with trunk.

modprobe ath_pci autocreate=ap
athdebug +doth +reset +assoc
80211debug +doth +reset +assoc +dumppkts
iwconfig ath0 essid foobar
ifconfig ath0 up

sleep 20
iwconfig ath0 channel 5

Before the channel change everything works well. During the channel change it sends the channel change notifications in the beacon. It then does the channel change. After the change, it no longer sends beacons. Not on channel 1 or channel 5. I used a second device in monitor more to verify this. It has however changed channel. An STA has followed the channel change and does a reassociate. This works. But without the beacons it does a beacon miss and reassosicates again, ad infinitum...

wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_alloc: beacon bssid:00:0e:8e:13:ab:22
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: Sending 802.11h chanswitch IE: 5/3
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: CHANSWITCH IE, change in 3 TBTT
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: Sending 802.11h chanswitch IE: 5/3
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: CHANSWITCH IE, change in 2 TBTT
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: Sending 802.11h chanswitch IE: 5/3
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: CHANSWITCH IE, change in 1 TBTT
wifi0/ath0[00:0e:8e:13:ab:22]: ieee80211_beacon_update: reinit beacon
wifi0: ath_chan_set: Changing channels from   1 (2412 MHz) to   5 (2432 MHz) -- Time: 1208531021.632432
wifi0: ath_draintxq: Beacon queue txbuf is 0x32c17000.
wifi0: ath_tx_stopdma: TX queue [0] 0x0, link 00000000
wifi0: ath_tx_stopdma: TX queue [1] 0x0, link 00000000
wifi0: ath_tx_stopdma: TX queue [2] 0x0, link 00000000
wifi0: ath_tx_stopdma: TX queue [3] 0x0, link 00000000
wifi0: ath_tx_stopdma: TX queue [4] 0x0, link 00000000
wifi0: ath_tx_stopdma: TX queue [7] 0x0, link 00000000
wifi0: ath_tx_stopdma: TX queue [8] 0x0, link 00000000
wifi0: ath_stoprecv: receive queue buffer 0x2fd24000, link efd26520
wifi0: ath_chan_set: RADAR CHANNEL channel:2432 jiffies:584087
wifi0: ath_startrecv: RX settings: mtu 1500 cachelsz 32 rxbufsize 3104