Return-path: Received: from mail1.windriver.com ([147.11.146.13]:41748 "EHLO mail1.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbaAWI7o convert rfc822-to-8bit (ORCPT ); Thu, 23 Jan 2014 03:59:44 -0500 From: "Liu, Bopeng" To: Krishna Chaitanya , zhuyj CC: Emmanuel Grumbach , linux-wireless Subject: RE: 802.11a is supported in AP mode or not? Date: Thu, 23 Jan 2014 08:59:41 +0000 Message-ID: (sfid-20140123_095957_527771_9A222716) References: <52DF947E.40800@gmail.com> <52E0BA40.7090203@gmail.com> <52E0D7D5.6060504@gmail.com>, In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Is there any method to set the 5GHz channels be able? Please show me the command...:) Best Regards. -------------------------------------- Bopeng Liu WIND RIVER | China Development Center Phone: 8610-6483-5012 ________________________________________ From: Krishna Chaitanya [chaitanya.mgit@gmail.com] Sent: Thursday, January 23, 2014 4:57 PM To: zhuyj Cc: Emmanuel Grumbach; Liu, Bopeng; linux-wireless Subject: Re: 802.11a is supported in AP mode or not? 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.