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 ******************************************************************************/
17 This file includes all kinds of Power Action event for RTL8723B and corresponding hardware configurtions which are released from HW SD.
21 ---------- --------------- -------------------------------
22 2011-08-08 Roger Create.
26 #include "Hal8723BPwrSeq.h"
29 drivers should parse below arrays and do the corresponding actions
31 /* 3 Power on Array */
32 WLAN_PWR_CFG rtl8723B_power_on_flow[RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS]=
34 RTL8723B_TRANS_CARDEMU_TO_ACT
38 /* 3Radio off GPIO Array */
39 WLAN_PWR_CFG rtl8723B_radio_off_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_END_STEPS]=
41 RTL8723B_TRANS_ACT_TO_CARDEMU
45 /* 3Card Disable Array */
46 WLAN_PWR_CFG rtl8723B_card_disable_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723B_TRANS_END_STEPS]=
48 RTL8723B_TRANS_ACT_TO_CARDEMU
49 RTL8723B_TRANS_CARDEMU_TO_CARDDIS
53 /* 3 Card Enable Array */
54 WLAN_PWR_CFG rtl8723B_card_enable_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723B_TRANS_END_STEPS]=
56 RTL8723B_TRANS_CARDDIS_TO_CARDEMU
57 RTL8723B_TRANS_CARDEMU_TO_ACT
62 WLAN_PWR_CFG rtl8723B_suspend_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+RTL8723B_TRANS_END_STEPS]=
64 RTL8723B_TRANS_ACT_TO_CARDEMU
65 RTL8723B_TRANS_CARDEMU_TO_SUS
70 WLAN_PWR_CFG rtl8723B_resume_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+RTL8723B_TRANS_END_STEPS]=
72 RTL8723B_TRANS_SUS_TO_CARDEMU
73 RTL8723B_TRANS_CARDEMU_TO_ACT
78 WLAN_PWR_CFG rtl8723B_hwpdn_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723B_TRANS_END_STEPS]=
80 RTL8723B_TRANS_ACT_TO_CARDEMU
81 RTL8723B_TRANS_CARDEMU_TO_PDN
86 WLAN_PWR_CFG rtl8723B_enter_lps_flow[RTL8723B_TRANS_ACT_TO_LPS_STEPS+RTL8723B_TRANS_END_STEPS]=
89 RTL8723B_TRANS_ACT_TO_LPS
94 WLAN_PWR_CFG rtl8723B_leave_lps_flow[RTL8723B_TRANS_LPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS]=
97 RTL8723B_TRANS_LPS_TO_ACT
102 WLAN_PWR_CFG rtl8723B_enter_swlps_flow[RTL8723B_TRANS_ACT_TO_SWLPS_STEPS+RTL8723B_TRANS_END_STEPS]=
105 RTL8723B_TRANS_ACT_TO_SWLPS
110 WLAN_PWR_CFG rtl8723B_leave_swlps_flow[RTL8723B_TRANS_SWLPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS]=
113 RTL8723B_TRANS_SWLPS_TO_ACT