]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: add multiple wiphy support to the dfs support code
authorFelix Fietkau <nbd@nbd.name>
Wed, 30 Oct 2019 12:11:27 +0000 (13:11 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:05:58 +0000 (10:05 +0100)
commitab0b9bc5d4b3995b9ac0b8e9cdd539c287e498b7
tree6ec3e7230f5b6df6f093434b436f5c2c6a76b3b8
parent855397d9a84882bf673dc8f429d84da565e31d60
mt76: mt7615: add multiple wiphy support to the dfs support code

There are two DFS detectors on the chip. When using 160 MHz channel bandwidth
(not supported in dual-wiphy mode), both are used. Otherwise, one detector is
used per wiphy.
Rework the code to start/stop them separately per phy and to indicate the
radar event on the right phy based on the detector index

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/init.c
drivers/net/wireless/mediatek/mt76/mt7615/mac.c
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
drivers/net/wireless/mediatek/mt76/mt7615/mcu.h
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h