Skip to contentSkip to conversation

AR5008 slow in AP mode

ath9k-devel Luca Niccoli 1 participant 1 message Mar 3, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I have an AR5008 and an AR9281 card.
If I use the AR9281 in AP mode and the AR5008 as STA, the 5008 transmits mainly at 300mbps, as in this sample rcstat:

  1.0:        0        0        0        0
  2.0:        0        0        0        0
  5.5:        0        0        0        0
 11.0:       15        3        0        0
  6.0:        0        0        0        0
  9.0:        0        0        0        0
 12.0:      211      137       30        0
 18.0:      161      344      167        0
 24.0:      661      415      103       32
 36.0:      385      470      313       36
 48.0:      105      285      171       56
 54.0:      104       73       46       66
  6.5:        0        0        0        0
 13.0:        0        0        0        0
 19.5:        0        0        0        0
 26.0:        0        0        0        0
 39.0:        0        0        0        0
 52.0:        0        0        0        0
 58.5:        0        0        0        0
 65.0:        0        0        0        0
 13.0:        0        0        0        0
 26.0:        0        0        0        0
 39.0:        0        0        0        0
 52.0:        0        0        0        0
 78.0:        0        0        0        0
104.0:        0        0        0        0
117.0:        0        0        0        0
130.0:        0        0        0        0
 13.5:        0        0        0        0
 27.5:        0        0        0        0
 40.5:        0        0        0        0
 54.0:        0        0        0        0
 81.5:        0        0        0        0
108.0:        0        0        0        0
121.5:        0        0        0        0
135.0:        0        0        0        0
150.0:        0        0        0        0
 27.0:        0        0        0        0
 54.0:        0        0        0        0
 81.0:        0        0        0        0
108.0:        0        0        0        0
162.0:        0        0        0        0
216.0:        8        1        0        1
243.0:       19       18        3        1
270.0:     6856      100       38        0

300.0: 30155 771 327 24

If I use the 5008 as AP, I only get it to transmit at 81.5mbps:

  1.0:        0        0        0        0
  2.0:        0        0        0        0
  5.5:        0        0        0        0
 11.0:        0        0        0        0
  6.0:        0        0        0        0
  9.0:        0        0        0        0
 12.0:        0        0        0        0
 18.0:        0        0        0        0
 24.0:        3        0        0        0
 36.0:        3        1        2        7
 48.0:        1        0        0        7
 54.0:        9        1        0        2
  6.5:        0        0        0        0
 13.0:        0        0        0        0
 19.5:        0        0        0        0
 26.0:        0        0        0        0
 39.0:        0        0        0        0
 52.0:        0        0        0        0
 58.5:        0        0        0        0
 65.0:        0        0        0        0
 13.0:        0        0        0        0
 26.0:        0        0        0        0
 39.0:        0        0        0        0
 52.0:        0        0        0        0
 78.0:        0        0        0        0
104.0:        0        0        0        0
117.0:        0        0        0        0
130.0:        0        0        0        0
 13.5:        0        0        0        0
 27.5:        0        0        0        0
 40.5:        0        0        0        0
 54.0:       40        0        0        0
 81.5:    10276      179       82        0
108.0:        0        0        0        0
121.5:        0        0        0        0
135.0:        0        0        0        0
150.0:        0        0        0        0
 27.0:        0        0        0        0
 54.0:        0        0        0        0
 81.0:        0        0        0        0
108.0:        0       86      106       18
162.0:        1       12        3       90
216.0:        0        4        1       26
243.0:        0        0        0        0
270.0:        0        0        0        0
300.0:        0        0        0        0

( I saw similar rcstats also in STA mode when I had only two antennas attached to the card)
OTOH, the 9281 always transmits at 150mbps.
This happens both with 2.6.3[23] bundled drivers and in compat-wireless-2010-03-02
I tried the new minstrel_ht, but I didn't manage to get the driver use it (I always get phy0: Selected rate control algorithm 'ath9k_rate_control'
)
Do you have any idea why this happens?
Cheers,

Luca