Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /* Copyright(c) 2009-2014  Realtek Corporation.*/
0003 
0004 #include "pwrseq.h"
0005 
0006 /* drivers should parse below arrays and do the corresponding actions */
0007 
0008 /*3 Power on  Array*/
0009 struct wlan_pwr_cfg rtl8192E_power_on_flow
0010         [RTL8192E_TRANS_CARDEMU_TO_ACT_STEPS +
0011          RTL8192E_TRANS_END_STEPS] = {
0012     RTL8192E_TRANS_CARDEMU_TO_ACT
0013     RTL8192E_TRANS_END
0014 };
0015 
0016 /*3Radio off GPIO Array */
0017 struct wlan_pwr_cfg rtl8192E_radio_off_flow
0018         [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS
0019         + RTL8192E_TRANS_END_STEPS] = {
0020     RTL8192E_TRANS_ACT_TO_CARDEMU
0021     RTL8192E_TRANS_END
0022 };
0023 
0024 /*3Card Disable Array*/
0025 struct wlan_pwr_cfg rtl8192E_card_disable_flow
0026         [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +
0027          RTL8192E_TRANS_CARDEMU_TO_PDN_STEPS +
0028          RTL8192E_TRANS_END_STEPS] = {
0029     RTL8192E_TRANS_ACT_TO_CARDEMU
0030     RTL8192E_TRANS_CARDEMU_TO_CARDDIS
0031     RTL8192E_TRANS_END
0032 };
0033 
0034 /*3 Card Enable Array*/
0035 struct wlan_pwr_cfg rtl8192E_card_enable_flow
0036         [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +
0037          RTL8192E_TRANS_CARDEMU_TO_PDN_STEPS +
0038          RTL8192E_TRANS_END_STEPS] = {
0039     RTL8192E_TRANS_CARDDIS_TO_CARDEMU
0040     RTL8192E_TRANS_CARDEMU_TO_ACT
0041     RTL8192E_TRANS_END
0042 };
0043 
0044 /*3Suspend Array*/
0045 struct wlan_pwr_cfg rtl8192E_suspend_flow
0046         [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +
0047          RTL8192E_TRANS_CARDEMU_TO_SUS_STEPS +
0048          RTL8192E_TRANS_END_STEPS] = {
0049     RTL8192E_TRANS_ACT_TO_CARDEMU
0050     RTL8192E_TRANS_CARDEMU_TO_SUS
0051     RTL8192E_TRANS_END
0052 };
0053 
0054 /*3 Resume Array*/
0055 struct wlan_pwr_cfg rtl8192E_resume_flow
0056         [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +
0057          RTL8192E_TRANS_CARDEMU_TO_SUS_STEPS +
0058          RTL8192E_TRANS_END_STEPS] = {
0059     RTL8192E_TRANS_SUS_TO_CARDEMU
0060     RTL8192E_TRANS_CARDEMU_TO_ACT
0061     RTL8192E_TRANS_END
0062 };
0063 
0064 /*3HWPDN Array*/
0065 struct wlan_pwr_cfg rtl8192E_hwpdn_flow
0066         [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +
0067          RTL8192E_TRANS_CARDEMU_TO_PDN_STEPS +
0068          RTL8192E_TRANS_END_STEPS] = {
0069     RTL8192E_TRANS_ACT_TO_CARDEMU
0070     RTL8192E_TRANS_CARDEMU_TO_PDN
0071     RTL8192E_TRANS_END
0072 };
0073 
0074 /*3 Enter LPS */
0075 struct wlan_pwr_cfg rtl8192E_enter_lps_flow
0076         [RTL8192E_TRANS_ACT_TO_LPS_STEPS +
0077          RTL8192E_TRANS_END_STEPS] = {
0078     /*FW behavior*/
0079     RTL8192E_TRANS_ACT_TO_LPS
0080     RTL8192E_TRANS_END
0081 };
0082 
0083 /*3 Leave LPS */
0084 struct wlan_pwr_cfg rtl8192E_leave_lps_flow
0085         [RTL8192E_TRANS_LPS_TO_ACT_STEPS +
0086          RTL8192E_TRANS_END_STEPS] = {
0087     /*FW behavior*/
0088     RTL8192E_TRANS_LPS_TO_ACT
0089     RTL8192E_TRANS_END
0090 };