1 Jan 10:07
Issue connecting to an HT40 AP that sends a Country IE
Hello,
I'd like to report an issue I have when trying to connect a laptop
running ath9k to a 802.11n AP in HT40 mode. What happens is that the
laptop cannot associate if the AP is running in HT40 mode. Association
is OK if the AP is running in HT20 mode. Here is an excerpt from syslog :
[ 577.166241] wlan0: associate with AP 00:15:6d:e8:88:84 (try 1)
[ 577.167448] wlan0: RX AssocResp from 00:15:6d:e8:88:84 (capab=0x411
status=10 aid=257)
[ 577.167451] wlan0: AP denied association (code=10)
[ 577.167460] wlan0: deauthenticating from 00:15:6d:e8:88:84 by local
choice (reason=3)
What's wrong is that the Associate Request (built by
ieee80211_send_assoc) does not set the bit in HT Capabilities IE saying
: "The station supports both HT20 & HT40".
Looking into the code, it appears that both (flags &
IEEE80211_CHAN_NO_HT40PLUS) and (flags & IEEE80211_CHAN_NO_HT40MINUS)
are true, thus disabling the IEEE80211_HT_CAP_SUP_WIDTH_20_40 which is
the culprit mentioned above.
Digging further down, both flags are set in reg.c by :
if (freq_range->max_bandwidth_khz < MHZ_TO_KHZ(40))
bw_flags = IEEE80211_CHAN_NO_HT40;
Indeed, at this stage, max_bandwidth_khz is 20 MHz only... Looking up in
my syslog, I found this :
(Continue reading)
Maybe these are separate issues?
Maybe. I observed big activity LED light from wireless card, when system hangs.
Regards
RSS Feed