Author: nbd
Date: 2014-06-13 12:10:05 +0200 (Fri, 13 Jun 2014)
New Revision: 41180

Modified:
   trunk/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
Log:
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 <[email protected]>

Modified: trunk/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
===================================================================
--- trunk/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh 
2014-06-13 09:40:14 UTC (rev 41179)
+++ trunk/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh 
2014-06-13 10:10:05 UTC (rev 41180)
@@ -37,6 +37,12 @@
                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() {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to