]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: add multiple wiphy support to the rx path
authorFelix Fietkau <nbd@nbd.name>
Wed, 30 Oct 2019 16:50:57 +0000 (17:50 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:05:59 +0000 (10:05 +0100)
commit4d7b6793992af6ec6e7993c962ef99b5350246ad
tree93a8e65e4c2f464913df9316dddcd08de8cfe1c8
parent2109d6b2443f888b4f884912ac299d3db4e123c9
mt76: mt7615: add multiple wiphy support to the rx path

Program the RMAC CHFREQ registers to properly indicate the band that the
frames are received on.
Add some sanity checks to the programmed values, because the firmware
programs these registers differently

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