summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-28 18:29:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-28 18:29:09 +0000
commit702bf709d0b5c913680fbe49a2ac625e7e129152 (patch)
treeba1fad370ca5a39f277c65f9d21f458bd5f587c0 /package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
parentaef9e61b32ef2ff005c13347c893da5f1ed8dd67 (diff)
downloadmtk-20170518-702bf709d0b5c913680fbe49a2ac625e7e129152.zip
mtk-20170518-702bf709d0b5c913680fbe49a2ac625e7e129152.tar.gz
mtk-20170518-702bf709d0b5c913680fbe49a2ac625e7e129152.tar.bz2
mac80211: fix antenna gain and add support for user-defined antenna gain configuration
SVN-Revision: 33585
Diffstat (limited to 'package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch')
-rw-r--r--package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch b/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
index 5f17c41..01377fe 100644
--- a/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
+++ b/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
@@ -11,7 +11,7 @@
union {
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
-@@ -2149,9 +2149,20 @@ static int ieee80211_set_bitrate_mask(st
+@@ -2162,9 +2162,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
-@@ -3719,7 +3719,7 @@ void ieee80211_send_bar(struct ieee80211
+@@ -3721,7 +3721,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 {
-@@ -3731,7 +3731,7 @@ struct ieee80211_tx_rate_control {
+@@ -3733,7 +3733,7 @@ struct ieee80211_tx_rate_control {
bool rts, short_preamble;
u8 max_rate_idx;
u32 rate_idx_mask;