2011-11-11 08:59:49

by wireless newbie

[permalink] [raw]
Subject: ar9390 Support for master mode?

Hi all,

Has any one used ar9390 based devices as an AP? I'm trying, but all
fails when I load hostapd:

ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
Could not set interface mon.wlan0 flags: Input/output error
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=8 eloop_data=0x10219770
user_data=0x10219d18 handler=0x1002b8c0
ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
handler=0x100353e0

With iw, it seems that AP is part of the capabilities:

iw phy 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] (17.0 dBm)
* 2417 MHz [2] (17.0 dBm)
* 2422 MHz [3] (17.0 dBm)
* 2427 MHz [4] (17.0 dBm)
* 2432 MHz [5] (17.0 dBm)
* 2437 MHz [6] (17.0 dBm)
* 2442 MHz [7] (17.0 dBm)
* 2447 MHz [8] (17.0 dBm)
* 2452 MHz [9] (17.0 dBm)
* 2457 MHz [10] (17.0 dBm)
* 2462 MHz [11] (17.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
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] (18.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (disabled)
* 5280 MHz [56] (disabled)
* 5300 MHz [60] (disabled)
* 5320 MHz [64] (disabled)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (18.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)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* mesh point
* P2P-client
* P2P-GO
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* action
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
* mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
0x00f0
* P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
0x00f0
* P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
Supported RX frame types:
* IBSS: 0x00d0
* managed: 0x0040 0x00d0
* AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
* AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
* mesh point: 0x00b0 0x00c0 0x00d0
* P2P-client: 0x0040 0x00d0
* P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0

Has anyone experienced something like this? Can this be related to my
hostapd config, or is this driver issue?

br, Sami


2011-11-14 07:04:11

by wireless newbie

[permalink] [raw]
Subject: Fwd: ar9390 Support for master mode?

Ok, this doesn't seem to interest anyone in the wireless list.
Hopefully someone cares to respond from the ath9k list..

I experience this problem with station mode too. I get

ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
Could not set interface wlan0 flags: Input/output error
Could not set interface 'wlan0' UP

when starting wpa_supplicant. Could it be that ar9390 isn't really
supported by ath9k driver? I have quite recent compat wireless drivers
in use:

Compat-wireless backport release: compat-wireless-v3.1-rc8-1
Backport based on linux-2.6-allstable.git v3.1-rc8

Has anyone managed to use ar9390 in linux?



---------- Forwarded message ----------
From: wireless newbie <[email protected]>
Date: 2011/11/11
Subject: ar9390 Support for master mode?
To: [email protected]


Hi all,

Has any one used ar9390 based devices as an AP? I'm trying, but all
fails when I load hostapd:

ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
Could not set interface mon.wlan0 flags: Input/output error
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=8 eloop_data=0x10219770
user_data=0x10219d18 handler=0x1002b8c0
ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
handler=0x100353e0

With iw, it seems that AP is part of the capabilities:

iw phy 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] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (17.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
? ? ? ?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] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (18.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)
? ? ? ?Available Antennas: TX 0 RX 0
? ? ? ?Supported interface modes:
? ? ? ? ? ? ? ? * IBSS
? ? ? ? ? ? ? ? * managed
? ? ? ? ? ? ? ? * AP
? ? ? ? ? ? ? ? * AP/VLAN
? ? ? ? ? ? ? ? * WDS
? ? ? ? ? ? ? ? * monitor
? ? ? ? ? ? ? ? * mesh point
? ? ? ? ? ? ? ? * P2P-client
? ? ? ? ? ? ? ? * P2P-GO
? ? ? ?Supported commands:
? ? ? ? ? ? ? ? * new_interface
? ? ? ? ? ? ? ? * set_interface
? ? ? ? ? ? ? ? * new_key
? ? ? ? ? ? ? ? * new_beacon
? ? ? ? ? ? ? ? * new_station
? ? ? ? ? ? ? ? * new_mpath
? ? ? ? ? ? ? ? * set_mesh_params
? ? ? ? ? ? ? ? * set_bss
? ? ? ? ? ? ? ? * authenticate
? ? ? ? ? ? ? ? * associate
? ? ? ? ? ? ? ? * deauthenticate
? ? ? ? ? ? ? ? * disassociate
? ? ? ? ? ? ? ? * join_ibss
? ? ? ? ? ? ? ? * join_mesh
? ? ? ? ? ? ? ? * remain_on_channel
? ? ? ? ? ? ? ? * set_tx_bitrate_mask
? ? ? ? ? ? ? ? * action
? ? ? ? ? ? ? ? * frame_wait_cancel
? ? ? ? ? ? ? ? * set_wiphy_netns
? ? ? ? ? ? ? ? * set_channel
? ? ? ? ? ? ? ? * set_wds_peer
? ? ? ? ? ? ? ? * connect
? ? ? ? ? ? ? ? * disconnect
? ? ? ?Supported TX frame types:
? ? ? ? ? ? ? ? * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
? ? ? ? ? ? ? ? * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
? ? ? ? ? ? ? ? * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
? ? ? ? ? ? ? ? * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
0x00f0
? ? ? ? ? ? ? ? * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
0x00f0
? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
? ? ? ?Supported RX frame types:
? ? ? ? ? ? ? ? * IBSS: 0x00d0
? ? ? ? ? ? ? ? * managed: 0x0040 0x00d0
? ? ? ? ? ? ? ? * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
? ? ? ? ? ? ? ? * mesh point: 0x00b0 0x00c0 0x00d0
? ? ? ? ? ? ? ? * P2P-client: 0x0040 0x00d0
? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0

