diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-02 22:03:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-05-02 22:03:44 +0000 |
commit | 686347eb5597b1c53e9a5b77c9769dfbd8366be2 (patch) | |
tree | 175beca4b06fe7f2d59e18e2b0ff80088f8958ed /package | |
parent | 7b4aa865605a9ec637402f301c5f8a18f8b288f8 (diff) | |
download | upstream-686347eb5597b1c53e9a5b77c9769dfbd8366be2.tar.gz upstream-686347eb5597b1c53e9a5b77c9769dfbd8366be2.tar.bz2 upstream-686347eb5597b1c53e9a5b77c9769dfbd8366be2.zip |
mac80211: enable rx/tx stbc by default if supported
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21319 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 5991b4c16a..c871cbe732 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -416,6 +416,10 @@ detect_mac80211() { [ "$(($ht_cap & 1))" -eq 1 ] && append ht_capab "$list LDPC" "$N" [ "$(($ht_cap & 32))" -eq 32 ] && append ht_capab "$list SHORT-GI-20" "$N" [ "$(($ht_cap & 64))" -eq 64 ] && append ht_capab "$list SHORT-GI-40" "$N" + [ "$(($ht_cap & 128))" -eq 128 ] && append ht_capab "$list TX-STBC" "$N" + [ "$(($ht_cap & 768))" -eq 256 ] && append ht_capab "$list RX-STBC1" "$N" + [ "$(($ht_cap & 768))" -eq 512 ] && append ht_capab "$list RX-STBC12" "$N" + [ "$(($ht_cap & 768))" -eq 768 ] && append ht_capab "$list RX-STBC123" "$N" [ "$(($ht_cap & 4096))" -eq 4096 ] && append ht_capab "$list DSSS_CCK-40" "$N" } iw phy "$dev" info | grep -q '2412 MHz' || { mode_band="a"; channel="36"; } |