Skip to contentSkip to conversation

'RX-STBC12' and 'GF' not accepted

ath9k-devel Thomas Andrews 2 participants 2 messages Feb 11, 2011 – Feb 14, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I have a couple of AR9220 cards running in 'N' mode, but I can't seem to get either Greenfield or two RX STBC streams going. These are the errors I get in each case:

Driver does not support configured HT capability [GF]

and

Driver does not support configured HT capability [RX-STBC*]

Is this something that is controlled in the eeprom?
You can see from the output of 'iw list' that only one RX spatial stream is allowed:

RX STBC 1-stream

As I understand it, the AR9220 (AR9280) supports two spatial straams for both TX and RX, and greenfield mode too. I am running the one card as an AP and the other as a STA. Is it possible that I have to do something on the STA to get greenfield operation to work?

When the link comes up, it generally goes into MCS 15 mode with short GI, but throughput tests with iperf UDP never get above about 140 Mbit/s

Here's some more info:

This is a stock Ubuntu LTS installation with no custom compilations.
# ----------------------------------------------------------------------------- Linux atom 2.6.35-22-generic-pae #33-Ubuntu SMP Sun Sep 19 22:14:14 UTC 2010 i686 GNU/Linux hostapd 1:0.6.10-2
wpasupplicant 0.6.10-2
iw 0.9.19-1
# ----------------------------------------------------------------------------- # Output of dmesg:

[   15.905053] ath9k 0000:03:07.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   17.464303] ath: EEPROM regdomain: 0x0
[   17.464312] ath: EEPROM indicates default country code should be used
[   17.464319] ath: doing EEPROM country->regdmn map search
[   17.464327] ath: country maps to regdmn code: 0x3a
[   17.464334] ath: Country alpha2 being used: US
[   17.464340] ath: Regpair used: 0x3a
[   17.552718] phy0: Selected rate control algorithm 'ath9k_rate_control'
[   17.554541] Registered led device: ath9k-phy0::radio
[   17.554612] Registered led device: ath9k-phy0::assoc
[   17.554685] Registered led device: ath9k-phy0::tx
[   17.554765] Registered led device: ath9k-phy0::rx
[   17.554778] phy0: Atheros AR9280 Rev:2 mem=0xf8660000, irq=19
[   17.555130] cfg80211: Calling CRDA for country: US
[   17.576278] cfg80211: Regulatory domain changed to country: US
[   17.576290]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   17.576302]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   17.576312]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   17.576322]     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   17.576332]     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   17.576342]     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   17.576352]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   17.752556] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.817705] cfg80211: Found new beacon on frequency: 5180 MHz (Ch 36) on phy0
[   20.272330] wlan0: authenticate with 00:19:70:3f:97:74 (try 1)
[   20.275367] wlan0: authenticated
[   20.275404] wlan0: associate with 00:19:70:3f:97:74 (try 1)
[   20.315174] wlan0: RX AssocResp from 00:19:70:3f:97:74 (capab=0x11 status=0 aid=1)
[   20.315189] wlan0: associated
[   20.323407] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

# ----------------------------------------------------------------------------- # Contents of /etc/hostapd.conf

interface=wlan0
driver=nl80211
ssid=test_network
channel=36
hw_mode=a
auth_algs=1
wpa=3
wpa_passphrase=foobar
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
wme_enabled=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC]
# doesn't work ----> ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][GF] # doesn't work ----> ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC12] country_code=US
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
# -----------------------------------------------------------------------------

