rtw88: 8821c: support RFE type4 wifi NIC
authorGuo-Feng Fan <vincent_fann@realtek.com>
Wed, 22 Sep 2021 02:36:36 +0000 (10:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Jul 2022 14:41:17 +0000 (16:41 +0200)
commitd52f1c58882477e1ed7dfb99c95fa3fd56936035
tree690b871cacdc1d45a3593bea4ad6aa19cee9c6a2
parente8d4878dcd00239c54b089314c625477c5a20a7f
rtw88: 8821c: support RFE type4 wifi NIC

commit b789e3fe7047296be0ccdbb7ceb0b58856053572 upstream.

RFE type4 is a new NIC which has one RF antenna shares with BT.
RFE type4 HW is the same as RFE type2 but attaching antenna to
aux antenna connector.

RFE type2 attach antenna to main antenna connector.
Load the same parameter as RFE type2 when initializing NIC.

Signed-off-by: Guo-Feng Fan <vincent_fann@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210922023637.9357-1-pkshih@realtek.com
Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtw88/rtw8821c.c