1 /******************************************************************************
3 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
18 This file includes all kinds of Power Action event for RTL8723B
19 and corresponding hardware configurtions which are released from HW SD.
23 ---------- --------------- -------------------------------
24 2011-08-08 Roger Create.
28 #include "Hal8723BPwrSeq.h"
30 /* drivers should parse below arrays and do the corresponding actions */
31 /* 3 Power on Array */
32 WLAN_PWR_CFG rtl8723B_power_on_flow[
33 RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS+
34 RTL8723B_TRANS_END_STEPS
36 RTL8723B_TRANS_CARDEMU_TO_ACT
40 /* 3Radio off GPIO Array */
41 WLAN_PWR_CFG rtl8723B_radio_off_flow[
42 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
43 RTL8723B_TRANS_END_STEPS
45 RTL8723B_TRANS_ACT_TO_CARDEMU
49 /* 3Card Disable Array */
50 WLAN_PWR_CFG rtl8723B_card_disable_flow[
51 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
52 RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+
53 RTL8723B_TRANS_END_STEPS
55 RTL8723B_TRANS_ACT_TO_CARDEMU
56 RTL8723B_TRANS_CARDEMU_TO_CARDDIS
60 /* 3 Card Enable Array */
61 WLAN_PWR_CFG rtl8723B_card_enable_flow[
62 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
63 RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+
64 RTL8723B_TRANS_END_STEPS
66 RTL8723B_TRANS_CARDDIS_TO_CARDEMU
67 RTL8723B_TRANS_CARDEMU_TO_ACT
72 WLAN_PWR_CFG rtl8723B_suspend_flow[
73 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
74 RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+
75 RTL8723B_TRANS_END_STEPS
77 RTL8723B_TRANS_ACT_TO_CARDEMU
78 RTL8723B_TRANS_CARDEMU_TO_SUS
83 WLAN_PWR_CFG rtl8723B_resume_flow[
84 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
85 RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+
86 RTL8723B_TRANS_END_STEPS
88 RTL8723B_TRANS_SUS_TO_CARDEMU
89 RTL8723B_TRANS_CARDEMU_TO_ACT
94 WLAN_PWR_CFG rtl8723B_hwpdn_flow[
95 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
96 RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+
97 RTL8723B_TRANS_END_STEPS
99 RTL8723B_TRANS_ACT_TO_CARDEMU
100 RTL8723B_TRANS_CARDEMU_TO_PDN
105 WLAN_PWR_CFG rtl8723B_enter_lps_flow[
106 RTL8723B_TRANS_ACT_TO_LPS_STEPS+RTL8723B_TRANS_END_STEPS
109 RTL8723B_TRANS_ACT_TO_LPS
114 WLAN_PWR_CFG rtl8723B_leave_lps_flow[
115 RTL8723B_TRANS_LPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS
118 RTL8723B_TRANS_LPS_TO_ACT
123 WLAN_PWR_CFG rtl8723B_enter_swlps_flow[
124 RTL8723B_TRANS_ACT_TO_SWLPS_STEPS+RTL8723B_TRANS_END_STEPS
127 RTL8723B_TRANS_ACT_TO_SWLPS
132 WLAN_PWR_CFG rtl8723B_leave_swlps_flow[
133 RTL8723B_TRANS_SWLPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS
136 RTL8723B_TRANS_SWLPS_TO_ACT