Hi,<br><br>I&#39;m having problems setting up hostapd 0.7.2 in order to run 5ghz band in N mode<br><br>My kernel is 2.6.33.3, my card is an ATHEROS Mini PCI-E AR9280, with PCI-Express 1X Adapter.<br><br>my card is reg set JP, which I wrote in hostapd.conf file, and as you can see I&#39;m trying to set channel #48 in 802.11a mode.<br>
ieee80211n feature is enabled.<br>I think I&#39;m missing something or maybe I use some settings combinaison which is not possible.<br><br>For me the ath9k module is ok as I can do a &quot;iwconfig chan 48&quot; (see below)<br>
<br>any idea ???<br><br>thanks !<br><br>wifiap:~# uname -r<br>2.6.33.3<br><br>wifiap:/lib/modules# lspci -v<br>02:00.0 Network controller: Atheros Communications Inc. Device 002a (rev 01)<br>        Subsystem: Foxconn International, Inc. Device e004<br>
        Flags: bus master, fast devsel, latency 0, IRQ 24<br>        Memory at dfef0000 (64-bit, non-prefetchable) [size=64K]<br>        Capabilities: [40] Power Management version 2<br>        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-<br>
        Capabilities: [60] Express Legacy Endpoint, MSI 00<br>        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1<br>        Capabilities: [100] Advanced Error Reporting &lt;?&gt;<br>        Capabilities: [140] Virtual Channel &lt;?&gt;<br>
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00<br>        Kernel driver in use: ath9k<br>        Kernel modules: ath9k<br><br><br>hostapd : 0.7.2<br><br><br>hostapd.conf :<br><br>interface=wlan1<br>
driver=nl80211<br>bridge=bridge_local<br>ctrl_interface=/var/run/hostapd<br>ctrl_interface_group=0<br>ssid=test<br>channel=48<br>auth_algs=1<br>beacon_int=500<br>dtim_period=2<br>country_code=JP<br>ieee80211n=1<br>hw_mode=a<br>
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]<br>wme_enabled=1<br>wme_ac_bk_cwmin=4<br>wme_ac_bk_cwmax=10<br>wme_ac_be_txop_limit=0<br>wme_ac_be_acm=0<br>wme_ac_vi_aifs=2<br>wme_ac_vi_cwmin=3<br>wme_ac_vi_cwmax=4<br>wme_ac_vi_txop_limit=94<br>
wme_ac_vi_acm=0<br>wme_ac_vo_aifs=2<br>wme_ac_vo_cwmin=2<br>wme_ac_vo_cwmax=3<br>wme_ac_vo_txop_limit=47<br>wme_ac_vo_acm=0<br>eap_server=0<br>wpa=1<br>wpa_passphrase=XXXXXXXXXXXXXXXXXXXXXXXX<br>wpa_key_mgmt=WPA-PSK<br>wpa_pairwise=TKIP CCMP<br>
rsn_pairwise=CCMP<br>wpa_group_rekey=600<br>wpa_gmk_rekey=86400<br><br><br><br>hostapd log :<br><br>nl80211: Register Action command failed: ret=-95 (Operation not supported)<br>nl80211: Register Action match - hexdump(len=1): 06<br>
nl80211: Failed to register Action frame processing - ignore for now<br>nl80211: Interface wlan1 is in bridge bridge_local<br>nl80211: Add own interface ifindex 4<br>nl80211: Add own interface ifindex 3<br>Try to remove and re-create mon.wlan1<br>
nl80211: Remove interface ifindex=29<br>nl80211: New interface mon.wlan1 created: ifindex=30<br>nl80211: Add own interface ifindex 30<br>BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)<br>nl80211: Added 802.11b mode based on 802.11g information<br>
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm<br>Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm<br>
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm<br>Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm<br>wlan1: IEEE 802.11 Configured channel (48) not found from the channel list of current mode (2) IEEE 802.11a<br>
wlan1: IEEE 802.11 Hardware does not support configured channel<br>Could not select hw_mode and channel. (-1)<br>wlan1: Unable to setup interface.<br><br><br><br>wifiap:/lib/modules# iw reg get<br>country JP:<br>        (2402 - 2472 @ 40), (N/A, 20)<br>
        (2457 - 2482 @ 20), (N/A, 20)<br>        (2474 - 2494 @ 20), (N/A, 20), NO-OFDM<br>        (4910 - 4930 @ 10), (N/A, 23)<br>        (4910 - 4990 @ 40), (N/A, 23)<br>        (4930 - 4950 @ 10), (N/A, 23)<br>        (5030 - 5045 @ 10), (N/A, 23)<br>
        (5030 - 5090 @ 40), (N/A, 23)<br>        (5050 - 5060 @ 10), (N/A, 23)<br>        (5170 - 5250 @ 40), (N/A, 20)<br>        (5250 - 5330 @ 40), (N/A, 20), DFS<br>        (5490 - 5710 @ 40), (N/A, 23), DFS<br><br><br>
<br>wifiap:/lib/modules# iwconfig wlan1 essid test chan 48<br>wifiap:/lib/modules# iwconfig<br>lo        no wireless extensions.<br><br>eth0      no wireless extensions.<br><br>wlan1     IEEE 802.11abgn  ESSID:&quot;test&quot;<br>
          Mode:Managed  Frequency:5.24 GHz  Access Point: Not-Associated<br>          Tx-Power=20 dBm<br>          Retry  long limit:7   RTS thr:off   Fragment thr:off<br>          Encryption key:off<br>          Power Management:on<br>
<br>