I recently installed a Sparklan WPEA-111N (AR9280) into a new base station
that I'm building. I am specifically attempting to use the 5GHz bands (US),
as there is a significant amount of traffic on the 2.4GHz band around my
home (I live in a very dense area). The card itself seems to be working
correctly. However, when attempting to create a base station on the 5GHz
band, hostapd does not list *any* frequencies in mode=2 (802.11a) and notes
"wlan0: IEEE 802.11 Hardware does not support configured channel".
This does not seem to match the documentation, which indicates that channels
available in iw list should be usable as base station channels. I've tried
this on both hostapd 0.6.10 from the original Ubuntu 10.04 install, as well
as a rebuilt version of 0.7.2 (taken from Debian experimental). Neither
version works correctly. Log snippets I've found on this list and elsewhere
seem to indicate that I should at least see an "Allowed channel" entry for
the 5GHz channels.
Is this a known limitation with the ath9k drivers at this point, or is this
likely an issue in the hostapd code?
Relevant logs and configurations are below. Help and suggestions in the
right direction are appreciated.
-R
*hostapd.conf:*
interface=wlan0
bridge=br0
driver=nl80211
ssid=XXXXXXXX
hw_mode=a
channel=36
ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
*hostapd output (5GHz fail):*
r...@gashalot-gw:/etc/hostapd# hostapd -dd /etc/hostapd/test.conf
Configuration file: /etc/hostapd/test.conf
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=30
nl80211: Add own interface ifindex 30
nl80211: Add own interface ifindex 31
nl80211: Adding interface wlan0 into bridge br0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
wlan0: IEEE 802.11 Configured channel (36) not found from the channel list
of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
nl80211: Remove interface ifindex=30
netlink: Operstate: linkmode=0, operstate=6
*iw list:*
Wiphy phy0
Band 1:
Capabilities: 0x104e
HT20/HT40
SM Power Save disabled
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (passive scanning)
* 2472 MHz [13] (20.0 dBm) (passive scanning)
* 2484 MHz [14] (disabled)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Capabilities: 0x104e
HT20/HT40
SM Power Save disabled
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 5180 MHz [36] (30.0 dBm) (passive scanning, no
IBSS)
* 5200 MHz [40] (30.0 dBm) (passive scanning, no
IBSS)
* 5220 MHz [44] (30.0 dBm) (passive scanning, no
IBSS)
* 5240 MHz [48] (30.0 dBm) (passive scanning, no
IBSS)
* 5260 MHz [52] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5280 MHz [56] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5300 MHz [60] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5320 MHz [64] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5500 MHz [100] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5520 MHz [104] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5540 MHz [108] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5560 MHz [112] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5580 MHz [116] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5600 MHz [120] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5620 MHz [124] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5640 MHz [128] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5660 MHz [132] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5680 MHz [136] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5700 MHz [140] (30.0 dBm) (passive scanning, no
IBSS, radar detection)
* 5745 MHz [149] (30.0 dBm) (passive scanning, no
IBSS)
* 5765 MHz [153] (30.0 dBm) (passive scanning, no
IBSS)
* 5785 MHz [157] (30.0 dBm) (passive scanning, no
IBSS)
* 5805 MHz [161] (30.0 dBm) (passive scanning, no
IBSS)
* 5825 MHz [165] (30.0 dBm) (passive scanning, no
IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* Unknown command (55)
* Unknown command (57)
* Unknown command (59)
* set_wiphy_netns
* connect
* disconnect
*uname -a:*
Linux gashalot-gw 2.6.34-020634-generic #020634 SMP Mon May 17 19:27:49 UTC
2010 x86_64 GNU/Linux
*ath9k-related Kernel Logs:*
[ 7.008816] ath: EEPROM regdomain: 0x6a
[ 7.008822] ath: EEPROM indicates we should expect a direct regpair map
[ 7.008830] ath: Country alpha2 being used: 00
[ 7.008835] ath: Regpair used: 0x6a
[ 7.582713] phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 7.584393] Registered led device: ath9k-phy0::radio
[ 7.584455] Registered led device: ath9k-phy0::assoc
[ 7.584517] Registered led device: ath9k-phy0::tx
[ 7.584584] Registered led device: ath9k-phy0::rx
[ 7.584609] phy0: Atheros AR9280 Rev:2 mem=0xffffc90004f20000, irq=17
[ 2140.755234] cfg80211: Calling CRDA for country: US
[ 2140.760228] cfg80211: Regulatory domain changed to country: US
[ 2140.760236] (start_freq - end_freq @ bandwidth), (max_antenna_gain,
max_eirp)
[ 2140.760246] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700
mBm)
[ 2140.760254] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700
mBm)
[ 2140.760262] (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000
mBm)
[ 2140.760270] (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000
mBm)
[ 2140.760278] (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000
mBm)
[ 2140.760286] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000
mBm)
*lcpci output: *
02:00.0 Network controller: Atheros Communications Inc. AR928X Wireless
Network Adapter (PCI-Express) (rev 01)
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel