summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorTamizh chelvam <tamizhr@codeaurora.org>2020-01-20 08:51:23 +0100
committerJohannes Berg <johannes.berg@intel.com>2020-02-24 13:48:54 +0100
commit6a21d16c4db08398c737e0ffd03e4eca7131ac78 (patch)
tree3c50f1e2a874160f0b5de9552bd0026763e2f962 /include/net/cfg80211.h
parentnl80211: modify TID-config API (diff)
downloadlinux-6a21d16c4db08398c737e0ffd03e4eca7131ac78.tar.xz
linux-6a21d16c4db08398c737e0ffd03e4eca7131ac78.zip
nl80211: Add support to configure TID specific retry configuration
This patch adds support to configure per TID retry configuration through the NL80211_TID_CONFIG_ATTR_RETRY_SHORT and NL80211_TID_CONFIG_ATTR_RETRY_LONG attributes. This TID specific retry configuration will have more precedence than phy level configuration. Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org> Link: https://lore.kernel.org/r/1579506687-18296-3-git-send-email-tamizhr@codeaurora.org [rebase completely on top of my previous API changes] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index bbe4acef729d..98981d1a026b 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -634,12 +634,15 @@ struct cfg80211_chan_def {
* @mask: bitmap of attributes indicating which parameter changed,
* similar to &nl80211_tid_config_supp.
* @noack: noack configuration value for the TID
+ * @retry_long: retry count value
+ * @retry_short: retry count value
*/
struct cfg80211_tid_cfg {
bool config_override;
u8 tids;
u32 mask;
enum nl80211_tid_config noack;
+ u8 retry_long, retry_short;
};
/**
@@ -4644,6 +4647,8 @@ struct wiphy_iftype_akm_suites {
* supported by the driver for each vif
* @tid_config_support.peer: bitmap of attributes (configurations)
* supported by the driver for each peer
+ * @tid_config_support.max_retry: maximum supported retry count for
+ * long/short retry configuration
*/
struct wiphy {
/* assign these fields before you register the wiphy */
@@ -4777,8 +4782,11 @@ struct wiphy {
struct {
u64 peer, vif;
+ u8 max_retry;
} tid_config_support;
+ u8 max_data_retry_count;
+
char priv[0] __aligned(NETDEV_ALIGN);
};