Skip to contentSkip to conversation

HOW TO enable UAPSD and WMM on ath9k

DISCUSSION Prigent Xavier MAPS LIS LANNION 4 participants 4 messages Feb 2, 2011 – Dec 30, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 14 lines · Prigent Xavier MAPS LIS LANNION

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

Quoted 14 lines

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

#2 lore raw
Quoted 17 lines · Mohammed Shafi
Quoted 14 lines · Prigent Xavier MAPS LIS LANNION

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.

Quoted 2 lines

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

#3 lore raw

Hello,

You said:

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

Sorry, but I don't understand. What do you add to mac80211.h? What do you add to ath9k?

Can you explain step by step how to enable UAPSD on ATH9k or other one driver please?

I use iw like userspace. It is not possible to define uapsd parameter in order to set or get value like iwpriv.

This case will help many people who want to add parameter because it very difficult fo find something.

Thanks a lot,

Jean