[SOLVED] How to control Airtime Fairness?

Is there a way to check\enable\disable it?

check status -> cat /sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags
7 means it's on, 0 it's off.
So to disable -> echo 0 > /sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags
and enable -> echo 7 > /sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags

Is AIrTime enabled in master branch?
I use custom build with Fast Path for my TL-WDR3600

cat: can't open '/sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags': No such file or directory.

I know this is an old thread, but still helpful info. try:
/sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags
/sys/kernel/debug/ieee80211/phy1/ath9k/airtime_flags
/sys/kernel/debug/ieee80211/phy0/ath10k/airtime_flags
/sys/kernel/debug/ieee80211/phy1/ath10k/airtime_flags

Thanks! These commands don't work if Debug is stripped out. It works if debug is present.

Can you tell us how to enable Debug mode, so that we can see airtime logs and verify how it is working under the hood ?

Search for any instance of airtime within Sys directory.

grep -rl "airtime" /sys
  • r as in "recursive"
  • l as in "list"

Increase hostapd log level

CONFIG_WPA_MSG_MIN_PRIORITY=1 wireless.radio0.log_level=1 wireless.radio1.log_level=1