aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-13 10:10:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-13 10:10:05 +0000
commitdeb568f03c3e3f616b7084b343a3f2e272ac742a (patch)
tree1a5a1e881df08757912e02515803213867a80e99 /package/kernel/mac80211/files
parent40502cb50364cdc8aaa4f7a7a53f39e89c5602af (diff)
downloadupstream-deb568f03c3e3f616b7084b343a3f2e272ac742a.tar.gz
upstream-deb568f03c3e3f616b7084b343a3f2e272ac742a.tar.bz2
upstream-deb568f03c3e3f616b7084b343a3f2e272ac742a.zip
mac80211: fix disabling of 802.11n features
r40682 ("mac80211: clean up ht capability handling, drop the use of the ht_capab list, use individual variables instead") removed the ht_capab list and replaced it with optional variables to disable features for a phy. But these variables weren't added in drv_mac80211_init_device_config and thus didn't make any difference when modifying /etc/config/wireless. Signed-off-by: Sven Eckelmann <sven@narfation.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41180 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/files')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index b19b928cea..f3b81d6f1a 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -37,6 +37,12 @@ drv_mac80211_init_device_config() {
rx_antenna_pattern \
tx_antenna_pattern
config_add_int vht_max_a_mpdu_len_exp vht_max_mpdu vht_link_adapt vht160 rx_stbc tx_stbc
+ config_add_boolean \
+ ldpc \
+ greenfield \
+ short_gi_20 \
+ short_gi_40 \
+ dsss_cck_40
}
drv_mac80211_init_iface_config() {