Has anyone experienced something like this? Can this be related to my
hostapd config, or is this driver issue?

br, Sami

2011-11-15 08:46:52

by wireless newbie

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

Extending timeout to ten times longer didn't help. Anyone with
knowledge of internals of ar9390? Is that register correct?


2011/11/15 wireless newbie <[email protected]>:
> I tried (almost) bleeding edge compat wireless drivers (dated
> 1.11.2011) but the same problem persists. It turns out that the
> problem is in AGC calibration in function ar9003_hw_init_cal. It times
> out. This is what ath9k_hw_wait prints to log:
>
> ath: timeout (100000 us) on reg 0xa2c4: 0x00158dd9 & 0x00000001 != 0x00000000
>
> Is there anyone who has so much knowledge that he/she could verify if
> those values make sense with this chip (ar9390)? I would like to rule
> out the possibility that the driver is polling a bit in a wrong
> register. Or could it be that the timeout value needs to be extended?
>
> Thanks.
>
> 2011/11/14 wireless newbie <[email protected]>:
>> Ok, this doesn't seem to interest anyone in the wireless list.
>> Hopefully someone cares to respond from the ath9k list..
>>
>> I experience this problem with station mode too. I get
>>
>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>> Could not set interface wlan0 flags: Input/output error
>> Could not set interface 'wlan0' UP
>>
>> when starting wpa_supplicant. Could it be that ar9390 isn't really
>> supported by ath9k driver? I have quite recent compat wireless drivers
>> in use:
>>
>> Compat-wireless backport release: compat-wireless-v3.1-rc8-1
>> Backport based on linux-2.6-allstable.git v3.1-rc8
>>
>> Has anyone managed to use ar9390 in linux?
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: wireless newbie <[email protected]>
>> Date: 2011/11/11
>> Subject: ar9390 Support for master mode?
>> To: [email protected]
>>
>>
>> Hi all,
>>
>> Has any one used ar9390 based devices as an AP? I'm trying, but all
>> fails when I load hostapd:
>>
>> ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>> Could not set interface mon.wlan0 flags: Input/output error
>> nl80211: Failed to set interface wlan0 into AP mode
>> nl80211 driver initialization failed.
>> ELOOP: remaining socket: sock=8 eloop_data=0x10219770
>> user_data=0x10219d18 handler=0x1002b8c0
>> ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
>> handler=0x100353e0
>>
>> With iw, it seems that AP is part of the capabilities:
>>
>> iw phy 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] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (17.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
>> ? ? ? ?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] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (18.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)
>> ? ? ? ?Available Antennas: TX 0 RX 0
>> ? ? ? ?Supported interface modes:
>> ? ? ? ? ? ? ? ? * IBSS
>> ? ? ? ? ? ? ? ? * managed
>> ? ? ? ? ? ? ? ? * AP
>> ? ? ? ? ? ? ? ? * AP/VLAN
>> ? ? ? ? ? ? ? ? * WDS
>> ? ? ? ? ? ? ? ? * monitor
>> ? ? ? ? ? ? ? ? * mesh point
>> ? ? ? ? ? ? ? ? * P2P-client
>> ? ? ? ? ? ? ? ? * P2P-GO
>> ? ? ? ?Supported commands:
>> ? ? ? ? ? ? ? ? * new_interface
>> ? ? ? ? ? ? ? ? * set_interface
>> ? ? ? ? ? ? ? ? * new_key
>> ? ? ? ? ? ? ? ? * new_beacon
>> ? ? ? ? ? ? ? ? * new_station
>> ? ? ? ? ? ? ? ? * new_mpath
>> ? ? ? ? ? ? ? ? * set_mesh_params
>> ? ? ? ? ? ? ? ? * set_bss
>> ? ? ? ? ? ? ? ? * authenticate
>> ? ? ? ? ? ? ? ? * associate
>> ? ? ? ? ? ? ? ? * deauthenticate
>> ? ? ? ? ? ? ? ? * disassociate
>> ? ? ? ? ? ? ? ? * join_ibss
>> ? ? ? ? ? ? ? ? * join_mesh
>> ? ? ? ? ? ? ? ? * remain_on_channel
>> ? ? ? ? ? ? ? ? * set_tx_bitrate_mask
>> ? ? ? ? ? ? ? ? * action
>> ? ? ? ? ? ? ? ? * frame_wait_cancel
>> ? ? ? ? ? ? ? ? * set_wiphy_netns
>> ? ? ? ? ? ? ? ? * set_channel
>> ? ? ? ? ? ? ? ? * set_wds_peer
>> ? ? ? ? ? ? ? ? * connect
>> ? ? ? ? ? ? ? ? * disconnect
>> ? ? ? ?Supported TX frame types:
>> ? ? ? ? ? ? ? ? * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>> 0x00f0
>> ? ? ? ? ? ? ? ? * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>> 0x00f0
>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ?Supported RX frame types:
>> ? ? ? ? ? ? ? ? * IBSS: 0x00d0
>> ? ? ? ? ? ? ? ? * managed: 0x0040 0x00d0
>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>> ? ? ? ? ? ? ? ? * mesh point: 0x00b0 0x00c0 0x00d0
>> ? ? ? ? ? ? ? ? * P2P-client: 0x0040 0x00d0
>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>
>> Has anyone experienced something like this? Can this be related to my
>> hostapd config, or is this driver issue?
>>
>> br, Sami
>>
>

