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 ******************************************************************************/
16 #include "Hal8723PwrSeq.h"
19 drivers should parse below arrays and do the corresponding actions
21 /* 3 Power on Array */
22 struct wlan_pwr_cfg rtl8723AU_power_on_flow[RTL8723A_TRANS_CARDEMU_TO_ACT_STEPS+RTL8723A_TRANS_END_STEPS] = {
23 RTL8723A_TRANS_CARDEMU_TO_ACT
27 /* 3 Radio off GPIO Array */
28 struct wlan_pwr_cfg rtl8723AU_radio_off_flow[RTL8723A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723A_TRANS_END_STEPS] = {
29 RTL8723A_TRANS_ACT_TO_CARDEMU
33 /* 3 Card Disable Array */
34 struct wlan_pwr_cfg rtl8723AU_card_disable_flow[RTL8723A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723A_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723A_TRANS_END_STEPS] = {
35 RTL8723A_TRANS_ACT_TO_CARDEMU
36 RTL8723A_TRANS_CARDEMU_TO_CARDDIS
40 /* 3 Card Enable Array */
41 struct wlan_pwr_cfg rtl8723AU_card_enable_flow[RTL8723A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723A_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723A_TRANS_END_STEPS] = {
42 RTL8723A_TRANS_CARDDIS_TO_CARDEMU
43 RTL8723A_TRANS_CARDEMU_TO_ACT
48 struct wlan_pwr_cfg rtl8723AU_suspend_flow[RTL8723A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723A_TRANS_CARDEMU_TO_SUS_STEPS+RTL8723A_TRANS_END_STEPS] = {
49 RTL8723A_TRANS_ACT_TO_CARDEMU
50 RTL8723A_TRANS_CARDEMU_TO_SUS
55 struct wlan_pwr_cfg rtl8723AU_resume_flow[RTL8723A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723A_TRANS_CARDEMU_TO_SUS_STEPS+RTL8723A_TRANS_END_STEPS] = {
56 RTL8723A_TRANS_SUS_TO_CARDEMU
57 RTL8723A_TRANS_CARDEMU_TO_ACT
62 struct wlan_pwr_cfg rtl8723AU_hwpdn_flow[RTL8723A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723A_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723A_TRANS_END_STEPS] = {
63 RTL8723A_TRANS_ACT_TO_CARDEMU
64 RTL8723A_TRANS_CARDEMU_TO_PDN
69 struct wlan_pwr_cfg rtl8723AU_enter_lps_flow[RTL8723A_TRANS_ACT_TO_LPS_STEPS+RTL8723A_TRANS_END_STEPS] = {
71 RTL8723A_TRANS_ACT_TO_LPS
76 struct wlan_pwr_cfg rtl8723AU_leave_lps_flow[RTL8723A_TRANS_LPS_TO_ACT_STEPS+RTL8723A_TRANS_END_STEPS] = {
78 RTL8723A_TRANS_LPS_TO_ACT