Hi Lukasz, On 21.02.25 16:35, lukasz.michalski@xxxxxxx wrote:
Currently enabling background radar in hostapd results in unreachable AP. There is because of mistake in enabling background radar implementation for mt7915 mcu driver - 3rd and 4th parameters are swapped. mt76_connac_mcu_rdd_cmd requires rx_sel as a fourth parameter but this parameter is provided as third argument. Fix was tested on mt7981 and background radar works now correctly. Other mt76 drivers do not have similar issues. The issue was also described here: https://github.com/openwrt/mt76/issues/958 Signed-off-by: Lukasz Michalski <lukasz.michalski@xxxxxxx>
MediaTek informed me that MT7981 does not actually have background radar detection in hardware, so this patch can't be merged. We should instead change the driver code to refuse attempts to enable background radar detection on this chip.
- Felix