]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Add getting and setting of TXQ params for phy
authorToke Høiland-Jørgensen <toke@toke.dk>
Tue, 8 May 2018 11:22:11 +0000 (13:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 08:05:57 +0000 (10:05 +0200)
commit1eb2f5c9aaae764f545b54abcd9d8025df1a190a
tree84bf8df3616e0df89545e01d1d1defa36012073f
parent910792c0f373e371af8407c3a3df78a7373452ba
iw: Add getting and setting of TXQ params for phy

This adds commands to get and set the per-phy TXQ parameters for drivers
that use the intermediate TXQs. These are the settings and statistics that
are also available through /sys/kernel/debug/ieee80211/phyX/aqm.

Sample output:

$ iw phy phy0 get txq
Packet limit: 8192 pkts
Memory limit: 4194304 bytes
Quantum: 300 bytes
Number of queues: 4096
Backlog: 12 pkts
Memory usage: 52224 bytes
Packet limit overflows: 0
Memory limit overflows: 0
Hash collisions: 1

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
info.c
phy.c