Return-path: Received: from mail-pd0-f182.google.com ([209.85.192.182]:56159 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754690AbaAVJvD (ORCPT ); Wed, 22 Jan 2014 04:51:03 -0500 Received: by mail-pd0-f182.google.com with SMTP id v10so154119pde.41 for ; Wed, 22 Jan 2014 01:51:02 -0800 (PST) Message-ID: <52DF947E.40800@gmail.com> (sfid-20140122_105111_453263_CF69C9B7) Date: Wed, 22 Jan 2014 17:50:54 +0800 From: zhuyj MIME-Version: 1.0 To: linux-wireless@vger.kernel.org CC: zhuyj , "Liu, Bopeng" Subject: 802.11a is supported in AP mode or not? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, maintainers I made tests on ubuntu 13.10. I followed these steps. From the following logs, we can see 802.11a is not supported in channel list. I want to know whether 802.11a supports this or not? Or 802.11a is not used in this? Chip is 6205. lspci -vvv is as below. Thanks a lot. Zhu Yanjun 1. installed ubuntu 13.10 client 2. git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git 3. apt-get install kernel-package 4. make-kpkg --initrd --append-to-version=-test-iwlwifi kernel_image kernel-headers 5. dpkg -i linux-headers- dpkg -i linux-images- 6.reboot ubuntu 13.10 7. $ vi /etc/hostapd.conf interface=wlan0 driver=nl80211 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=0 ssid=test country_code=US hw_mode=a channel=2 beacon_int=100 dtim_period=2 max_num_sta=255 rts_threshold=2347 fragm_threshold=2346 macaddr_acl=0 auth_algs=3 ignore_broadcast_ssid=0 wmm_enabled=1 wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmax=10 wmm_ac_bk_aifs=7 wmm_ac_bk_txop_limit=0 wmm_ac_bk_acm=0 wmm_ac_be_aifs=3 wmm_ac_be_cwmin=4 wmm_ac_be_cwmax=10 wmm_ac_be_txop_limit=0 wmm_ac_be_acm=0 wmm_ac_vi_aifs=2 wmm_ac_vi_cwmin=3 wmm_ac_vi_cwmax=4 wmm_ac_vi_txop_limit=94 wmm_ac_vi_acm=0 wmm_ac_vo_aifs=2 wmm_ac_vo_cwmin=2 wmm_ac_vo_cwmax=3 wmm_ac_vo_txop_limit=47 wmm_ac_vo_acm=0 eap_server=0 wpa=2 wpa_passphrase=12345678 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP wpa_group_rekey=600 wpa_gmk_rekey=86400 8. hostapd -B /etc/hostapd.conf -dd random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd.conf ctrl_interface_group=0 nl80211: interface wlan0 in phy phy0 rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 nl80211: Using driver-based off-channel TX nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress) nl80211: Register frame match - hexdump(len=2): 04 0a nl80211: Failed to register Action frame processing - ignore for now nl80211: Add own interface ifindex 3 nl80211: Set mode ifindex 3 iftype 3 (AP) nl80211: Create interface iftype 6 (MONITOR) nl80211: New interface mon.wlan0 created: ifindex=4 nl80211: Add own interface ifindex 4 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) nl80211: Regulatory information - country=00 nl80211: 2402-2472 @ 40 MHz nl80211: 2457-2482 @ 40 MHz nl80211: 2474-2494 @ 20 MHz nl80211: 5170-5250 @ 40 MHz nl80211: 5735-5835 @ 40 MHz nl80211: Added 802.11b mode based on 802.11g information Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=15 dBm Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=15 dBm Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=15 dBm wlan0: IEEE 802.11 Configured channel (1) 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. (-4) wlan0: Unable to setup interface. Flushing old station entries Deauthenticate all stations rmdir[ctrl_interface]: No such file or directory nl80211: Remove interface ifindex=4 netlink: Operstate: linkmode=0, operstate=6 nl80211: Set mode ifindex 3 iftype 2 (STATION) lspci -vvv 01:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34) Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-