mac80211: update to 2013-01-07, add several ath9k stability fixes
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 540-mac80211_optimize_mcs_rate_mask.patch
index adf8e1b721742c9c67025c3a33dfa05731dce0d9..08be8ce30e52aed50fe167cc7c51c6d53bc522da 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/mac80211/ieee80211_i.h
 +++ b/net/mac80211/ieee80211_i.h
-@@ -761,6 +761,8 @@ struct ieee80211_sub_if_data {
+@@ -764,6 +764,8 @@ struct ieee80211_sub_if_data {
  
        /* bitmap of allowed (non-MCS) rate indexes for rate control */
        u32 rc_rateidx_mask[IEEE80211_NUM_BANDS];
@@ -11,7 +11,7 @@
        union {
 --- a/net/mac80211/cfg.c
 +++ b/net/mac80211/cfg.c
-@@ -2300,9 +2300,20 @@ static int ieee80211_set_bitrate_mask(st
+@@ -2328,9 +2328,20 @@ static int ieee80211_set_bitrate_mask(st
        }
  
        for (i = 0; i < IEEE80211_NUM_BANDS; i++) {
@@ -34,7 +34,7 @@
        return 0;
 --- a/include/net/mac80211.h
 +++ b/include/net/mac80211.h
-@@ -3968,7 +3968,7 @@ void ieee80211_send_bar(struct ieee80211
+@@ -3985,7 +3985,7 @@ void ieee80211_send_bar(struct ieee80211
   *    (deprecated; this will be removed once drivers get updated to use
   *    rate_idx_mask)
   * @rate_idx_mask: user-requested (legacy) rate mask
@@ -43,7 +43,7 @@
   * @bss: whether this frame is sent out in AP or IBSS mode
   */
  struct ieee80211_tx_rate_control {
-@@ -3980,7 +3980,7 @@ struct ieee80211_tx_rate_control {
+@@ -3997,7 +3997,7 @@ struct ieee80211_tx_rate_control {
        bool rts, short_preamble;
        u8 max_rate_idx;
        u32 rate_idx_mask;