Commit 24915597 authored by Ping-Ke Shih's avatar Ping-Ke Shih Committed by Kalle Valo

rtlwifi: rename register-based C2H command IDs to V0

Current chips use packet-based C2H commands whose IDs differ from old
ones, so this commit simply gives C2H_V0_ as prefix of command IDs.
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent c4528686
...@@ -1749,13 +1749,13 @@ void rtl_8723e_c2h_command_handle(struct ieee80211_hw *hw) ...@@ -1749,13 +1749,13 @@ void rtl_8723e_c2h_command_handle(struct ieee80211_hw *hw)
switch (c2h_event.cmd_id) { switch (c2h_event.cmd_id) {
case C2H_BT_RSSI: case C2H_V0_BT_RSSI:
break; break;
case C2H_BT_OP_MODE: case C2H_V0_BT_OP_MODE:
break; break;
case BT_INFO: case C2H_V0_BT_INFO:
RT_TRACE(rtlpriv, COMP_FW, DBG_TRACE, RT_TRACE(rtlpriv, COMP_FW, DBG_TRACE,
"BT info Byte[0] (ID) is 0x%x\n", "BT info Byte[0] (ID) is 0x%x\n",
c2h_event.cmd_id); c2h_event.cmd_id);
......
...@@ -130,17 +130,17 @@ enum bt_state { ...@@ -130,17 +130,17 @@ enum bt_state {
BT_INFO_STATE_MAX = 7 BT_INFO_STATE_MAX = 7
}; };
enum rtl8723e_c2h_evt { enum rtl8723e_c2h_evt_v0 {
C2H_DBG = 0, C2H_V0_DBG = 0,
C2H_TSF = 1, C2H_V0_TSF = 1,
C2H_AP_RPT_RSP = 2, C2H_V0_AP_RPT_RSP = 2,
/* The FW notify the report of the specific tx packet. */ /* The FW notify the report of the specific tx packet. */
C2H_CCX_TX_RPT = 3, C2H_V0_CCX_TX_RPT = 3,
C2H_BT_RSSI = 4, C2H_V0_BT_RSSI = 4,
C2H_BT_OP_MODE = 5, C2H_V0_BT_OP_MODE = 5,
C2H_HW_INFO_EXCH = 10, C2H_V0_HW_INFO_EXCH = 10,
C2H_C2H_H2C_TEST = 11, C2H_V0_C2H_H2C_TEST = 11,
BT_INFO = 12, C2H_V0_BT_INFO = 12,
MAX_C2HEVENT MAX_C2HEVENT
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment