cfg80211/mac80211: Use more generic bitrate mask for rate control
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / mac80211 / ieee80211_i.h
index a27921ee6e637342c64506c7df1cfc352a1e650f..3e4ac3f308576f932621bd377a1bf9caa7e8a970 100644 (file)
@@ -494,8 +494,8 @@ struct ieee80211_sub_if_data {
         */
        struct ieee80211_if_ap *bss;
 
-       int force_unicast_rateidx; /* forced TX rateidx for unicast frames */
-       int max_ratectrl_rateidx; /* max TX rateidx for rate control */
+       /* bitmap of allowed (non-MCS) rate indexes for rate control */
+       u32 rc_rateidx_mask[IEEE80211_NUM_BANDS];
 
        union {
                struct ieee80211_if_ap ap;