AR9281 - AP : bit rate always 0 kb/sec
Hi,
I am using AR9281 card for the AP. I am having atheros driver for linux 2.6.15. When I bring up interface, iwconfig shows that bit rate is 0 kb/sec. Clients are not able to associate with the AP. It is 802.11ng network and AP side ststs shows, association request received and it is failing due to unmatched bit rate. When I use iwconfig utility to set the bit rate to 1M or 3M (any valid values), it accepts, but when I dump rate using iwlist, it still shows 0kb/sec and I will never able to actually set valid rate.
Anyone faced similar problem could kindly help me.
Since it is 11n chip, I tried configuring the mode to 11g using iwpriv ath0 mode 3 , it is also failing. Any idea, to really configure AP with 11n chip for valid rate?
thanks,
MB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090217/7112ec62/attachment.htm
Quoted 1 line
Anyone faced similar problem could kindly help me.
Same problem on AR9260. 0 kb/sec when connecting in N mode, but it can associate with AP. When I set my AP to 40 MHz mode, card cannot see AP at all.
Quoted 5 lines · Alex Williams
Quoted 1 line
Anyone faced similar problem could kindly help me.
Same problem on AR9260. 0 kb/sec when connecting in N mode, but it can associate with AP. When I set my AP to 40 MHz mode, card cannot see AP at all.
Alex, a few questions: what version of ath9k (compat-wireless date?), version of hostapd are you using? What is your ht_capab setting on the AP side? What client chipset and OS are you using?
A new hostapd was just released as stable, version 0.6.8, and I'm fighting some issues with it rejecting ht_capab that worked in 0.6.7 at the moment. BTW, has anyone figure out how to tell hotapd to run in N-only mode or NA-only mode?
[ath9k-devel] hostapd HT configuration
Quoted 3 lines · Stephen Gutknecht (hilltx)
A new hostapd was just released as stable, version 0.6.8, and I'm fighting some issues with it rejecting
ht_capabthat worked in 0.6.7 at the moment.
hostapd is now rejecting ht_capab options that the driver does not support. You can see the supported set with iw phy phy# info.
Quoted 2 lines
BTW, has anyone figure out how to tell hotapd to run
in N-only mode or NA-only mode?
There is currently no parameter to enforce 802.11n-only mode (i.e., reject 802.11g/802.11a non-HT associations).
- Jouni
[ath9k-devel] hostapd HT configuration
Hi Jouni,
This is with OpenWRT trunk revised to use compat-wireless 2009-02-16 and hostapd 0.6.8 instead of 0.6.7. On a ar9130 CPU (MIPS) with ar9102 radio chip - Trendnet TEW-652BRP router. iw is version 0.9.9
root at OpenWrt:/# iw list
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 Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
Bitrates:
* 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
Supported interface modes:
* IBSS
* Station
* AP
* AP(VLAN)
* Monitor
It's all kind of confusing to confirm what mode / data rate the AP is in. Two of us on OpenWRT forum were using an Apple OS X client machines with an Atheros N chipset. It is possible from the OS X side to run a program called "AP Grapher" and clearly see the stability of the connection and maximum data rate. It will depect "54/130" and retrains as 0/130 briefly. As Apple uses Atheros chips so commonly, assumption is that the OS X driver is a known good one and stable reference.
There is some confusion on our part (ar9102 and ar9103 OpenWRT users) as to exactly how to go about controlling N mode on ath9k and hostapd. Ultimately the OpenWRT UCI and LUCI GUI need to be enhanced to support things such as N/NA only, 20/40 settings, dual-band channel picking for 600Mbps simultaneous mode (Atheros AR9002AP platform, which consists of the AR9220 and AR9223 dual-band radio chipset - anyone seen them for sale yet?).
Any and all walkthroughs of constructing ht_capab appreciated ;)
With 0.6.7 we had default which gave us G-only. Or we could revise hostapd config with:
ieee80211n=1 ht_capab=[SHORT-GI-20][TX-STBC][RX-STBC12][DELAYED-BA]
And were able to connect at 130Mbps from OS X Atheros client. I'm mot sure anyone ever figured out how to get 40Mhz (300Mbps) mode.
Thanks for your reply.
Quoted 19 lines · Jouni Malinen
Quoted 3 lines · Stephen Gutknecht (hilltx)
A new hostapd was just released as stable, version 0.6.8, and I'm fighting some issues with it rejecting
ht_capabthat worked in 0.6.7 at the moment.hostapd is now rejecting
ht_capaboptions that the driver does not support. You can see the supported set with iw phy phy# info.Quoted 2 lines
BTW, has anyone figure out how to tell hotapd to run
in N-only mode or NA-only mode?There is currently no parameter to enforce 802.11n-only mode (i.e., reject 802.11g/802.11a non-HT associations).
- Jouni
[ath9k-devel] hostapd HT configuration
Quoted 10 lines · Stephen Gutknecht (hilltx)
Any and all walkthroughs of constructing
ht_capabappreciated ;)With 0.6.7 we had default which gave us G-only. Or we could revise hostapd config with:
ieee80211n=1 ht_capab=[SHORT-GI-20][TX-STBC][RX-STBC12][DELAYED-BA]
And were able to connect at 130Mbps from OS X Atheros client. I'm mot sure anyone ever figured out how to get 40Mhz (300Mbps) mode.
ath9k does not currently advertise support for any of the options you mention above in ht_capab, so they will need to be removed when using ath9k.
802.11g:
channel=1..11
hw_mode=g
802.11ng (802.11g and 802.11n with HT20):
channel=1..11
hw_mode=g
ieee80211n=1
802.11ng (802.11g and 802.11n with HT20/40):
channel=6
hw_mode=g
ieee80211n=1
ht_capab=[HT40-]
(see hostapd.conf for limitations on which channels and HT40- vs. HT40+ options are allowed; please note that use of 40 MHz will get even more limited in future when some additional co-existence checks are added; some of those are already in hostapd 0.7.x branch)
You can add [SHORT-GI-40] to ht_capab to enable short guard interval for 20/40 MHz mode (i.e., when [HT40-] or [HT40+] is included).
- Jouni
Quoted 3 lines
Alex, a few questions: what version of ath9k (compat-wireless date?), version of hostapd are you using? What is your
ht_capabsetting on the AP side? What client chipset and OS are you using?
I'm using wireless-testing git and updating it every day to see changes to good side :) I using ar9160 miniPCI card as client + Debian Lenny (Linux operating system). Access point (AP) - Level One WBR-6000 (with 802.11n Draft 2.0)...
Stephen,
I am using linux 2.6.21. Ath9k supports from 2.6.27 onwards. So, I cant use the Ath9K drivers. But I need to support AR9280 chips in 2.6.21. We got some driver for 2.6.15 and I make them compiled for 2.6.21 and using the ".ko".
I am able to start the AP and client is finding the AP, but when client try to associate, it fails and stats shows following:
/80211stats
3 rx discard 'cuz dup
5 rx discard mgt frames
1 rx frame chan mismatch
990 rx frame ssid mismatch
*11 rx assoc w/ no rate match*
2 active scans started
and iwconfig wlan0 shows as below:
./iwconfig wlan0
wlan0 IEEE 802.11ng ESSID:"rmi_sg" Nickname:""
Mode:Master Frequency:2.417 GHz Access Point: 00:03:7F:0F:E3:23
* Bit Rate=0 kb/s * Tx-Power:16 dBm Sensitivity=1/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=161/162 Noise level=161/161
* Rx invalid nwid:112* Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So, any guess what may be wrong? If I try setting bitrate using iwconfig, still it is of no use.
thanks,
MB.
Quoted 9 lines · Alex Williams
Quoted 3 lines
Alex, a few questions: what version of ath9k (compat-wireless date?), version of hostapd are you using? What is your
ht_capabsetting on the AP side? What client chipset and OS are you using?I'm using wireless-testing git and updating it every day to see changes to good side :) I using ar9160 miniPCI card as client + Debian Lenny (Linux operating system). Access point (AP) - Level One WBR-6000 (with 802.11n Draft 2.0)...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090218/434a1b69/attachment.htm