mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211/hostapd: add support for HT capa in case of IBSS/RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32830 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -4,6 +4,7 @@ wpa_supplicant_setup_vif() {
|
||||
local key="$key"
|
||||
local options="$3"
|
||||
local freq=""
|
||||
local ht="$5"
|
||||
local ap_scan=""
|
||||
local scan_ssid="1"
|
||||
[ -n "$4" ] && freq="frequency=$4"
|
||||
@@ -149,6 +150,9 @@ wpa_supplicant_setup_vif() {
|
||||
mrate=${mcast_rate:+"mcast_rate=$mcval"}
|
||||
}
|
||||
|
||||
local ht_str
|
||||
[ -n "$ht" ] && ht_str="htmode=$ht"
|
||||
|
||||
rm -rf /var/run/wpa_supplicant-$ifname
|
||||
cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
|
||||
ctrl_interface=/var/run/wpa_supplicant-$ifname
|
||||
@@ -165,6 +169,7 @@ network={
|
||||
$beacon_interval
|
||||
$brates
|
||||
$mrate
|
||||
$ht_str
|
||||
$ieee80211w
|
||||
$passphrase
|
||||
$pairwise
|
||||
|
||||
Reference in New Issue
Block a user