2011-11-15 09:57:25

by wireless newbie

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

That fix is already in place but it didn't help.

2011/11/15 Mohammed Shafi <[email protected]>:
> On Tue, Nov 15, 2011 at 1:45 PM, wireless newbie <[email protected]> wrote:
>> I tried (almost) bleeding edge compat wireless drivers (dated
>> 1.11.2011) but the same problem persists. It turns out that the
>> problem is in AGC calibration in function ar9003_hw_init_cal. It times
>> out. This is what ath9k_hw_wait prints to log:
>>
>> ath: timeout (100000 us) on reg 0xa2c4: 0x00158dd9 & 0x00000001 != 0x00000000
>
> a similar problem addressed by
> http://permalink.gmane.org/gmane.linux.kernel.wireless.general/78758
> and this fix is there in bleeding edge compat(today). did it help?
>
>>
>> Is there anyone who has so much knowledge that he/she could verify if
>> those values make sense with this chip (ar9390)? I would like to rule
>> out the possibility that the driver is polling a bit in a wrong
>> register. Or could it be that the timeout value needs to be extended?
>>
>> Thanks.
>>
>> 2011/11/14 wireless newbie <[email protected]>:
>>> Ok, this doesn't seem to interest anyone in the wireless list.
>>> Hopefully someone cares to respond from the ath9k list..
>>>
>>> I experience this problem with station mode too. I get
>>>
>>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>>> Could not set interface wlan0 flags: Input/output error
>>> Could not set interface 'wlan0' UP
>>>
>>> when starting wpa_supplicant. Could it be that ar9390 isn't really
>>> supported by ath9k driver? I have quite recent compat wireless drivers
>>> in use:
>>>
>>> Compat-wireless backport release: compat-wireless-v3.1-rc8-1
>>> Backport based on linux-2.6-allstable.git v3.1-rc8
>>>
>>> Has anyone managed to use ar9390 in linux?
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: wireless newbie <[email protected]>
>>> Date: 2011/11/11
>>> Subject: ar9390 Support for master mode?
>>> To: [email protected]
>>>
>>>
>>> Hi all,
>>>
>>> Has any one used ar9390 based devices as an AP? I'm trying, but all
>>> fails when I load hostapd:
>>>
>>> ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
>>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>>> Could not set interface mon.wlan0 flags: Input/output error
>>> nl80211: Failed to set interface wlan0 into AP mode
>>> nl80211 driver initialization failed.
>>> ELOOP: remaining socket: sock=8 eloop_data=0x10219770
>>> user_data=0x10219d18 handler=0x1002b8c0
>>> ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
>>> handler=0x100353e0
>>>
>>> With iw, it seems that AP is part of the capabilities:
>>>
>>> iw phy 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] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (17.0 dBm)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (17.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
>>> ? ? ? ?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] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (disabled)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (18.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)
>>> ? ? ? ?Available Antennas: TX 0 RX 0
>>> ? ? ? ?Supported interface modes:
>>> ? ? ? ? ? ? ? ? * IBSS
>>> ? ? ? ? ? ? ? ? * managed
>>> ? ? ? ? ? ? ? ? * AP
>>> ? ? ? ? ? ? ? ? * AP/VLAN
>>> ? ? ? ? ? ? ? ? * WDS
>>> ? ? ? ? ? ? ? ? * monitor
>>> ? ? ? ? ? ? ? ? * mesh point
>>> ? ? ? ? ? ? ? ? * P2P-client
>>> ? ? ? ? ? ? ? ? * P2P-GO
>>> ? ? ? ?Supported commands:
>>> ? ? ? ? ? ? ? ? * new_interface
>>> ? ? ? ? ? ? ? ? * set_interface
>>> ? ? ? ? ? ? ? ? * new_key
>>> ? ? ? ? ? ? ? ? * new_beacon
>>> ? ? ? ? ? ? ? ? * new_station
>>> ? ? ? ? ? ? ? ? * new_mpath
>>> ? ? ? ? ? ? ? ? * set_mesh_params
>>> ? ? ? ? ? ? ? ? * set_bss
>>> ? ? ? ? ? ? ? ? * authenticate
>>> ? ? ? ? ? ? ? ? * associate
>>> ? ? ? ? ? ? ? ? * deauthenticate
>>> ? ? ? ? ? ? ? ? * disassociate
>>> ? ? ? ? ? ? ? ? * join_ibss
>>> ? ? ? ? ? ? ? ? * join_mesh
>>> ? ? ? ? ? ? ? ? * remain_on_channel
>>> ? ? ? ? ? ? ? ? * set_tx_bitrate_mask
>>> ? ? ? ? ? ? ? ? * action
>>> ? ? ? ? ? ? ? ? * frame_wait_cancel
>>> ? ? ? ? ? ? ? ? * set_wiphy_netns
>>> ? ? ? ? ? ? ? ? * set_channel
>>> ? ? ? ? ? ? ? ? * set_wds_peer
>>> ? ? ? ? ? ? ? ? * connect
>>> ? ? ? ? ? ? ? ? * disconnect
>>> ? ? ? ?Supported TX frame types:
>>> ? ? ? ? ? ? ? ? * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>> ? ? ? ? ? ? ? ? * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>> ? ? ? ? ? ? ? ? * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
>>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>>> 0x00f0
>>> ? ? ? ? ? ? ? ? * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
>>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>>> 0x00f0
>>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>> ? ? ? ?Supported RX frame types:
>>> ? ? ? ? ? ? ? ? * IBSS: 0x00d0
>>> ? ? ? ? ? ? ? ? * managed: 0x0040 0x00d0
>>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>> ? ? ? ? ? ? ? ? * mesh point: 0x00b0 0x00c0 0x00d0
>>> ? ? ? ? ? ? ? ? * P2P-client: 0x0040 0x00d0
>>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>>
>>> Has anyone experienced something like this? Can this be related to my
>>> hostapd config, or is this driver issue?
>>>
>>> br, Sami
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> shafi
>

