wifi: rtw88: mac: Add support for the SDIO HCI in rtw_pwr_seq_parser()
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 18 Feb 2023 15:29:40 +0000 (16:29 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 22 Feb 2023 12:31:36 +0000 (14:31 +0200)
rtw_pwr_seq_parser() needs to know about the HCI bus interface mask for
the SDIO bus so it can parse the chip state change sequences.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230218152944.48842-2-martin.blumenstingl@googlemail.com
drivers/net/wireless/realtek/rtw88/mac.c

index dae6490..c08071a 100644 (file)
@@ -222,6 +222,9 @@ static int rtw_pwr_seq_parser(struct rtw_dev *rtwdev,
        case RTW_HCI_TYPE_USB:
                intf_mask = RTW_PWR_INTF_USB_MSK;
                break;
+       case RTW_HCI_TYPE_SDIO:
+               intf_mask = RTW_PWR_INTF_SDIO_MSK;
+               break;
        default:
                return -EINVAL;
        }