# iw reg get
country 00:
        (2402 - 2472 @ 40), (3, 20)
        (2457 - 2482 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS
        (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
        (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
        (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
# -----------------------------------------------------------------------------
# iw list
Wiphy phy0
        Band 1:
                Capabilities: 0x11ce
                        HT20/HT40
                        SM Power Save disabled
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 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-15
                Frequencies:
                        * 5180 MHz [36] (17.0 dBm)
                        * 5200 MHz [40] (17.0 dBm)
                        * 5220 MHz [44] (17.0 dBm)
                        * 5240 MHz [48] (17.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                        * 5745 MHz [149] (30.0 dBm)
                        * 5765 MHz [153] (30.0 dBm)
                        * 5785 MHz [157] (30.0 dBm)
                        * 5805 MHz [161] (30.0 dBm)
                        * 5825 MHz [165] (30.0 dBm)
                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
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        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
                 * Unknown command (55)
                 * Unknown command (57)
                 * Unknown command (59)
                 * set_wiphy_netns
                 * Unknown command (65)
                 * connect
                 * disconnect
# -----------------------------------------------------------------------------
# On the STA, I just have a very basic setup in /etc/network/interfaces:

iface wlan0 inet static

    address 10.3.3.6
    netmask 255.255.255.0
    wireless-essid test_network
    wireless-mode managed
    wpa-ssid test_network
    wpa-psk foobar

# -----------------------------------------------------------------------------

#1 lore raw
Quoted 7 lines · Thomas Andrews

Hi,

I have a couple of AR9220 cards running in 'N' mode, but I can't seem to get either Greenfield or two RX STBC streams going. These are the errors I get in each case:

?Driver does not support configured HT capability [GF]

Yes Greenfield is not yet implemented.

Quoted 9 lines

and

?Driver does not support configured HT capability [RX-STBC*]

Is this something that is controlled in the eeprom?
You can see from the output of 'iw list' that only one RX spatial stream is allowed:

? ?RX STBC 1-stream

Please search for
[RFC] ath9k: Fix reporting of RX STBC streams to userspace

Quoted 196 lines

As I understand it, the AR9220 (AR9280) supports two spatial straams for both TX and RX, and greenfield mode too. I am running the one card as an AP and the other as a STA. Is it possible that I have to do something on the STA to get greenfield operation to work?

When the link comes up, it generally goes into MCS 15 mode with short GI, but throughput tests with iperf UDP never get above about 140 Mbit/s

Here's some more info:

This is a stock Ubuntu LTS installation with no custom compilations.
# ----------------------------------------------------------------------------- Linux atom 2.6.35-22-generic-pae #33-Ubuntu SMP Sun Sep 19 22:14:14 UTC 2010 i686 GNU/Linux hostapd 1:0.6.10-2
wpasupplicant 0.6.10-2
iw 0.9.19-1
# ----------------------------------------------------------------------------- # Output of dmesg:

[ ? 15.905053] ath9k 0000:03:07.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ ? 17.464303] ath: EEPROM regdomain: 0x0
[ ? 17.464312] ath: EEPROM indicates default country code should be used [ ? 17.464319] ath: doing EEPROM country->regdmn map search
[ ? 17.464327] ath: country maps to regdmn code: 0x3a
[ ? 17.464334] ath: Country alpha2 being used: US
[ ? 17.464340] ath: Regpair used: 0x3a
[ ? 17.552718] phy0: Selected rate control algorithm 'ath9k_rate_control' [ ? 17.554541] Registered led device: ath9k-phy0::radio
[ ? 17.554612] Registered led device: ath9k-phy0::assoc
[ ? 17.554685] Registered led device: ath9k-phy0::tx
[ ? 17.554765] Registered led device: ath9k-phy0::rx
[ ? 17.554778] phy0: Atheros AR9280 Rev:2 mem=0xf8660000, irq=19
[ ? 17.555130] cfg80211: Calling CRDA for country: US
[ ? 17.576278] cfg80211: Regulatory domain changed to country: US
[ ? 17.576290] ? ? (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ ? 17.576302] ? ? (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ ? 17.576312] ? ? (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ ? 17.576322] ? ? (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ ? 17.576332] ? ? (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ ? 17.576342] ? ? (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ ? 17.576352] ? ? (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ ? 17.752556] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ ? 17.817705] cfg80211: Found new beacon on frequency: 5180 MHz (Ch 36) on phy0 [ ? 20.272330] wlan0: authenticate with 00:19:70:3f:97:74 (try 1)
[ ? 20.275367] wlan0: authenticated
[ ? 20.275404] wlan0: associate with 00:19:70:3f:97:74 (try 1)
[ ? 20.315174] wlan0: RX AssocResp from 00:19:70:3f:97:74 (capab=0x11 status=0 aid=1) [ ? 20.315189] wlan0: associated
[ ? 20.323407] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

# ----------------------------------------------------------------------------- # Contents of /etc/hostapd.conf

interface=wlan0
driver=nl80211
ssid=test_network
channel=36
hw_mode=a
auth_algs=1
wpa=3
wpa_passphrase=foobar
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
wme_enabled=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC]
# doesn't work ----> ?ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][GF] # doesn't work ----> ?ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC12] country_code=US
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
# -----------------------------------------------------------------------------

# iw reg get
country 00:
? ? ? ?(2402 - 2472 @ 40), (3, 20)
? ? ? ?(2457 - 2482 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS
? ? ? ?(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
? ? ? ?(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
? ? ? ?(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
# -----------------------------------------------------------------------------
# iw list
Wiphy phy0
? ? ? ?Band 1:
? ? ? ? ? ? ? ?Capabilities: 0x11ce
? ? ? ? ? ? ? ? ? ? ? ?HT20/HT40
? ? ? ? ? ? ? ? ? ? ? ?SM Power Save disabled
? ? ? ? ? ? ? ? ? ? ? ?RX HT40 SGI
? ? ? ? ? ? ? ? ? ? ? ?TX STBC
? ? ? ? ? ? ? ? ? ? ? ?RX STBC 1-stream
? ? ? ? ? ? ? ? ? ? ? ?Max AMSDU length: 7935 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-15
? ? ? ? ? ? ? ?Frequencies:
? ? ? ? ? ? ? ? ? ? ? ?* 5180 MHz [36] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5200 MHz [40] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5220 MHz [44] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5240 MHz [48] (17.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5600 MHz [120] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5620 MHz [124] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5640 MHz [128] (disabled)
? ? ? ? ? ? ? ? ? ? ? ?* 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection)
? ? ? ? ? ? ? ? ? ? ? ?* 5745 MHz [149] (30.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5765 MHz [153] (30.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5785 MHz [157] (30.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5805 MHz [161] (30.0 dBm)
? ? ? ? ? ? ? ? ? ? ? ?* 5825 MHz [165] (30.0 dBm)
? ? ? ? ? ? ? ?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
? ? ? ?Supported interface modes:
? ? ? ? ? ? ? ? * IBSS
? ? ? ? ? ? ? ? * managed
? ? ? ? ? ? ? ? * AP
? ? ? ? ? ? ? ? * AP/VLAN
? ? ? ? ? ? ? ? * monitor
? ? ? ? ? ? ? ? * mesh point
? ? ? ?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
? ? ? ? ? ? ? ? * Unknown command (55)
? ? ? ? ? ? ? ? * Unknown command (57)
? ? ? ? ? ? ? ? * Unknown command (59)
? ? ? ? ? ? ? ? * set_wiphy_netns
? ? ? ? ? ? ? ? * Unknown command (65)
? ? ? ? ? ? ? ? * connect
? ? ? ? ? ? ? ? * disconnect
# -----------------------------------------------------------------------------
# On the STA, I just have a very basic setup in /etc/network/interfaces:

iface wlan0 inet static
? ?address 10.3.3.6
? ?netmask 255.255.255.0
? ?wireless-essid test_network
? ?wireless-mode managed
? ?wpa-ssid test_network
? ?wpa-psk foobar
# -----------------------------------------------------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel