mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-03-02 03:35:23 +00:00
mac80211: configure HT IBSS through uci
SVN-Revision: 27279
This commit is contained in:
parent
9a790eb3df
commit
e087e678af
@ -457,7 +457,13 @@ enable_mac80211() {
|
||||
[ "$mcsub" -gt 0 ] && mcval="$mcval.$mcsub"
|
||||
}
|
||||
|
||||
iw dev "$ifname" ibss join "$ssid" $freq \
|
||||
config_get htmode "$device" htmode
|
||||
case "$htmode" in
|
||||
HT20|HT40+|HT40-) ;;
|
||||
*) htmode= ;;
|
||||
esac
|
||||
|
||||
iw dev "$ifname" ibss join "$ssid" $freq $htmode \
|
||||
${fixed:+fixed-freq} $bssid \
|
||||
${beacon_int:+beacon-interval $beacon_int} \
|
||||
${brstr:+basic-rates $brstr} \
|
||||
|
Loading…
Reference in New Issue
Block a user