OSDN Git Service

cfg80211: fix mask type in cfg80211_tid_cfg structure
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 24 Apr 2020 11:29:01 +0000 (14:29 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 27 May 2020 08:02:00 +0000 (10:02 +0200)
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>
Link: https://lore.kernel.org/r/20200424112905.26770-2-sergey.matyukevich.os@quantenna.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h

index 8b6d5c5..e71d4f6 100644 (file)
@@ -646,7 +646,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;