2011-11-15 10:35:18

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

On Tue, Nov 15, 2011 at 3:27 PM, wireless newbie <[email protected]> wrote:
> That fix is already in place but it didn't help.

:( i don't have AR9390 now, let me see if i can recreate the issue
in AR9003 cards and help you out.


>
> 2011/11/15 Mohammed Shafi <[email protected]>:
>> On Tue, Nov 15, 2011 at 1:45 PM, wireless newbie <[email protected]> wrote:
>>> I tried (almost) bleeding edge compat wireless drivers (dated
>>> 1.11.2011) but the same problem persists. It turns out that the
>>> problem is in AGC calibration in function ar9003_hw_init_cal. It times
>>> out. This is what ath9k_hw_wait prints to log:
>>>
>>> ath: timeout (100000 us) on reg 0xa2c4: 0x00158dd9 & 0x00000001 != 0x00000000
>>
>> a similar problem addressed by
>> http://permalink.gmane.org/gmane.linux.kernel.wireless.general/78758
>> and this fix is there in bleeding edge compat(today). did it help?
>>
>>>
>>> Is there anyone who has so much knowledge that he/she could verify if
>>> those values make sense with this chip (ar9390)? I would like to rule
>>> out the possibility that the driver is polling a bit in a wrong
>>> register. Or could it be that the timeout value needs to be extended?
>>>
>>> Thanks.
>>>
>>> 2011/11/14 wireless newbie <[email protected]>:
>>>> Ok, this doesn't seem to interest anyone in the wireless list.
>>>> Hopefully someone cares to respond from the ath9k list..
>>>>
>>>> I experience this problem with station mode too. I get
>>>>
>>>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>>>> Could not set interface wlan0 flags: Input/output error
>>>> Could not set interface 'wlan0' UP
>>>>
>>>> when starting wpa_supplicant. Could it be that ar9390 isn't really
>>>> supported by ath9k driver? I have quite recent compat wireless drivers
>>>> in use:
>>>>
>>>> Compat-wireless backport release: compat-wireless-v3.1-rc8-1
>>>> Backport based on linux-2.6-allstable.git v3.1-rc8
>>>>
>>>> Has anyone managed to use ar9390 in linux?
>>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: wireless newbie <[email protected]>
>>>> Date: 2011/11/11
>>>> Subject: ar9390 Support for master mode?
>>>> To: [email protected]
>>>>
>>>>
>>>> Hi all,
>>>>
>>>> Has any one used ar9390 based devices as an AP? I'm trying, but all
>>>> fails when I load hostapd:
>>>>
>>>> ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
>>>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>>>> Could not set interface mon.wlan0 flags: Input/output error
>>>> nl80211: Failed to set interface wlan0 into AP mode
>>>> nl80211 driver initialization failed.
>>>> ELOOP: remaining socket: sock=8 eloop_data=0x10219770
>>>> user_data=0x10219d18 handler=0x1002b8c0
>>>> ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
>>>> handler=0x100353e0
>>>>
>>>> With iw, it seems that AP is part of the capabilities:
>>>>
>>>> iw phy 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] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (17.0 dBm)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (17.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
>>>> ? ? ? ?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] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (disabled)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
>>>> ? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (18.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)
>>>> ? ? ? ?Available Antennas: TX 0 RX 0
>>>> ? ? ? ?Supported interface modes:
>>>> ? ? ? ? ? ? ? ? * IBSS
>>>> ? ? ? ? ? ? ? ? * managed
>>>> ? ? ? ? ? ? ? ? * AP
>>>> ? ? ? ? ? ? ? ? * AP/VLAN
>>>> ? ? ? ? ? ? ? ? * WDS
>>>> ? ? ? ? ? ? ? ? * monitor
>>>> ? ? ? ? ? ? ? ? * mesh point
>>>> ? ? ? ? ? ? ? ? * P2P-client
>>>> ? ? ? ? ? ? ? ? * P2P-GO
>>>> ? ? ? ?Supported commands:
>>>> ? ? ? ? ? ? ? ? * new_interface
>>>> ? ? ? ? ? ? ? ? * set_interface
>>>> ? ? ? ? ? ? ? ? * new_key
>>>> ? ? ? ? ? ? ? ? * new_beacon
>>>> ? ? ? ? ? ? ? ? * new_station
>>>> ? ? ? ? ? ? ? ? * new_mpath
>>>> ? ? ? ? ? ? ? ? * set_mesh_params
>>>> ? ? ? ? ? ? ? ? * set_bss
>>>> ? ? ? ? ? ? ? ? * authenticate
>>>> ? ? ? ? ? ? ? ? * associate
>>>> ? ? ? ? ? ? ? ? * deauthenticate
>>>> ? ? ? ? ? ? ? ? * disassociate
>>>> ? ? ? ? ? ? ? ? * join_ibss
>>>> ? ? ? ? ? ? ? ? * join_mesh
>>>> ? ? ? ? ? ? ? ? * remain_on_channel
>>>> ? ? ? ? ? ? ? ? * set_tx_bitrate_mask
>>>> ? ? ? ? ? ? ? ? * action
>>>> ? ? ? ? ? ? ? ? * frame_wait_cancel
>>>> ? ? ? ? ? ? ? ? * set_wiphy_netns
>>>> ? ? ? ? ? ? ? ? * set_channel
>>>> ? ? ? ? ? ? ? ? * set_wds_peer
>>>> ? ? ? ? ? ? ? ? * connect
>>>> ? ? ? ? ? ? ? ? * disconnect
>>>> ? ? ? ?Supported TX frame types:
>>>> ? ? ? ? ? ? ? ? * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>>> ? ? ? ? ? ? ? ? * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>>> ? ? ? ? ? ? ? ? * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
>>>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>>>> 0x00f0
>>>> ? ? ? ? ? ? ? ? * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
>>>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>>>> 0x00f0
>>>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>>>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>>>> ? ? ? ?Supported RX frame types:
>>>> ? ? ? ? ? ? ? ? * IBSS: 0x00d0
>>>> ? ? ? ? ? ? ? ? * managed: 0x0040 0x00d0
>>>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>>> ? ? ? ? ? ? ? ? * mesh point: 0x00b0 0x00c0 0x00d0
>>>> ? ? ? ? ? ? ? ? * P2P-client: 0x0040 0x00d0
>>>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>>>
>>>> Has anyone experienced something like this? Can this be related to my
>>>> hostapd config, or is this driver issue?
>>>>
>>>> br, Sami
>>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>>> the body of a message to [email protected]
>>> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>>>
>>
>>
>>
>> --
>> shafi
>>
>



