]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
rtlwifi: remove unused fw C2H command ID
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 18 May 2018 09:29:59 +0000 (17:29 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 May 2018 07:16:47 +0000 (10:16 +0300)
The IDs are defined by driver and map to the fw C2H IDs, but they aren't
used now result in removal.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/def.h
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/def.h
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/def.h
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/def.h

index 32492d64d6850a32d438b1630a743f987a4a5ed4..45c866d3ca8822c28cabe94501a56a7ea3776145 100644 (file)
@@ -176,31 +176,6 @@ enum interface_select_pci {
        INTF_SEL3_RSV = 3,
 };
 
-enum hal_fw_c2h_cmd_id {
-       HAL_FW_C2H_CMD_READ_MACREG = 0,
-       HAL_FW_C2H_CMD_READ_BBREG = 1,
-       HAL_FW_C2H_CMD_READ_RFREG = 2,
-       HAL_FW_C2H_CMD_READ_EEPROM = 3,
-       HAL_FW_C2H_CMD_READ_EFUSE = 4,
-       HAL_FW_C2H_CMD_READ_CAM = 5,
-       HAL_FW_C2H_CMD_GET_BASICRATE = 6,
-       HAL_FW_C2H_CMD_GET_DATARATE = 7,
-       HAL_FW_C2H_CMD_SURVEY = 8,
-       HAL_FW_C2H_CMD_SURVEYDONE = 9,
-       HAL_FW_C2H_CMD_JOINBSS = 10,
-       HAL_FW_C2H_CMD_ADDSTA = 11,
-       HAL_FW_C2H_CMD_DELSTA = 12,
-       HAL_FW_C2H_CMD_ATIMDONE = 13,
-       HAL_FW_C2H_CMD_TX_REPORT = 14,
-       HAL_FW_C2H_CMD_CCX_REPORT = 15,
-       HAL_FW_C2H_CMD_DTM_REPORT = 16,
-       HAL_FW_C2H_CMD_TX_RATE_STATISTICS = 17,
-       HAL_FW_C2H_CMD_C2HLBK = 18,
-       HAL_FW_C2H_CMD_C2HDBG = 19,
-       HAL_FW_C2H_CMD_C2HFEEDBACK = 20,
-       HAL_FW_C2H_CMD_MAX
-};
-
 enum rtl_desc_qsel {
        QSLT_BK = 0x2,
        QSLT_BE = 0x0,
index b90aaf12807229ac2b34360575114b67fe782668..d2005d7e9ad2112f55c3bff5f304c7baa05379a9 100644 (file)
@@ -142,31 +142,6 @@ enum interface_select_pci {
        INTF_SEL3_RSV = 3,
 };
 
-enum hal_fw_c2h_cmd_id {
-       HAL_FW_C2H_CMD_Read_MACREG = 0,
-       HAL_FW_C2H_CMD_Read_BBREG = 1,
-       HAL_FW_C2H_CMD_Read_RFREG = 2,
-       HAL_FW_C2H_CMD_Read_EEPROM = 3,
-       HAL_FW_C2H_CMD_Read_EFUSE = 4,
-       HAL_FW_C2H_CMD_Read_CAM = 5,
-       HAL_FW_C2H_CMD_Get_BasicRate = 6,
-       HAL_FW_C2H_CMD_Get_DataRate = 7,
-       HAL_FW_C2H_CMD_Survey = 8,
-       HAL_FW_C2H_CMD_SurveyDone = 9,
-       HAL_FW_C2H_CMD_JoinBss = 10,
-       HAL_FW_C2H_CMD_AddSTA = 11,
-       HAL_FW_C2H_CMD_DelSTA = 12,
-       HAL_FW_C2H_CMD_AtimDone = 13,
-       HAL_FW_C2H_CMD_TX_Report = 14,
-       HAL_FW_C2H_CMD_CCX_Report = 15,
-       HAL_FW_C2H_CMD_DTM_Report = 16,
-       HAL_FW_C2H_CMD_TX_Rate_Statistics = 17,
-       HAL_FW_C2H_CMD_C2HLBK = 18,
-       HAL_FW_C2H_CMD_C2HDBG = 19,
-       HAL_FW_C2H_CMD_C2HFEEDBACK = 20,
-       HAL_FW_C2H_CMD_MAX
-};
-
 enum rtl_desc_qsel {
        QSLT_BK = 0x2,
        QSLT_BE = 0x0,
index bcdf2273688ebad1224e99166036c75c859adfbe..847544817549172381781710150b89a3c2027590 100644 (file)
@@ -152,31 +152,6 @@ enum interface_select_pci {
        INTF_SEL3_RSV = 3,
 };
 
-enum hal_fw_c2h_cmd_id {
-       HAL_FW_C2H_CMD_Read_MACREG = 0,
-       HAL_FW_C2H_CMD_Read_BBREG = 1,
-       HAL_FW_C2H_CMD_Read_RFREG = 2,
-       HAL_FW_C2H_CMD_Read_EEPROM = 3,
-       HAL_FW_C2H_CMD_Read_EFUSE = 4,
-       HAL_FW_C2H_CMD_Read_CAM = 5,
-       HAL_FW_C2H_CMD_Get_BasicRate = 6,
-       HAL_FW_C2H_CMD_Get_DataRate = 7,
-       HAL_FW_C2H_CMD_Survey = 8,
-       HAL_FW_C2H_CMD_SurveyDone = 9,
-       HAL_FW_C2H_CMD_JoinBss = 10,
-       HAL_FW_C2H_CMD_AddSTA = 11,
-       HAL_FW_C2H_CMD_DelSTA = 12,
-       HAL_FW_C2H_CMD_AtimDone = 13,
-       HAL_FW_C2H_CMD_TX_Report = 14,
-       HAL_FW_C2H_CMD_CCX_Report = 15,
-       HAL_FW_C2H_CMD_DTM_Report = 16,
-       HAL_FW_C2H_CMD_TX_Rate_Statistics = 17,
-       HAL_FW_C2H_CMD_C2HLBK = 18,
-       HAL_FW_C2H_CMD_C2HDBG = 19,
-       HAL_FW_C2H_CMD_C2HFEEDBACK = 20,
-       HAL_FW_C2H_CMD_MAX
-};
-
 enum rtl_desc_qsel {
        QSLT_BK = 0x2,
        QSLT_BE = 0x0,
index 498f716bfc73a22af2ca29d345c2ba8ebe87cbc2..3fe3aaa5fe3c8e655b771d78440af86fe8a8114f 100644 (file)
@@ -296,31 +296,6 @@ enum interface_select_pci {
        INTF_SEL3_RSV = 3,
 };
 
-enum hal_fw_c2h_cmd_id {
-       HAL_FW_C2H_CMD_READ_MACREG = 0,
-       HAL_FW_C2H_CMD_READ_BBREG = 1,
-       HAL_FW_C2H_CMD_READ_RFREG = 2,
-       HAL_FW_C2H_CMD_READ_EEPROM = 3,
-       HAL_FW_C2H_CMD_READ_EFUSE = 4,
-       HAL_FW_C2H_CMD_READ_CAM = 5,
-       HAL_FW_C2H_CMD_GET_BASICRATE = 6,
-       HAL_FW_C2H_CMD_GET_DATARATE = 7,
-       HAL_FW_C2H_CMD_SURVEY = 8,
-       HAL_FW_C2H_CMD_SURVEYDONE = 9,
-       HAL_FW_C2H_CMD_JOINBSS = 10,
-       HAL_FW_C2H_CMD_ADDSTA = 11,
-       HAL_FW_C2H_CMD_DELSTA = 12,
-       HAL_FW_C2H_CMD_ATIMDONE = 13,
-       HAL_FW_C2H_CMD_TX_REPORT = 14,
-       HAL_FW_C2H_CMD_CCX_REPORT = 15,
-       HAL_FW_C2H_CMD_DTM_REPORT = 16,
-       HAL_FW_C2H_CMD_TX_RATE_STATISTICS = 17,
-       HAL_FW_C2H_CMD_C2HLBK = 18,
-       HAL_FW_C2H_CMD_C2HDBG = 19,
-       HAL_FW_C2H_CMD_C2HFEEDBACK = 20,
-       HAL_FW_C2H_CMD_MAX
-};
-
 enum rtl_desc_qsel {
        QSLT_BK = 0x2,
        QSLT_BE = 0x0,