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:20:48 +0000 (12:20 +0100)
commitb79583c97513bebcea1e4a47792b0cf112dcbd68
tree9a3624e15549346b6f73c0308eea37897b36f69e
parent9e41117953e31ffe355416e962ecf0e000dc594d
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>
(cherry picked from commit 2b4941a6f16fa1c045cb2f4a8fc09adc64fecd63)
package/network/services/hostapd/files/common.uc