--
shafi

2011-11-15 10:38:14

by Johannes Berg

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

On Tue, 2011-11-15 at 16:05 +0530, Mohammed Shafi wrote:
> On Tue, Nov 15, 2011 at 3:27 PM, wireless newbie <[email protected]> wrote:
> > That fix is already in place but it didn't help.
>
> :( i don't have AR9390 now, let me see if i can recreate the issue
> in AR9003 cards and help you out.

Guys! Both of you, trim your quotes please :)

johannes


2011-11-15 08:15:19

by wireless newbie

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

I tried (almost) bleeding edge compat wireless drivers (dated
1.11.2011) but the same problem persists. It turns out that the
problem is in AGC calibration in function ar9003_hw_init_cal. It times
out. This is what ath9k_hw_wait prints to log:

ath: timeout (100000 us) on reg 0xa2c4: 0x00158dd9 & 0x00000001 != 0x00000000

Is there anyone who has so much knowledge that he/she could verify if
those values make sense with this chip (ar9390)? I would like to rule
out the possibility that the driver is polling a bit in a wrong
register. Or could it be that the timeout value needs to be extended?

Thanks.

2011/11/14 wireless newbie <[email protected]>:
> Ok, this doesn't seem to interest anyone in the wireless list.
> Hopefully someone cares to respond from the ath9k list..
>
> I experience this problem with station mode too. I get
>
> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
> Could not set interface wlan0 flags: Input/output error
> Could not set interface 'wlan0' UP
>
> when starting wpa_supplicant. Could it be that ar9390 isn't really
> supported by ath9k driver? I have quite recent compat wireless drivers
> in use:
>
> Compat-wireless backport release: compat-wireless-v3.1-rc8-1
> Backport based on linux-2.6-allstable.git v3.1-rc8
>
> Has anyone managed to use ar9390 in linux?
>
>
>
> ---------- Forwarded message ----------
> From: wireless newbie <[email protected]>
> Date: 2011/11/11
> Subject: ar9390 Support for master mode?
> To: [email protected]
>
>
> Hi all,
>
> Has any one used ar9390 based devices as an AP? I'm trying, but all
> fails when I load hostapd:
>
> ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
> Could not set interface mon.wlan0 flags: Input/output error
> nl80211: Failed to set interface wlan0 into AP mode
> nl80211 driver initialization failed.
> ELOOP: remaining socket: sock=8 eloop_data=0x10219770
> user_data=0x10219d18 handler=0x1002b8c0
> ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
> handler=0x100353e0
>
> With iw, it seems that AP is part of the capabilities:
>
> iw phy 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] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (17.0 dBm)
> ? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (17.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
> ? ? ? ?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] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (disabled)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
> ? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (18.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)
> ? ? ? ?Available Antennas: TX 0 RX 0
> ? ? ? ?Supported interface modes:
> ? ? ? ? ? ? ? ? * IBSS
> ? ? ? ? ? ? ? ? * managed
> ? ? ? ? ? ? ? ? * AP
> ? ? ? ? ? ? ? ? * AP/VLAN
> ? ? ? ? ? ? ? ? * WDS
> ? ? ? ? ? ? ? ? * monitor
> ? ? ? ? ? ? ? ? * mesh point
> ? ? ? ? ? ? ? ? * P2P-client
> ? ? ? ? ? ? ? ? * P2P-GO
> ? ? ? ?Supported commands:
> ? ? ? ? ? ? ? ? * new_interface
> ? ? ? ? ? ? ? ? * set_interface
> ? ? ? ? ? ? ? ? * new_key
> ? ? ? ? ? ? ? ? * new_beacon
> ? ? ? ? ? ? ? ? * new_station
> ? ? ? ? ? ? ? ? * new_mpath
> ? ? ? ? ? ? ? ? * set_mesh_params
> ? ? ? ? ? ? ? ? * set_bss
> ? ? ? ? ? ? ? ? * authenticate
> ? ? ? ? ? ? ? ? * associate
> ? ? ? ? ? ? ? ? * deauthenticate
> ? ? ? ? ? ? ? ? * disassociate
> ? ? ? ? ? ? ? ? * join_ibss
> ? ? ? ? ? ? ? ? * join_mesh
> ? ? ? ? ? ? ? ? * remain_on_channel
> ? ? ? ? ? ? ? ? * set_tx_bitrate_mask
> ? ? ? ? ? ? ? ? * action
> ? ? ? ? ? ? ? ? * frame_wait_cancel
> ? ? ? ? ? ? ? ? * set_wiphy_netns
> ? ? ? ? ? ? ? ? * set_channel
> ? ? ? ? ? ? ? ? * set_wds_peer
> ? ? ? ? ? ? ? ? * connect
> ? ? ? ? ? ? ? ? * disconnect
> ? ? ? ?Supported TX frame types:
> ? ? ? ? ? ? ? ? * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> ? ? ? ? ? ? ? ? * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> ? ? ? ? ? ? ? ? * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
> 0x00f0
> ? ? ? ? ? ? ? ? * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
> 0x00f0
> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
> ? ? ? ?Supported RX frame types:
> ? ? ? ? ? ? ? ? * IBSS: 0x00d0
> ? ? ? ? ? ? ? ? * managed: 0x0040 0x00d0
> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
> ? ? ? ? ? ? ? ? * mesh point: 0x00b0 0x00c0 0x00d0
> ? ? ? ? ? ? ? ? * P2P-client: 0x0040 0x00d0
> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>
> Has anyone experienced something like this? Can this be related to my
> hostapd config, or is this driver issue?
>
> br, Sami
>

