]> git.ipfire.org Git - thirdparty/iw.git/commit - interface.c
iw: add TID specific configuration command
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 24 Apr 2020 11:29:05 +0000 (14:29 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 26 May 2020 12:46:10 +0000 (14:46 +0200)
commit71ad41cd3d09704f7193372af7eca3f1028b0fb5
tree17ea66465409a42312a88eb2b587880741f025f7
parentd2a29c0d72a03a8206e1b262ee698672ddc5885f
iw: add TID specific configuration command

Use command NL80211_CMD_SET_TID_CONFIG to perform per-node TID specific
configuration. If peer is not specified, then configuration is applied
to all the peers. Currently kernel supports configuration of the
following parameters:
- short/long retry
- mpdu/msdu aggregation on/off
- rts/cts on/off
- noack on/off

Examples:
Apply configuration for specific peer and TIDs:
$ iw dev wlan0 set tidconf peer 1:2:3:4:5:6 tids 0x3 ampdu off tids 0x2 sretry 10 lretry 100
$ iw dev wlan0 set tidconf peer 1:2:3:4:5:6 tids 0x1 override ampdu off amsdu off

Apply configuration for all peers and all TIDs:
$ iw dev wlan0 set tidconf tids 0xff ampdu off amsdu off sretry 10 lretry 100 noack off

Apply configuration for all peers and specific TIDs:
$ iw dev wlan0 set tidconf peer 0xff:0xff:0xff:0xff:0xff:0xff tids 0x1 ampdu off amsdu off

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20200424112905.26770-6-sergey.matyukevich.os@quantenna.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
interface.c