From: Tamizh chelvam <tamizhr@xxxxxxxxxxxxxx> Add infrastructure to support per TID configurations like noack policy, retry count, AMPDU control(disable/enable), RTSCTS control(enable/disable) and TX rate mask configurations. This will be useful for the driver which can supports data TID specific configuration rather than phy level configurations. Here NL80211_CMD_SET_TID_CONFIG added to support this operation by accepting TID configuration. This command can accept STA mac addreess to make the configuration station specific rather than applying to all the connected stations to the netdev. And this nested command configuration can accept multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (6): nl80211: Add NL command to support TID speicific configurations nl80211: Add support to configure TID specific retry configuration nl80211: Add support to configure TID specific AMPDU configuration nl80211: Add support to configure TID specific RTSCTS configuration nl80211: Add support to configure TID specific txrate configuration mac80211: Add api to support configuring TID specific configuration include/net/cfg80211.h | 65 ++++++++++ include/net/mac80211.h | 10 ++ include/uapi/linux/nl80211.h | 140 +++++++++++++++++++++ net/mac80211/cfg.c | 56 +++++++++ net/mac80211/driver-ops.h | 27 ++++ net/wireless/nl80211.c | 287 +++++++++++++++++++++++++++++++++++++++--- net/wireless/rdev-ops.h | 24 ++++ net/wireless/trace.h | 37 ++++++ 8 files changed, 629 insertions(+), 17 deletions(-) v10: * Addressed Sergey comments. v9: * Modified to accept multiple TIDs. * Splitted retry_short and retry_long as separate parameter * Introduced new api to reset tid config v8: * Fixed enum typecast warning. v7: * Fixed compilation error and removed tid config variables from mac80211 v6: * Addressed Johannes comments. v5: * Fixed possible memleak of 'tid_conf' in nl80211_set_tid_config. v4: * Fixed kbuild warnings. v3: * Modified "nl80211: Add netlink attribute to configure TID specific tx rate" patch to accept multiple TX rate configuration at a time. * Modified noack and ampdu variable data type to int in "mac80211: Add api to support configuring TID specific configuration" patch to store default configuration. * Modified "ath10k: Add new api to support TID specific configuration" patch to handle default values for noack and ampdu. And added sta pointer sanity check in ath10k_mac_tid_bitrate_config function. * Fixed "ath10k: Add extended TID configuration support" wmi command parameters assigned part. v2: * Added support to accept multiple TID configuration * Added support to configure TX rate and RTSCTS control -- 1.7.9.5