Return-path: Received: from mail-wg0-f47.google.com ([74.125.82.47]:34740 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750903AbaAWI5W (ORCPT ); Thu, 23 Jan 2014 03:57:22 -0500 Received: by mail-wg0-f47.google.com with SMTP id m15so1206831wgh.14 for ; Thu, 23 Jan 2014 00:57:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <52E0D7D5.6060504@gmail.com> References: <52DF947E.40800@gmail.com> <52E0BA40.7090203@gmail.com> <52E0D7D5.6060504@gmail.com> From: Krishna Chaitanya Date: Thu, 23 Jan 2014 14:27:01 +0530 Message-ID: (sfid-20140123_095727_546865_5CE343B9) Subject: Re: 802.11a is supported in AP mode or not? To: zhuyj Cc: Emmanuel Grumbach , "Liu, Bopeng" , linux-wireless Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Jan 23, 2014 at 2:20 PM, zhuyj wrote: > On 01/23/2014 04:23 PM, Emmanuel Grumbach wrote: >> >> On Thu, Jan 23, 2014 at 8:44 AM, zhuyj wrote: >>> >>> On 01/23/2014 02:15 PM, Krishna Chaitanya wrote: >>>> >>>> hostapd -dd -B /etc/hostapd.conf >>> >>> root@wind-desktop:~# hostapd -dd -B /etc/hostapd.conf >>> >>> 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) >>> root@wind-desktop:~# >>> >>> >>> root@wind-desktop:~# hostapd -v >> >> I think you have the answer to your question, don't you? >> > Yeah, maybe the hardware can support 802.11a, but the driver does not > support 802.11a? All the 5GHz channels are either disabled (or) passive-scan, so AP operation will not work. (from iw phy) Why don't you try with hostapd from git (1.0 is old)? It has changes to handle regulatory and channel list update properly.