aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/files
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
commitdfcb7cbb0c2c326f82b4c6d4256f50317b2f531e (patch)
tree5a11dd1ac6d09c037da04961e0079b56e96417de /package/kernel/mac80211/files
parent3635a1d412bb67a3b9004673ca57d34739ee42da (diff)
downloadupstream-dfcb7cbb0c2c326f82b4c6d4256f50317b2f531e.tar.gz
upstream-dfcb7cbb0c2c326f82b4c6d4256f50317b2f531e.tar.bz2
upstream-dfcb7cbb0c2c326f82b4c6d4256f50317b2f531e.zip
mac80211: fix stbc configuration
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40783 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/files')
-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 e26d9dde98..3bd912dc0a 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