Hostapd does not support 5Ghz config, but my card does

Laurent B bel
Wed May 19 07:01:49 PDT 2010


Hi,

I'm having problems setting up hostapd 0.7.2 in order to run 5ghz band in N
mode

My kernel is 2.6.33.3, my card is an ATHEROS Mini PCI-E AR9280, with
PCI-Express 1X Adapter.

my card is reg set JP, which I wrote in hostapd.conf file, and as you can
see I'm trying to set channel #48 in 802.11a mode.
ieee80211n feature is enabled.
I think I'm missing something or maybe I use some settings combinaison which
is not possible.

For me the ath9k module is ok as I can do a "iwconfig chan 48" (see below)

any idea ???

thanks !

wifiap:~# uname -r
2.6.33.3

wifiap:/lib/modules# lspci -v
02:00.0 Network controller: Atheros Communications Inc. Device 002a (rev 01)
        Subsystem: Foxconn International, Inc. Device e004
        Flags: bus master, fast devsel, latency 0, IRQ 24
        Memory at dfef0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [140] Virtual Channel <?>
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: ath9k
        Kernel modules: ath9k


hostapd : 0.7.2


hostapd.conf :

interface=wlan1
driver=nl80211
bridge=bridge_local
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
channel=48
auth_algs=1
beacon_int=500
dtim_period=2
country_code=JP
ieee80211n=1
hw_mode=a
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
wme_ac_be_txop_limit=0
wme_ac_be_acm=0
wme_ac_vi_aifs=2
wme_ac_vi_cwmin=3
wme_ac_vi_cwmax=4
wme_ac_vi_txop_limit=94
wme_ac_vi_acm=0
wme_ac_vo_aifs=2
wme_ac_vo_cwmin=2
wme_ac_vo_cwmax=3
wme_ac_vo_txop_limit=47
wme_ac_vo_acm=0
eap_server=0
wpa=1
wpa_passphrase=XXXXXXXXXXXXXXXXXXXXXXXX
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
wpa_group_rekey=600
wpa_gmk_rekey=86400



hostapd log :

nl80211: Register Action command failed: ret=-95 (Operation not supported)
nl80211: Register Action match - hexdump(len=1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Interface wlan1 is in bridge bridge_local
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 3
Try to remove and re-create mon.wlan1
nl80211: Remove interface ifindex=29
nl80211: New interface mon.wlan1 created: ifindex=30
nl80211: Add own interface ifindex 30
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
wlan1: IEEE 802.11 Configured channel (48) not found from the channel list
of current mode (2) IEEE 802.11a
wlan1: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan1: Unable to setup interface.



wifiap:/lib/modules# iw reg get
country JP:
        (2402 - 2472 @ 40), (N/A, 20)
        (2457 - 2482 @ 20), (N/A, 20)
        (2474 - 2494 @ 20), (N/A, 20), NO-OFDM
        (4910 - 4930 @ 10), (N/A, 23)
        (4910 - 4990 @ 40), (N/A, 23)
        (4930 - 4950 @ 10), (N/A, 23)
        (5030 - 5045 @ 10), (N/A, 23)
        (5030 - 5090 @ 40), (N/A, 23)
        (5050 - 5060 @ 10), (N/A, 23)
        (5170 - 5250 @ 40), (N/A, 20)
        (5250 - 5330 @ 40), (N/A, 20), DFS
        (5490 - 5710 @ 40), (N/A, 23), DFS



wifiap:/lib/modules# iwconfig wlan1 essid test chan 48
wifiap:/lib/modules# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan1     IEEE 802.11abgn  ESSID:"test"
          Mode:Managed  Frequency:5.24 GHz  Access Point: Not-Associated
          Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20100519/31b99701/attachment.htm 



More information about the Hostap mailing list