wifi: mt76: mt7921: support 5.9/6GHz channel config in acpi
authorRong Yan <rong.yan@mediatek.com>
Sun, 1 Oct 2023 15:02:05 +0000 (23:02 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Dec 2023 17:50:19 +0000 (18:50 +0100)
commitce18572b7b5933ae3f97ea201d03463c320f0956
treedefb5b1875d9d740f72a3469e3930656888caf6a
parent14cdeaf9504cd37589e8acfedf644d32fb29a429
wifi: mt76: mt7921: support 5.9/6GHz channel config in acpi

The mtcl table, configured by platform vendor, provides regulatory
information for 5.9/6 GHz channels. mt792x should work on
corresponding channels supported by mtcl. This patch would parse
the settings in mtcl table and apply the result into chip side.

Signed-off-by: Rong Yan <rong.yan@mediatek.com>
Co-developed-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c
drivers/net/wireless/mediatek/mt76/mt792x.h
drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c
drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h