From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Walker Date: Thu, 17 Dec 2009 11:43:20 -0500 Subject: [ath9k-devel] trouble with DWA-552 and ath9k Message-ID: <4B2A5FA8.8060905@charter.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org I recently purchased a DLink DWA-552 that I would like to use with hostapd as an access point. The ath9k driver claims the chipset is: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0 I have tried both the ath9k that comes with my distribution (Fedora 11) in the 2.6.30.9-102.fc11.i686.PAE kernel and also downloading, building and installing the latest compat-wireless-2.6.tar.bz2 with date 2009-12-11 and rebooting. In both cases, I am unable to find any access points when doing an iwlist wlan0 scan while other 802.11 devices in my home find several access points from nearby neighbors. I have also tried both hostapd 0.6.9 and 0.7.0. When I try to run hostapd to put the card into AP mode, I get the error: nl80211: Failed to set channel (freq=2412): -22 (Invalid argument) I don't know if it is supposed to, but the LED on the card itself never comes on. Information/Logs: iw phy0 info Wiphy phy0 Band 1: HT capabilities: 0x104e * 20/40 MHz operation * SM PS disabled * 40 MHz short GI * max A-MSDU len 3839 * DSSS/CCK 40 MHz HT A-MPDU factor: 0x0003 (65535 bytes) HT A-MPDU density: 0x0006 (8 usec) HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00 HT TX/RX MCS rate indexes supported: MCS index 0 MCS index 1 MCS index 2 MCS index 3 MCS index 4 MCS index 5 MCS index 6 MCS index 7 MCS index 8 MCS index 9 MCS index 10 MCS index 11 MCS index 12 MCS index 13 MCS index 14 MCS index 15 Frequencies: * 2412 MHz [1] (27.0 dBm) * 2417 MHz [2] (27.0 dBm) * 2422 MHz [3] (27.0 dBm) * 2427 MHz [4] (27.0 dBm) * 2432 MHz [5] (27.0 dBm) * 2437 MHz [6] (27.0 dBm) * 2442 MHz [7] (27.0 dBm) * 2447 MHz [8] (27.0 dBm) * 2452 MHz [9] (27.0 dBm) * 2457 MHz [10] (27.0 dBm) * 2462 MHz [11] (27.0 dBm) * 2467 MHz [12] (disabled) * 2472 MHz [13] (disabled) * 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 max # scan SSIDs: 4 Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor * mesh point hostapd -dd test.conf Configuration file: test.conf nl80211: Add own interface ifindex 4 nl80211: Add own interface ifindex 63 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) nl80211: Added 802.11b mode based on 802.11g information Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=27 dBm Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=27 dBm Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=27 dBm RATE[0] rate=10 flags=0x1 RATE[1] rate=20 flags=0x1 RATE[2] rate=55 flags=0x1 RATE[3] rate=110 flags=0x1 RATE[4] rate=60 flags=0x0 RATE[5] rate=90 flags=0x0 RATE[6] rate=120 flags=0x0 RATE[7] rate=180 flags=0x0 RATE[8] rate=240 flags=0x0 RATE[9] rate=360 flags=0x0 RATE[10] rate=480 flags=0x0 RATE[11] rate=540 flags=0x0 Completing interface initialization Mode: IEEE 802.11g Channel: 1 Frequency: 2412 MHz nl80211: Failed to set channel (freq=2412): -22 (Invalid argument) Could not set channel for kernel driver wlan0: Unable to setup interface. Flushing old station entries Deauthenticate all stations nl80211: Operstate: linkmode=0, operstate=6 test.conf: interface=wlan0 driver=nl80211 hw_mode=g channel=1 ssid=test wpa=2 wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP wpa_passphrase=12345678 Brian