mirror of https://github.com/hak5/openwrt-owl.git
madwifi: allow disabling of hardware ibss merges by setting the wifi-iface option sw_merge, which does the tsf sync in software instead. used to work around hardware issues with hw merges (ATIM window gets screwed up)
SVN-Revision: 12993owl
parent
6e9522d27e
commit
f3e2fb3da0
|
@ -85,7 +85,10 @@ enable_atheros() {
|
||||||
config_get eap_type "$vif" eap_type
|
config_get eap_type "$vif" eap_type
|
||||||
config_get mode "$vif" mode
|
config_get mode "$vif" mode
|
||||||
|
|
||||||
[ "$mode" = sta ] && config_get nosbeacon "$device" nosbeacon
|
case "$mode" in
|
||||||
|
sta) config_get nosbeacon "$device" nosbeacon;;
|
||||||
|
adhoc) config_get nosbeacon "$vif" sw_merge;;
|
||||||
|
esac
|
||||||
|
|
||||||
config_get ifname "$vif" ifname
|
config_get ifname "$vif" ifname
|
||||||
ifname=$(wlanconfig "$ifname" create wlandev "$device" wlanmode "$mode" ${nosbeacon:+nosbeacon})
|
ifname=$(wlanconfig "$ifname" create wlandev "$device" wlanmode "$mode" ${nosbeacon:+nosbeacon})
|
||||||
|
|
Loading…
Reference in New Issue