diff mbox series

[RFC,1/4] cfg80211: fix mask type in cfg80211_tid_cfg structure

Message ID 20200420113437.16998-2-sergey.matyukevich.os@quantenna.com
State New
Headers show
Series [RFC,1/4] cfg80211: fix mask type in cfg80211_tid_cfg structure | expand

Commit Message

Sergey Matyukevich April 20, 2020, 11:34 a.m. UTC
TIDs mask type is u64 in wiphy settings and nl80211 processing, see:
- wiphy TIDs mask sizes in tid_config_support structure
- prepare driver command in parse_tid_conf

Use the same type for TIDs mask in cfg80211_tid_cfg.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
---
 include/net/cfg80211.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 70e48f66dac8..6ff2646ed5fa 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -642,7 +642,7 @@  struct cfg80211_chan_def {
 struct cfg80211_tid_cfg {
 	bool config_override;
 	u8 tids;
-	u32 mask;
+	u64 mask;
 	enum nl80211_tid_config noack;
 	u8 retry_long, retry_short;
 	enum nl80211_tid_config ampdu;