wifi-scripts: fix fullmac phy detection
authorFelix Fietkau <nbd@nbd.name>
Fri, 9 Feb 2024 11:18:57 +0000 (12:18 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 9 Feb 2024 11:18:59 +0000 (12:18 +0100)
commit2b4941a6f16fa1c045cb2f4a8fc09adc64fecd63
tree64eeff9364aa622a5398c0121c37f5d623b876b0
parent3f96246e97215c4c76ca407a8bca8f3f5de32e1c
wifi-scripts: fix fullmac phy detection

Checking for AP_VLAN misdetects ath10k-ath12k as fullmac, because of software
crypto limitations. Check for monitor mode support instead, which is more
reliable.

Fixes: https://github.com/openwrt/openwrt/issues/14575
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files/usr/share/hostap/common.uc