mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
wifi-ax: disable encap offloading in WDS / STA mode
Fixes: WIFI-9305 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -730,6 +730,7 @@ mac80211_prepare_vif() {
|
||||
[ "$wds" -gt 0 ] && wdsflag="4addr on"
|
||||
mac80211_iw_interface_add "$phy" "$ifname" managed "$wdsflag" || return
|
||||
if [ "$wds" -gt 0 ]; then
|
||||
echo 1 > /sys/kernel/debug/ieee80211/$phy/netdev\:$ifname/disable_offload
|
||||
iw "$ifname" set 4addr on
|
||||
else
|
||||
iw "$ifname" set 4addr off
|
||||
|
||||
Reference in New Issue
Block a user