1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:27:42 +02:00

mac80211: configure HT IBSS through uci

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27279 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-06-24 19:53:31 +00:00
parent 2c2b0133d1
commit df75fe9f17

View File

@ -457,7 +457,13 @@ enable_mac80211() {
[ "$mcsub" -gt 0 ] && mcval="$mcval.$mcsub" [ "$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 \ ${fixed:+fixed-freq} $bssid \
${beacon_int:+beacon-interval $beacon_int} \ ${beacon_int:+beacon-interval $beacon_int} \
${brstr:+basic-rates $brstr} \ ${brstr:+basic-rates $brstr} \