summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-19 22:19:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-19 22:19:07 +0000
commit2ddcd59f161defbb0529b194d16962c4a93b7b0a (patch)
tree8d4f721ff9ea0cb0f4a76cd6dac409e896605dd7 /package/kernel/mac80211/files/lib
parent239b3c09c9ff902e21a761ba453d4ae6293832ad (diff)
downloadmtk-20170518-2ddcd59f161defbb0529b194d16962c4a93b7b0a.zip
mtk-20170518-2ddcd59f161defbb0529b194d16962c4a93b7b0a.tar.gz
mtk-20170518-2ddcd59f161defbb0529b194d16962c4a93b7b0a.tar.bz2
mac80211: fix stbc configuration
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40783
Diffstat (limited to 'package/kernel/mac80211/files/lib')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index e26d9dd..3bd912d 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -36,7 +36,7 @@ drv_mac80211_init_device_config() {
htc_vht \
rx_antenna_pattern \
tx_antenna_pattern
- config_add_int vht_max_mpdu vht_max_rx_stbc vht_link_adapt vht160
+ config_add_int vht_max_mpdu vht_link_adapt vht160 rx_stbc tx_stbc
}
drv_mac80211_init_iface_config() {
@@ -142,7 +142,7 @@ mac80211_hostapd_setup_base() {
GF:0x10::$greenfield \
SHORT-GI-20:0x20::$short_gi_20 \
SHORT-GI-40:0x40::$short_gi_40 \
- TX-STBC:0x80::$max_tx_stbc \
+ TX-STBC:0x80::$tx_stbc \
RX-STBC1:0x300:0x100:1 \
RX-STBC12:0x300:0x200:1 \
RX-STBC123:0x300:0x300:1 \
@@ -204,6 +204,7 @@ mac80211_hostapd_setup_base() {
tx_antenna_pattern:1 \
vht_max_mpdu:11454 \
rx_stbc:4 \
+ tx_stbc:4 \
vht_link_adapt:3 \
vht160:2