2011-11-15 10:46:59

by wireless newbie

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

Thanks. I just compiled compat-wireless from yesterday, but the
behavior is still the same.



2011/11/15 Mohammed Shafi <[email protected]>:
> On Tue, Nov 15, 2011 at 3:27 PM, wireless newbie <[email protected]> wrote:
>> That fix is already in place but it didn't help.
>
> :( ?i don't have AR9390 now, let me see if ?i can recreate the issue
> in AR9003 cards and help you out.
>
>

2011-11-15 08:56:28

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ar9390 Support for master mode?

On Tue, Nov 15, 2011 at 1:45 PM, wireless newbie <[email protected]> wrote:
> I tried (almost) bleeding edge compat wireless drivers (dated
> 1.11.2011) but the same problem persists. It turns out that the
> problem is in AGC calibration in function ar9003_hw_init_cal. It times
> out. This is what ath9k_hw_wait prints to log:
>
> ath: timeout (100000 us) on reg 0xa2c4: 0x00158dd9 & 0x00000001 != 0x00000000

a similar problem addressed by
http://permalink.gmane.org/gmane.linux.kernel.wireless.general/78758
and this fix is there in bleeding edge compat(today). did it help?

>
> Is there anyone who has so much knowledge that he/she could verify if
> those values make sense with this chip (ar9390)? I would like to rule
> out the possibility that the driver is polling a bit in a wrong
> register. Or could it be that the timeout value needs to be extended?
>
> Thanks.
>
> 2011/11/14 wireless newbie <[email protected]>:
>> Ok, this doesn't seem to interest anyone in the wireless list.
>> Hopefully someone cares to respond from the ath9k list..
>>
>> I experience this problem with station mode too. I get
>>
>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>> Could not set interface wlan0 flags: Input/output error
>> Could not set interface 'wlan0' UP
>>
>> when starting wpa_supplicant. Could it be that ar9390 isn't really
>> supported by ath9k driver? I have quite recent compat wireless drivers
>> in use:
>>
>> Compat-wireless backport release: compat-wireless-v3.1-rc8-1
>> Backport based on linux-2.6-allstable.git v3.1-rc8
>>
>> Has anyone managed to use ar9390 in linux?
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: wireless newbie <[email protected]>
>> Date: 2011/11/11
>> Subject: ar9390 Support for master mode?
>> To: [email protected]
>>
>>
>> Hi all,
>>
>> Has any one used ar9390 based devices as an AP? I'm trying, but all
>> fails when I load hostapd:
>>
>> ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
>> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>> Could not set interface mon.wlan0 flags: Input/output error
>> nl80211: Failed to set interface wlan0 into AP mode
>> nl80211 driver initialization failed.
>> ELOOP: remaining socket: sock=8 eloop_data=0x10219770
>> user_data=0x10219d18 handler=0x1002b8c0
>> ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
>> handler=0x100353e0
>>
>> With iw, it seems that AP is part of the capabilities:
>>
>> iw phy 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] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (17.0 dBm)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (17.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
>> ? ? ? ?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] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (disabled)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (18.0 dBm) (passive scanning, no IBSS)
>> ? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (18.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)
>> ? ? ? ?Available Antennas: TX 0 RX 0
>> ? ? ? ?Supported interface modes:
>> ? ? ? ? ? ? ? ? * IBSS
>> ? ? ? ? ? ? ? ? * managed
>> ? ? ? ? ? ? ? ? * AP
>> ? ? ? ? ? ? ? ? * AP/VLAN
>> ? ? ? ? ? ? ? ? * WDS
>> ? ? ? ? ? ? ? ? * monitor
>> ? ? ? ? ? ? ? ? * mesh point
>> ? ? ? ? ? ? ? ? * P2P-client
>> ? ? ? ? ? ? ? ? * P2P-GO
>> ? ? ? ?Supported commands:
>> ? ? ? ? ? ? ? ? * new_interface
>> ? ? ? ? ? ? ? ? * set_interface
>> ? ? ? ? ? ? ? ? * new_key
>> ? ? ? ? ? ? ? ? * new_beacon
>> ? ? ? ? ? ? ? ? * new_station
>> ? ? ? ? ? ? ? ? * new_mpath
>> ? ? ? ? ? ? ? ? * set_mesh_params
>> ? ? ? ? ? ? ? ? * set_bss
>> ? ? ? ? ? ? ? ? * authenticate
>> ? ? ? ? ? ? ? ? * associate
>> ? ? ? ? ? ? ? ? * deauthenticate
>> ? ? ? ? ? ? ? ? * disassociate
>> ? ? ? ? ? ? ? ? * join_ibss
>> ? ? ? ? ? ? ? ? * join_mesh
>> ? ? ? ? ? ? ? ? * remain_on_channel
>> ? ? ? ? ? ? ? ? * set_tx_bitrate_mask
>> ? ? ? ? ? ? ? ? * action
>> ? ? ? ? ? ? ? ? * frame_wait_cancel
>> ? ? ? ? ? ? ? ? * set_wiphy_netns
>> ? ? ? ? ? ? ? ? * set_channel
>> ? ? ? ? ? ? ? ? * set_wds_peer
>> ? ? ? ? ? ? ? ? * connect
>> ? ? ? ? ? ? ? ? * disconnect
>> ? ? ? ?Supported TX frame types:
>> ? ? ? ? ? ? ? ? * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ? ? ? ? ? * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040
>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>> 0x00f0
>> ? ? ? ? ? ? ? ? * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040
>> 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0
>> 0x00f0
>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
>> 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
>> ? ? ? ?Supported RX frame types:
>> ? ? ? ? ? ? ? ? * IBSS: 0x00d0
>> ? ? ? ? ? ? ? ? * managed: 0x0040 0x00d0
>> ? ? ? ? ? ? ? ? * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>> ? ? ? ? ? ? ? ? * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>> ? ? ? ? ? ? ? ? * mesh point: 0x00b0 0x00c0 0x00d0
>> ? ? ? ? ? ? ? ? * P2P-client: 0x0040 0x00d0
>> ? ? ? ? ? ? ? ? * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
>>
>> Has anyone experienced something like this? Can this be related to my
>> hostapd config, or is this driver issue?
>>
>> br, Sami
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
shafi