1 // SPDX-License-Identifier: GPL-2.0
2 /******************************************************************************
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
6 ******************************************************************************/
9 #include <rtl8188e_hal.h>
12 drivers should parse below arrays and do the corresponding actions
14 /* 3 Power on Array */
15 struct wl_pwr_cfg rtl8188E_power_on_flow[RTL8188E_TRANS_CARDEMU_TO_ACT_STEPS +
16 RTL8188E_TRANS_END_STEPS] = {
17 RTL8188E_TRANS_CARDEMU_TO_ACT
21 /* 3Radio off Array */
22 struct wl_pwr_cfg rtl8188E_radio_off_flow[RTL8188E_TRANS_ACT_TO_CARDEMU_STEPS +
23 RTL8188E_TRANS_END_STEPS] = {
24 RTL8188E_TRANS_ACT_TO_CARDEMU
28 /* 3Card Disable Array */
29 struct wl_pwr_cfg rtl8188E_card_disable_flow
30 [RTL8188E_TRANS_ACT_TO_CARDEMU_STEPS +
31 RTL8188E_TRANS_CARDEMU_TO_PDN_STEPS +
32 RTL8188E_TRANS_END_STEPS] = {
33 RTL8188E_TRANS_ACT_TO_CARDEMU
34 RTL8188E_TRANS_CARDEMU_TO_CARDDIS
38 /* 3 Card Enable Array */
39 struct wl_pwr_cfg rtl8188E_card_enable_flow
40 [RTL8188E_TRANS_ACT_TO_CARDEMU_STEPS +
41 RTL8188E_TRANS_CARDEMU_TO_PDN_STEPS +
42 RTL8188E_TRANS_END_STEPS] = {
43 RTL8188E_TRANS_CARDDIS_TO_CARDEMU
44 RTL8188E_TRANS_CARDEMU_TO_ACT
49 struct wl_pwr_cfg rtl8188E_suspend_flow[RTL8188E_TRANS_ACT_TO_CARDEMU_STEPS +
50 RTL8188E_TRANS_CARDEMU_TO_SUS_STEPS +
51 RTL8188E_TRANS_END_STEPS] = {
52 RTL8188E_TRANS_ACT_TO_CARDEMU
53 RTL8188E_TRANS_CARDEMU_TO_SUS
58 struct wl_pwr_cfg rtl8188E_resume_flow[RTL8188E_TRANS_ACT_TO_CARDEMU_STEPS +
59 RTL8188E_TRANS_CARDEMU_TO_SUS_STEPS +
60 RTL8188E_TRANS_END_STEPS] = {
61 RTL8188E_TRANS_SUS_TO_CARDEMU
62 RTL8188E_TRANS_CARDEMU_TO_ACT
67 struct wl_pwr_cfg rtl8188E_hwpdn_flow[RTL8188E_TRANS_ACT_TO_CARDEMU_STEPS +
68 RTL8188E_TRANS_CARDEMU_TO_PDN_STEPS +
69 RTL8188E_TRANS_END_STEPS] = {
70 RTL8188E_TRANS_ACT_TO_CARDEMU
71 RTL8188E_TRANS_CARDEMU_TO_PDN
76 struct wl_pwr_cfg rtl8188E_enter_lps_flow[RTL8188E_TRANS_ACT_TO_LPS_STEPS +
77 RTL8188E_TRANS_END_STEPS] = {
79 RTL8188E_TRANS_ACT_TO_LPS
84 struct wl_pwr_cfg rtl8188E_leave_lps_flow[RTL8188E_TRANS_LPS_TO_ACT_STEPS +
85 RTL8188E_TRANS_END_STEPS] = {
87 RTL8188E_TRANS_LPS_TO_ACT