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