From: Felix Fietkau Date: Wed, 27 Oct 2010 15:04:29 +0000 (+0000) Subject: mac80211: set GF flag in hostapd config if supported X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=e0f2e05b8f9811a350da8b7e25b350f1f30fc52f;hp=8241764f874358c83a832cc9ebed75c7207eac88 mac80211: set GF flag in hostapd config if supported Signed-off-by: Helmut Schaa SVN-Revision: 23673 --- diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 2f8fedf24c..46c8c2af4c 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -425,6 +425,7 @@ detect_mac80211() { list=" list ht_capab" [ "$(($ht_cap & 1))" -eq 1 ] && append ht_capab "$list LDPC" "$N" + [ "$(($ht_cap & 16))" -eq 16 ] && append ht_capab "$list GF" "$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"