Weedy <weedy2...@gmail.com> writes: > On Fri, Nov 25, 2016 at 5:16 AM, Toke Høiland-Jørgensen <t...@toke.dk> wrote: >> This adds a patch that introduces airtime fairness scheduling to ath9k, >> which can significantly improve network efficiency in mixed-rate >> environments. > ... >> ++ astats = &an->airtime_stats; >> ++ >> ++ len += scnprintf(buf + len, size - len, "RX: %u us\n", >> astats->rx_airtime); >> ++ len += scnprintf(buf + len, size - len, "TX: %u us\n", >> astats->tx_airtime); >> ++ len += scnprintf(buf + len, size - len, "Deficit: "); >> ++ for (i = 0; i < 4; i++) >> ++ len += scnprintf(buf+len, size - len, "%s: %lld us ", >> qname[i], an->airtime_deficit[i]); >> ++ if (len < size) >> ++ buf[len++] = '\n'; >> ++ >> ++ retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); >> ++ kfree(buf); >> ++ >> ++ return retval; >> ++} > > I'm supposed to have a > /sys/kernel/debug/ieee80211/phy0/netdev\:wlan0/stations/something/airtime > right?
Yeah, you should. Do you have /sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags ? > Should I have done anything else besides: > # curl https://patchwork.ozlabs.org/patch/699159/raw/ | git apply -v > # make V=s package/mac80211/{clean,install} [..] No, don't think so. Did you reload the right kernel modules after installing the updated kmod package? You'll need to reload at least the 'ath' and 'ath9k' modules... -Toke _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev