All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhuyj <zyjzyj2000@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: zhuyj <zyjzyj2000@gmail.com>, "Liu, Bopeng" <Bopeng.Liu@windriver.com>
Subject: 802.11a is supported in AP mode or not?
Date: Wed, 22 Jan 2014 17:50:54 +0800	[thread overview]
Message-ID: <52DF947E.40800@gmail.com> (raw)

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- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
     Latency: 0, Cache Line Size: 64 bytes
     Interrupt: pin A routed to IRQ 45
     Region 0: Memory at f7500000 (64-bit, non-prefetchable) [size=8K]
     Capabilities: [c8] Power Management version 3
         Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
         Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
     Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Address: 00000000fee003d8  Data: 0000
     Capabilities: [e0] Express (v1) Endpoint, MSI 00
         DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s 
<512ns, L1 unlimited
             ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
         DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
             RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
             MaxPayload 128 bytes, MaxReadReq 128 bytes
         DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ 
TransPend-
         LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, 
Latency L0 <4us, L1 <32us
             ClockPM+ Surprise- LLActRep- BwNot-
         LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- 
CommClk+
             ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
         LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
     Capabilities: [100 v1] Advanced Error Reporting
         UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
         UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
         UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
         CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
         CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
         AERCap:    First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
     Capabilities: [140 v1] Device Serial Number a0-88-b4-ff-ff-70-91-20
     Kernel driver in use: iwlwifi


             reply	other threads:[~2014-01-22  9:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22  9:50 zhuyj [this message]
2014-01-22 10:33 ` 802.11a is supported in AP mode or not? zhuyj
2014-01-22 10:47   ` Liu, Bopeng
2014-01-22 14:51 ` Pat Erley
2014-01-22 21:20 ` Krishna Chaitanya
2014-01-23  2:00   ` Liu, Bopeng
2014-01-23  6:15     ` Krishna Chaitanya
2014-01-23  6:37       ` Liu, Bopeng
2014-01-23  6:44       ` zhuyj
2014-01-23  8:23         ` Emmanuel Grumbach
2014-01-23  8:36           ` Liu, Bopeng
2014-01-23  8:41             ` Liu, Bopeng
2014-01-23  8:50           ` zhuyj
2014-01-23  8:57             ` Krishna Chaitanya
2014-01-23  8:59               ` Liu, Bopeng
2014-01-23  9:04                 ` Krishna Chaitanya
2014-01-23  9:07                   ` Liu, Bopeng
2014-01-23  9:20                     ` Liu, Bopeng
2014-01-23  9:21                       ` Liu, Bopeng
2014-01-23  9:27                         ` Emmanuel Grumbach
2014-01-23  9:29                           ` Krishna Chaitanya
2014-01-23  9:34                             ` Liu, Bopeng
2014-01-23  9:36                               ` Liu, Bopeng
2014-01-23  9:49                               ` Emmanuel Grumbach
2014-01-24  5:27                                 ` Liu, Bopeng
2014-01-27 21:21                                   ` Anand Moon
2014-01-27 21:59                                     ` Anand Moon
2014-01-24  6:26                           ` Liu, Bopeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52DF947E.40800@gmail.com \
    --to=zyjzyj2000@gmail.com \
    --cc=Bopeng.Liu@windriver.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.