diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-01-11 23:35:19 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-13 10:22:22 +0100 |
commit | 2b6284f5a8fa12e1b3241f0651859d4e45537eb5 (patch) | |
tree | 098756fa26b5c29ee9e644f9bf0eeebb7416d2e5 /package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch | |
parent | 544dee575d1d879172620b1c20712ea61a3e0c21 (diff) | |
download | upstream-2b6284f5a8fa12e1b3241f0651859d4e45537eb5.tar.gz upstream-2b6284f5a8fa12e1b3241f0651859d4e45537eb5.tar.bz2 upstream-2b6284f5a8fa12e1b3241f0651859d4e45537eb5.zip |
mac80211: fix broken spatial multiplexing defaults
Most mac80211 drivers leave the SMPS field in the HT capabilities
uninitialized (unfortunately defaults to static SMPS), which leads to
some devices limiting themselves to single-stream rates in some modes
(mostly mesh and IBSS).
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch')
-rw-r--r-- | package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch b/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch index 6e4962b09d..9e767ffa8d 100644 --- a/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch +++ b/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch @@ -1,6 +1,6 @@ --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h -@@ -2562,6 +2562,7 @@ struct cfg80211_nan_func { +@@ -2590,6 +2590,7 @@ struct cfg80211_nan_func { * (as advertised by the nl80211 feature flag.) * @get_tx_power: store the current TX power into the dbm variable; * return 0 if successful @@ -8,7 +8,7 @@ * * @set_wds_peer: set the WDS peer for a WDS interface * -@@ -2836,6 +2837,7 @@ struct cfg80211_ops { +@@ -2864,6 +2865,7 @@ struct cfg80211_ops { enum nl80211_tx_power_setting type, int mbm); int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev, int *dbm); |