summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorShaul Triebitz <shaul.triebitz@intel.com>2022-08-02 15:22:42 +0300
committerJohannes Berg <johannes.berg@intel.com>2022-08-25 10:40:55 +0200
commit9d2bb84d54a40361c7008b33a60dc24f78724746 (patch)
treec56bb57e7020c507b6300e632a5be2b40a7b7839 /include/net/cfg80211.h
parentd1efad17381bada239a604bec1008572a2607316 (diff)
downloadlinux-9d2bb84d54a40361c7008b33a60dc24f78724746.tar.bz2
wifi: cfg80211: add link id to txq params
The Tx queue parameters are per link, so add the link ID from nl80211 parameters to the API. While at it, lock the wdev when calling into the driver so it (and we) can check the link ID appropriately. Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 908d58393484..1d393e09a632 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2316,6 +2316,7 @@ struct ocb_setup {
* @cwmax: Maximum contention window [a value of the form 2^n-1 in the range
* 1..32767]
* @aifs: Arbitration interframe space [0..255]
+ * @link_id: link_id or -1 for non-MLD
*/
struct ieee80211_txq_params {
enum nl80211_ac ac;
@@ -2323,6 +2324,7 @@ struct ieee80211_txq_params {
u16 cwmin;
u16 cwmax;
u8 aifs;
+ int link_id;
};
/**