wifi: mt76: connac: add more unified command IDs
authorDeren Wu <deren.wu@mediatek.com>
Tue, 1 Aug 2023 14:30:31 +0000 (22:30 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sat, 30 Sep 2023 18:03:03 +0000 (20:03 +0200)
Add more unified command IDs which will be used in new chipset.

This is the preliminary patch for mt7925 support.

Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h

index ed70bde1428b755a7b37875e1097cb23d19aba10..6ab86b1925f59d3539337b3c7f9f94b1030f20d7 100644 (file)
@@ -796,6 +796,7 @@ enum {
        STA_REC_PHY = 0x15,
        STA_REC_HE_6G = 0x17,
        STA_REC_HE_V2 = 0x19,
+       STA_REC_MLD = 0x20,
        STA_REC_EHT = 0x22,
        STA_REC_HDRT = 0x28,
        STA_REC_HDR_TRANS = 0x2B,
@@ -1212,12 +1213,17 @@ enum {
        MCU_UNI_CMD_RX_HDR_TRANS = 0x12,
        MCU_UNI_CMD_SER = 0x13,
        MCU_UNI_CMD_TWT = 0x14,
+       MCU_UNI_CMD_SET_DOMAIN_INFO = 0x15,
+       MCU_UNI_CMD_SCAN_REQ = 0x16,
        MCU_UNI_CMD_RDD_CTRL = 0x19,
        MCU_UNI_CMD_GET_MIB_INFO = 0x22,
+       MCU_UNI_CMD_GET_STAT_INFO = 0x23,
        MCU_UNI_CMD_SNIFFER = 0x24,
        MCU_UNI_CMD_SR = 0x25,
        MCU_UNI_CMD_ROC = 0x27,
+       MCU_UNI_CMD_SET_DBDC_PARMS = 0x28,
        MCU_UNI_CMD_TXPOWER = 0x2b,
+       MCU_UNI_CMD_SET_POWER_LIMIT = 0x2c,
        MCU_UNI_CMD_EFUSE_CTRL = 0x2d,
        MCU_UNI_CMD_RA = 0x2f,
        MCU_UNI_CMD_MURU = 0x31,
@@ -1296,6 +1302,7 @@ enum {
        UNI_BSS_INFO_IFS_TIME = 23,
        UNI_BSS_INFO_OFFLOAD = 25,
        UNI_BSS_INFO_MLD = 26,
+       UNI_BSS_INFO_PM_DISABLE = 27,
 };
 
 enum {