mt76: mt7615: apply cached RF data for DBDC
authorRyder Lee <ryder.lee@mediatek.com>
Wed, 20 Oct 2021 15:24:35 +0000 (23:24 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sat, 23 Oct 2021 11:23:44 +0000 (13:23 +0200)
commit03a25c01de3367e6380fd98a9cbb3452b221d50f
treee9a938c792c9743d0e053547a9758523a1b3587f
parent753453afacc0243bd45de45e34218a8d17493e8f
mt76: mt7615: apply cached RF data for DBDC

Band0 and band1 share the same hardware, so band0 will stop Tx/Rx when
band1 performs Rx calibration. cal_cache is introduced to solve such
corner cases by moving necessary datas from channel_switch to bootup.

Co-developed-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h