qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
428 stars 182 forks source link

advanced tuning options support #109

Closed psyborg55 closed 6 years ago

psyborg55 commented 7 years ago

Hi

I've tried setting one of the advanced tuning options under wifi-iface section but it did not do anything.

The option bursting '1' had no effect on throughput. I suspect other similar options are also not supported yet such as compression, fast frames, xr etc.

Is there any plan to add basic support for these features or is there some patchwork for ath9k that could be our starting point? I've read on openwrt forums some users reported these features worked with ath9k.

update:

this is what i managed to find: http://www.spinics.net/lists/linux-wireless/msg64903.html

but it looks like it is insufficient. also same patch on ozlabs listing https://patchwork.ozlabs.org/patch/87556/ has 46 additions while this one has only 14 adds

olerem commented 7 years ago

Hi, No there are no plans to do this. Patches are welcome ;)

psyborg55 commented 7 years ago

And why not? Seems like there is some code but related to 802.11n mode. What about legacy mode?

olerem commented 7 years ago

No time.

erikarn commented 7 years ago

hiya,

bursting should be easy to do - it's just WME configuration.

Fast-frames shouldn't be hard - but it needs ath9k/mac80211.

There's no compression support in 11n chips, sorry.

There's no official XR rates support in 11n chips, sorry

-a

On 1 November 2016 at 16:33, psyborg55 notifications@github.com wrote:

Hi

I've tried setting one of the advanced tuning options under wifi-iface section but it did not do anything.

The option bursting '1' had no effect on throughput. I suspect other similar options are also not supported yet such as compression, fast frames, xr etc.

Is there any plan to add basic support for these features or is there some patchwork for ath9k that could be our starting point? I've read on openwrt forums some users reported these features worked with ath9k.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/qca/open-ath9k-htc-firmware/issues/109, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7ccAGiEdXdNHd-qwHG3ZlyaHMMSGks5q58xYgaJpZM4KmtHp .

psyborg55 commented 7 years ago

Hi

thanks for information

compression is not really important since it does not help always, as i've read it can even decrease performance.

XR from what i've found was never really used, for clarification would be nice to know what it really translates to, eXtended range or as somebody claims eXtended Receive, +20dB receiver sensitivity improvement

i've tried enabling fast frames on a madwifi device, no improvement in throughput when using ath9k_htc card. so i guess it's not of a big importance.

but enabling burst on the same device and using same ath9k_htc card managed to get increased throughput from ~20Mbps to ~23.5Mbps, of course in one direction only.

does this require simple code change like in the above example with ath6kl driver or there is more code required to support this?

this is where i've found info on bursting with ath9k: https://forum.openwrt.org/viewtopic.php?id=23849 seems like only thing wrong is misbelief compression helped too, while it was only bursting that helped.

erikarn commented 7 years ago

The mac80211 layer needs to assemble fast frames and hand them frame at a time down to the firmware. The firmware deals with 802.11 frames.

-adrian

psyborg55 commented 7 years ago

another thing found not to work is channel bandwidth 5/10 MHz. this htc driver is a complete joke..

olerem commented 7 years ago

sore.. here is source, fix it.

psyborg55 commented 6 years ago

bursting works, ani works, dynack works, 5/10 channel width added ->https://github.com/psyborg55/linux/commit/9c9820bce1bf773cc9f6c403a8cc7fe53b1b4884

closing