diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-06 23:09:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-06 23:09:43 +0000 |
commit | b9fe1e1b45db570cb979238b63cdcbf3324efbd3 (patch) | |
tree | 9ec2697a17ba8f62017d7d3c1b69ef1ef9675915 /package/kernel/mac80211/files/lib | |
parent | 9e72ab22a07aa358b8ffe4ef552b0077000e3426 (diff) | |
download | master-187ad058-b9fe1e1b45db570cb979238b63cdcbf3324efbd3.tar.gz master-187ad058-b9fe1e1b45db570cb979238b63cdcbf3324efbd3.tar.bz2 master-187ad058-b9fe1e1b45db570cb979238b63cdcbf3324efbd3.zip |
hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45917 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/files/lib')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 7 |
1 files changed, 5 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 4f680a41f5..c9bc3d610d 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -21,7 +21,7 @@ drv_mac80211_init_device_config() { config_add_string hwmode config_add_int beacon_int chanbw frag rts config_add_int rxantenna txantenna antenna_gain txpower distance - config_add_boolean noscan + config_add_boolean noscan ht_coex config_add_array ht_capab config_add_boolean \ rxldpc \ @@ -90,7 +90,7 @@ mac80211_hostapd_setup_base() { [ "$auto_channel" -gt 0 ] && channel=acs_survey - json_get_vars noscan + json_get_vars noscan ht_coex json_get_values ht_capab_list ht_capab ieee80211n=1 @@ -127,6 +127,9 @@ mac80211_hostapd_setup_base() { [ -n "$ieee80211n" ] && { append base_cfg "ieee80211n=1" "$N" + set_default ht_coex 0 + append base_cfg "ht_coex=$ht_coex" "$N" + json_get_vars \ ldpc:1 \ greenfield:0 \ |