diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:12:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:12:08 +0000 |
commit | 824b82a20184ec1ecda1c5c541738644d45b4c02 (patch) | |
tree | b21c33ac3333893c603702480609f65b6884b621 /package | |
parent | fcd9c87dd9c90a96640c1b3820dcfe20ca5956a8 (diff) | |
download | master-187ad058-824b82a20184ec1ecda1c5c541738644d45b4c02.tar.gz master-187ad058-824b82a20184ec1ecda1c5c541738644d45b4c02.tar.bz2 master-187ad058-824b82a20184ec1ecda1c5c541738644d45b4c02.zip |
mac80211: disable a broken feature that was merged with the last update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47402 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/patches/314-mac80211-don-t-advertise-NL80211_FEATURE_FULL_AP_CLI.patch | 28 | ||||
-rw-r--r-- | package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch | 2 |
2 files changed, 29 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/314-mac80211-don-t-advertise-NL80211_FEATURE_FULL_AP_CLI.patch b/package/kernel/mac80211/patches/314-mac80211-don-t-advertise-NL80211_FEATURE_FULL_AP_CLI.patch new file mode 100644 index 0000000000..7f6e9c89bd --- /dev/null +++ b/package/kernel/mac80211/patches/314-mac80211-don-t-advertise-NL80211_FEATURE_FULL_AP_CLI.patch @@ -0,0 +1,28 @@ +From: Johannes Berg <johannes.berg@intel.com> +Date: Wed, 4 Nov 2015 14:09:02 +0100 +Subject: [PATCH] mac80211: don't advertise + NL80211_FEATURE_FULL_AP_CLIENT_STATE + +For now, this feature doesn't actually work. To avoid shipping a +kernel that has it enabled but where it can't be used disable it +for now - we can re-enable it when it's fixed. + +This partially reverts 44674d9c2267 ("mac80211: advertise support +for full station state in AP mode"). + +Cc: Ayala Beker <ayala.beker@intel.com> +Signed-off-by: Johannes Berg <johannes.berg@intel.com> +--- + +--- a/net/mac80211/main.c ++++ b/net/mac80211/main.c +@@ -541,8 +541,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_ + NL80211_FEATURE_HT_IBSS | + NL80211_FEATURE_VIF_TXPOWER | + NL80211_FEATURE_MAC_ON_CREATE | +- NL80211_FEATURE_USERSPACE_MPM | +- NL80211_FEATURE_FULL_AP_CLIENT_STATE; ++ NL80211_FEATURE_USERSPACE_MPM; + + if (!ops->hw_scan) + wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN | 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 be7bd58a0e..8bbac4d90e 100644 --- a/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch +++ b/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch @@ -119,7 +119,7 @@ if (local->hw.conf.power_level != power) { changed |= IEEE80211_CONF_CHANGE_POWER; local->hw.conf.power_level = power; -@@ -580,6 +586,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_ +@@ -579,6 +585,7 @@ struct ieee80211_hw *ieee80211_alloc_hw_ IEEE80211_RADIOTAP_MCS_HAVE_BW; local->hw.radiotap_vht_details = IEEE80211_RADIOTAP_VHT_KNOWN_GI | IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH; |