From: Giorgio Mazzucchelli Date: Fri, 3 Apr 2009 10:20:30 +0200 Subject: [ath9k-devel] hostAPd operating in 5Ghz channels Message-ID: <7439b3d10904030120k50dbb02bsfb1a5fb3a2a93e73@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org #This is the kind of card and chip-set that I use: #kernel v. 2.6.28-9 02:03.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01) Subsystem: Atheros Communications Inc. Device 2096 Flags: bus master, 66MHz, medium devsel, latency 168, IRQ 17 Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K] Capabilities: [44] Power Management version 2 Kernel driver in use: ath9k Kernel modules: ath9k #This is the guide that I have use to install hostAPd: http://wireless.erley.org/stable.html #here it is what I can see when I launch hostAPd with the following minimal configuration: interface=wlan1 bridge=br0 driver=nl80211 ssid=test hw_mode=a channel=48 ieee80211n=1 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] /etc/hostapd_minimal.conf Opening raw packet socket for ifindex 808725760 BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits) SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf 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=2 chan=36 freq=5180 MHz max_tx_power=17 dBm Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=17 dBm Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=17 dBm Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=17 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 HT40: control channel: 48 secondary channel: 44 RATE[0] rate=60 flags=0x2 RATE[1] rate=90 flags=0x0 RATE[2] rate=120 flags=0x2 RATE[3] rate=180 flags=0x0 RATE[4] rate=240 flags=0x2 RATE[5] rate=360 flags=0x0 RATE[6] rate=480 flags=0x0 RATE[7] rate=540 flags=0x0 Passive scanning not supported Flushing old station entries Deauthenticate all stations Mode: IEEE 802.11a Channel: 48 Frequency: 5240 MHz #These are the channels listed by 'iw list' in 5Ghz band: Frequencies: * 5180 MHz [36] (17.0 dBm) * 5200 MHz [40] (17.0 dBm) * 5220 MHz [44] (17.0 dBm) * 5240 MHz [48] (17.0 dBm) * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5600 MHz [120] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5620 MHz [124] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5640 MHz [128] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5745 MHz [149] (disabled) * 5765 MHz [153] (disabled) * 5785 MHz [157] (disabled) * 5805 MHz [161] (disabled) * 5825 MHz [165] (disabled) #So, from channel 52 to 140 where did they gone? #Why hostAPd can't see them? #Could be a country-code related problem? #I'm not able to set it neither with 'iw reg set' or 'modbrobe cfg80211 ieee...' #These are the frequencies that I should see and use: country IT: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 27), DFS #In order to investigate, or, hopefully, solve this issue, what other information shall I include in my post? Thank you G.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090403/f136ee9f/attachment.htm