ath0 doesn't associate with AP

Sam Leffler sam at errno.com
Thu Aug 11 15:40:39 GMT 2005


Petr Holub wrote:
> Hi,
> 
> I've encoutered interesting behavior of ath card with Linksys WAP-54g
> acting as a wireless repeater that doesn't broadcast SSID. The ath0
> device doesn't want to associate with it with the following debug
> messages when debugging is turned on via sysctl:
> 
> (...device scans channels though it is set to channel 6 via ifconfig...)
> Aug 11 08:21:17 kloboucek kernel: ath_chan_set: 5 (2432 MHz) -> 6 (2437 MHz)
> Aug 11 08:21:17 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
> ff:ff:ff:ff:ff:ff
> Aug 11 08:21:18 kloboucek kernel: ath_newstate: SCAN -> AUTH
> Aug 11 08:21:18 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 6 (2437 MHz)
> Aug 11 08:21:18 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
> 00:12:17:70:df:93
> Aug 11 08:21:18 kloboucek kernel: ath_tx_start: m 0xc1baa300 len 34
> Aug 11 08:21:18 kloboucek kernel: ath_tx_start: 0: 00000000 1f15e3e0 013c0022
> 0000001e 000b0000 0000001b
> Aug 11 08:21:18 kloboucek kernel: ath_tx_start: TXDP0 = 0x1ef4f260 (0xe6970260)
> Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 2
> Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 2
> Aug 11 08:21:18 kloboucek kernel: ath_newstate: AUTH -> ASSOC
> Aug 11 08:21:18 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 6 (2437 MHz)
> Aug 11 08:21:18 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
> 00:12:17:70:df:93
> Aug 11 08:21:18 kloboucek kernel: ath_tx_start: m 0xc1bab200 len 58
> Aug 11 08:21:18 kloboucek kernel: ath_tx_start: 0: 00000000 1f15f230 033c003a
> 00000036 000b0000 0000001b
> Aug 11 08:21:18 kloboucek kernel: ath_tx_start: TXDP0 = 0x1ef4f680 (0xe6970680)
> Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 3
> Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 3
> Aug 11 08:21:18 kloboucek kernel: ath0: association failed (reason 12) for
> 00:12:17:70:df:93
> Aug 11 08:21:22 kloboucek kernel: ath_newstate: ASSOC -> SCAN
> Aug 11 08:21:22 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 6 (2437 MHz)
> Aug 11 08:21:22 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
> ff:ff:ff:ff:ff:ff
> Aug 11 08:21:22 kloboucek kernel: ath_newstate: SCAN -> SCAN
> Aug 11 08:21:22 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 7 (2442 MHz)
> Aug 11 08:21:22 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
> ff:ff:ff:ff:ff:ff
> Aug 11 08:21:23 kloboucek kernel: ath_newstate: SCAN -> SCAN
> (...device goes on scannig channels...)
> 
> dmesg can be found below. Any ideas?

Try debugging at the 802.11 layer; much less noise (see 80211debug).

 > Aug 11 08:21:18 kloboucek kernel: ath0: association failed (reason 
12) for

According to sys/net80211/ieee80211.h this is:

         IEEE80211_REASON_RSN_INCONSISTENT       = 12,

which sounds like you're trying to use WPA or WPA2 or trying to talk to 
an ap that has WPA2 enabled.  But since this is 5.x you have no WPA 
support so I've no idea what's going on.

	Sam


More information about the freebsd-mobile mailing list