Subject: HOW TO enable UAPSD and WMM  on ath9k


Hello ALL,

I have an AR9280 on debian version 2.6.32. I tried to enable UAPSD and WMM on all queue but I can not. I install compat-
wirelless and load ath9k.
I saw with iw you can 't enable wmm or UAPSD. I remenbered with iwpriv you could do this but it does not work with this
driver.
I saw on" http://wireless.kernel.org/en/developers/Documentation/kerneldoc/include/net/mac80211.h" you could change WMM
and UAPSD value.So I decide to make change in source and header code
but it seems to be difficult and I does not understand all.
* @IEEE80211_HW_SUPPORTS_UAPSD:
* Hardware supports Unscheduled Automatic Power Save Delivery
* (U-APSD) in managed mode. The mode is configured with
* conf_tx() operation.

where is conf_tx() operation?

Where I have to make change in order to enable WMM and UAPSD on all queue?
Is there a CLI command?

Thanks for your help,

PX


2011-02-04 07:39:21

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: HOW TO enable UAPSD and WMM on ath9k

On Wed, Feb 2, 2011 at 2:56 AM, Mohammed Shafi <[email protected]> wrote:
> On Wed, Feb 2, 2011 at 3:14 PM, Prigent Xavier MAPS LIS LANNION
> <[email protected]> wrote:
>>
>> Hello ALL,
>>
>> I have an AR9280 on debian version 2.6.32. I tried to enable UAPSD and WMM on all queue but I can not. I install compat-
>> wirelless and load ath9k.
>> I saw with iw you can 't enable wmm or UAPSD. I remenbered with iwpriv you could do this but it does not work with this
>> driver.
>> I saw on" http://wireless.kernel.org/en/developers/Documentation/kerneldoc/include/net/mac80211.h" you could change WMM
>> and UAPSD value.So I decide to make change in source and header code
>> but it seems to be difficult and I does not understand all.
>> * @IEEE80211_HW_SUPPORTS_UAPSD:
>> * Hardware supports Unscheduled Automatic Power Save Delivery
>> * (U-APSD) in managed mode. The mode is configured with
>> * conf_tx() operation.
>
> UAPSD is not supported in ath9k.I am saying this based on looking at
> init.c of ath9k

You first need to add support for uAPSD to mac80211 for drivers which
need this completely in software, and then add it to ath9k.

Luis

2011-02-02 10:56:46

by Mohammed Shafi

[permalink] [raw]
Subject: Re: HOW TO enable UAPSD and WMM on ath9k

On Wed, Feb 2, 2011 at 3:14 PM, Prigent Xavier MAPS LIS LANNION
<[email protected]> wrote:
>
> Hello ALL,
>
> I have an AR9280 on debian version 2.6.32. I tried to enable UAPSD and WMM on all queue but I can not. I install compat-
> wirelless and load ath9k.
> I saw with iw you can 't enable wmm or UAPSD. I remenbered with iwpriv you could do this but it does not work with this
> driver.
> I saw on" http://wireless.kernel.org/en/developers/Documentation/kerneldoc/include/net/mac80211.h" you could change WMM
> and UAPSD value.So I decide to make change in source and header code
> but it seems to be difficult and I does not understand all.
> * @IEEE80211_HW_SUPPORTS_UAPSD:
> * Hardware supports Unscheduled Automatic Power Save Delivery
> * (U-APSD) in managed mode. The mode is configured with
> * conf_tx() operation.

UAPSD is not supported in ath9k.I am saying this based on looking at
init.c of ath9k

>
> where is conf_tx() operation?
>
> Where I have to make change in order to enable WMM and UAPSD on all queue?
> Is there a CLI command?
>
> Thanks for your help,
>
> PX
> --
> 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
>