All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] minstrel_ht: problems with HT40
@ 2013-05-09 13:42 Oleksij Rempel
  2013-05-09 14:41 ` Felix Fietkau
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksij Rempel @ 2013-05-09 13:42 UTC (permalink / raw)
  To: ath9k-devel

Hallo Felix,

i found your patches for moving ath9k to minstrel_ht and decided to do 
some testing.
For some reason, minstrel_ht exclude all HT40 rates in my network. With 
native ath9k rate controller I'm able to use HT40.
Do you have any idea where to start digging?
-- 
Regards,
Oleksij

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] minstrel_ht: problems with HT40
  2013-05-09 13:42 [ath9k-devel] minstrel_ht: problems with HT40 Oleksij Rempel
@ 2013-05-09 14:41 ` Felix Fietkau
  2013-05-09 15:09   ` Oleksij Rempel
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Fietkau @ 2013-05-09 14:41 UTC (permalink / raw)
  To: ath9k-devel

On 2013-05-09 3:42 PM, Oleksij Rempel wrote:
> Hallo Felix,
> 
> i found your patches for moving ath9k to minstrel_ht and decided to do 
> some testing.
> For some reason, minstrel_ht exclude all HT40 rates in my network. With 
> native ath9k rate controller I'm able to use HT40.
> Do you have any idea where to start digging?
Do the rates not even show up in the debugfs rate control stats? If so,
check the value of sta->bandwidth at the time minstrel_ht_update_caps()
is called.

- Felix

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] minstrel_ht: problems with HT40
  2013-05-09 14:41 ` Felix Fietkau
@ 2013-05-09 15:09   ` Oleksij Rempel
  2013-05-09 15:16     ` Felix Fietkau
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksij Rempel @ 2013-05-09 15:09 UTC (permalink / raw)
  To: ath9k-devel

Am 09.05.2013 16:41, schrieb Felix Fietkau:
> On 2013-05-09 3:42 PM, Oleksij Rempel wrote:
>> Hallo Felix,
>>
>> i found your patches for moving ath9k to minstrel_ht and decided to do
>> some testing.
>> For some reason, minstrel_ht exclude all HT40 rates in my network. With
>> native ath9k rate controller I'm able to use HT40.
>> Do you have any idea where to start digging?
> Do the rates not even show up in the debugfs rate control stats?

correct

> If so,
> check the value of sta->bandwidth at the time minstrel_ht_update_caps()
> is called.

hmm... for some reasons sta->bandwidth is always 0.

my rc_stats are in attachment
-- 
Regards,
Oleksij
-------------- next part --------------
type         rate     throughput  ewma prob   this prob  retry   this succ/attempt   success    attempts
CCK/LP        1.0M           0.9       99.9       100.0      0              0(  0)        29          30
CCK/SP        2.0M           0.0        0.0         0.0      0              0(  0)         0           0
CCK/SP        5.5M           0.0        0.0         0.0      0              0(  0)         0           0
CCK/SP       11.0M           0.0        0.0         0.0      0              0(  0)         0           0
HT20/LGI     MCS0            6.2      100.0       100.0      1              0(  0)         1           1
HT20/LGI     MCS1           11.7      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS2           16.4      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS3           20.7      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS4           28.0      100.0       100.0      5              0(  0)         1           1
HT20/LGI     MCS5           27.9       82.9       100.0      5              0(  0)        15          19
HT20/LGI  t  MCS6           28.9       80.2        25.0      5              0(  0)       109         123
HT20/LGI T P MCS7           38.9       99.9       100.0      5              1(  1)       782         813

Total packet count::    ideal 975      lookaround 48
Average A-MPDU length: 1.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] minstrel_ht: problems with HT40
  2013-05-09 15:09   ` Oleksij Rempel
@ 2013-05-09 15:16     ` Felix Fietkau
  2013-05-09 17:02       ` Oleksij Rempel
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Fietkau @ 2013-05-09 15:16 UTC (permalink / raw)
  To: ath9k-devel

On 2013-05-09 5:09 PM, Oleksij Rempel wrote:
> Am 09.05.2013 16:41, schrieb Felix Fietkau:
>> On 2013-05-09 3:42 PM, Oleksij Rempel wrote:
>>> Hallo Felix,
>>>
>>> i found your patches for moving ath9k to minstrel_ht and decided to do
>>> some testing.
>>> For some reason, minstrel_ht exclude all HT40 rates in my network. With
>>> native ath9k rate controller I'm able to use HT40.
>>> Do you have any idea where to start digging?
>> Do the rates not even show up in the debugfs rate control stats?
> 
> correct
> 
>> If so,
>> check the value of sta->bandwidth at the time minstrel_ht_update_caps()
>> is called.
> 
> hmm... for some reasons sta->bandwidth is always 0.
OK, maybe it's a mac80211 issue then. Maybe ath9k rate control checks
this field even between HT capability updates.
Check when/where this is updated in mac80211.

- Felix

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] minstrel_ht: problems with HT40
  2013-05-09 15:16     ` Felix Fietkau
@ 2013-05-09 17:02       ` Oleksij Rempel
  0 siblings, 0 replies; 5+ messages in thread
From: Oleksij Rempel @ 2013-05-09 17:02 UTC (permalink / raw)
  To: ath9k-devel

Am 09.05.2013 17:16, schrieb Felix Fietkau:
> On 2013-05-09 5:09 PM, Oleksij Rempel wrote:
>> Am 09.05.2013 16:41, schrieb Felix Fietkau:
>>> On 2013-05-09 3:42 PM, Oleksij Rempel wrote:
>>>> Hallo Felix,
>>>>
>>>> i found your patches for moving ath9k to minstrel_ht and decided to do
>>>> some testing.
>>>> For some reason, minstrel_ht exclude all HT40 rates in my network. With
>>>> native ath9k rate controller I'm able to use HT40.
>>>> Do you have any idea where to start digging?
>>> Do the rates not even show up in the debugfs rate control stats?
>>
>> correct
>>
>>> If so,
>>> check the value of sta->bandwidth at the time minstrel_ht_update_caps()
>>> is called.
>>
>> hmm... for some reasons sta->bandwidth is always 0.
> OK, maybe it's a mac80211 issue then. Maybe ath9k rate control checks
> this field even between HT capability updates.
> Check when/where this is updated in mac80211.

I found the reason. menstrel was doing everything right.
For some reasons my speedport router decided to turn off HT40. I didn't 
checked it before and started digging to the code. After i restarted it 
i got HT40 back ... :/
-- 
Regards,
Oleksij

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-09 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 13:42 [ath9k-devel] minstrel_ht: problems with HT40 Oleksij Rempel
2013-05-09 14:41 ` Felix Fietkau
2013-05-09 15:09   ` Oleksij Rempel
2013-05-09 15:16     ` Felix Fietkau
2013-05-09 17:02       ` Oleksij Rempel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.