From: Masahiro Inoue Date: Wed, 13 Mar 2013 23:08:10 +0900 Subject: [ath9k-devel] Questions settings REGDB Message-ID: <20130313230810.5874.2E210E2F@nifty.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hello, in hostapd.conf country_code = JP Will not be reflected in the setting. $ iw reg get country JP: (2402 - 2482 @ 40), (N/A, 20) (2474 - 2494 @ 20), (N/A, 20), NO-OFDM (4910 - 4990 @ 40), (N/A, 23) (5030 - 5090 @ 40), (N/A, 23) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 23), DFS $ iw phy0 info Wiphy phy0 Band 1: Capabilities: 0x11ef RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT TX/RX MCS rate indexes supported: 0-23 Frequencies: * 2412 MHz [1] (16.0 dBm) * 2417 MHz [2] (16.0 dBm) * 2422 MHz [3] (16.0 dBm) * 2427 MHz [4] (16.0 dBm) * 2432 MHz [5] (16.0 dBm) * 2437 MHz [6] (16.0 dBm) * 2442 MHz [7] (16.0 dBm) * 2447 MHz [8] (16.0 dBm) * 2452 MHz [9] (16.0 dBm) * 2457 MHz [10] (16.0 dBm) * 2462 MHz [11] (16.0 dBm) * 2467 MHz [12] (16.0 dBm) (passive scanning) * 2472 MHz [13] (17.0 dBm) (passive scanning) * 2484 MHz [14] (disabled) Bitrates (non-HT): * 1.0 Mbps * 2.0 Mbps (short preamble supported) * 5.5 Mbps (short preamble supported) * 11.0 Mbps (short preamble supported) * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Band 2: Capabilities: 0x11ef RX LDPC HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT TX/RX MCS rate indexes supported: 0-23 Frequencies: * 5180 MHz [36] (16.0 dBm) (passive scanning, no IBSS) * 5200 MHz [40] (16.0 dBm) (passive scanning, no IBSS) * 5220 MHz [44] (16.0 dBm) (passive scanning, no IBSS) * 5240 MHz [48] (16.0 dBm) (passive scanning, no IBSS) * 5260 MHz [52] (13.0 dBm) (passive scanning, no IBSS, radar detection) * 5280 MHz [56] (14.0 dBm) (passive scanning, no IBSS, radar detection) * 5300 MHz [60] (14.0 dBm) (passive scanning, no IBSS, radar detection) * 5320 MHz [64] (13.0 dBm) (passive scanning, no IBSS, radar detection) * 5500 MHz [100] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5520 MHz [104] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5540 MHz [108] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5560 MHz [112] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5580 MHz [116] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5600 MHz [120] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5620 MHz [124] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5640 MHz [128] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5660 MHz [132] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5680 MHz [136] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5700 MHz [140] (18.0 dBm) (passive scanning, no IBSS, radar detection) * 5745 MHz [149] (20.0 dBm) (passive scanning, no IBSS) * 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS) * 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS) * 5805 MHz [161] (20.0 dBm) (passive scanning, no IBSS) * 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS) Bitrates (non-HT): * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps max # scan SSIDs: 4 max scan IEs length: 2257 bytes Coverage class: 0 (up to 0m) Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP (00-0f-ac:4) * CMAC (00-0f-ac:6) Available Antennas: TX 0x7 RX 0x7 Configured Antennas: TX 0x7 RX 0x7 Supported interface modes: * IBSS * managed * AP * AP/VLAN * WDS * monitor * mesh point * P2P-client * P2P-GO software interface modes (can always be added): * AP/VLAN * monitor valid interface combinations: * #{ managed, WDS, P2P-client } <= 2048, #{ AP, mesh point, P2P-GO } <= 8, total <= 2048, #channels <= 1, STA/AP BI must match Supported commands: * new_interface * set_interface * new_key * start_ap * new_station * new_mpath * set_mesh_config * set_bss * authenticate * associate * deauthenticate * disassociate * join_ibss * join_mesh * remain_on_channel * set_tx_bitrate_mask * frame * frame_wait_cancel * set_wiphy_netns * set_channel * set_wds_peer * tdls_mgmt * tdls_oper * probe_client * set_noack_map * register_beacons * start_p2p_device * Unknown command (92) * testmode * connect * disconnect Supported TX frame types: * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types: * IBSS: 0x40 0xb0 0xc0 0xd0 * managed: 0x40 0xd0 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * mesh point: 0xb0 0xc0 0xd0 * P2P-client: 0x40 0xd0 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-device: 0x40 0xd0 Device supports RSN-IBSS. WoWLAN support: * wake up on disconnect * wake up on magic packet * wake up on pattern match, up to 6 patterns of 1-256 bytes HT Capability overrides: * MCS: ff ff ff ff ff ff ff ff ff ff * maximum A-MSDU length * supported channel width * short GI for 40 MHz * max A-MPDU length exponent * min MPDU start spacing Device supports HT-IBSS. Device supports low priority scan. Device supports scan flush. Device supports AP scan. I do not know to become passive scanning are all 11a. ath9k debug dump is Mar 10 01:17:21 master kernel: Compat-drivers backport release: compat-drivers-v3.8-1 Mar 10 01:17:21 master kernel: Backport based on linux.git v3.8 Mar 10 01:17:21 master kernel: compat.git: linux.git Mar 10 01:17:21 master kernel: cfg80211: Calling CRDA to update world regulatory domain Mar 10 01:17:21 master kernel: cfg80211: World regulatory domain updated: Mar 10 01:17:21 master kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Mar 10 01:17:21 master kernel: cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: Calling CRDA for country: JP Mar 10 01:17:21 master kernel: cfg80211: Regulatory domain changed to country: JP Mar 10 01:17:21 master kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Mar 10 01:17:21 master kernel: cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm) Mar 10 01:17:21 master kernel: cfg80211: (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm) Mar 10 01:17:21 master kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) Mar 10 01:17:21 master kernel: cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm) Mar 10 01:17:21 master kernel: ath9k 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Mar 10 01:17:21 master kernel: ath9k 0000:01:00.0: setting latency timer to 64 Mar 10 01:17:21 master kernel: ath: EEPROM regdomain: 0x6a Mar 10 01:17:21 master kernel: ath: EEPROM indicates we should expect a direct regpair map Mar 10 01:17:21 master kernel: ath: Country alpha2 being used: 00 <======= JP? Mar 10 01:17:21 master kernel: ath: Regpair used: 0x6a kernel version 3.0.60 compat-driver version compat-drivers-3.8-1 Sincerely yours By the way, I am not good@English. Sorry, Masahiro