Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /* Copyright(c) 2009-2013  Realtek Corporation.*/
0003 
0004 #include "../pwrseqcmd.h"
0005 #include "pwrseq.h"
0006 
0007 /* drivers should parse below arrays and do the corresponding actions */
0008 /*3 Power on  Array*/
0009 struct wlan_pwr_cfg rtl8188ee_power_on_flow[RTL8188EE_TRANS_CARDEMU_TO_ACT_STEPS
0010                     + RTL8188EE_TRANS_END_STEPS] = {
0011     RTL8188EE_TRANS_CARDEMU_TO_ACT
0012     RTL8188EE_TRANS_END
0013 };
0014 
0015 /*3Radio off GPIO Array */
0016 struct wlan_pwr_cfg rtl8188ee_radio_off_flow[RTL8188EE_TRANS_ACT_TO_CARDEMU_STEPS
0017                     + RTL8188EE_TRANS_END_STEPS] = {
0018     RTL8188EE_TRANS_ACT_TO_CARDEMU
0019     RTL8188EE_TRANS_END
0020 };
0021 
0022 /*3Card Disable Array*/
0023 struct wlan_pwr_cfg rtl8188ee_card_disable_flow
0024         [RTL8188EE_TRANS_ACT_TO_CARDEMU_STEPS +
0025          RTL8188EE_TRANS_CARDEMU_TO_PDN_STEPS +
0026          RTL8188EE_TRANS_END_STEPS] = {
0027     RTL8188EE_TRANS_ACT_TO_CARDEMU
0028     RTL8188EE_TRANS_CARDEMU_TO_CARDDIS
0029     RTL8188EE_TRANS_END
0030 };
0031 
0032 /*3 Card Enable Array*/
0033 struct wlan_pwr_cfg rtl8188ee_card_enable_flow
0034         [RTL8188EE_TRANS_ACT_TO_CARDEMU_STEPS +
0035          RTL8188EE_TRANS_CARDEMU_TO_PDN_STEPS +
0036          RTL8188EE_TRANS_END_STEPS] = {
0037     RTL8188EE_TRANS_CARDDIS_TO_CARDEMU
0038     RTL8188EE_TRANS_CARDEMU_TO_ACT
0039     RTL8188EE_TRANS_END
0040 };
0041 
0042 /*3Suspend Array*/
0043 struct wlan_pwr_cfg rtl8188ee_suspend_flow[RTL8188EE_TRANS_ACT_TO_CARDEMU_STEPS
0044                     + RTL8188EE_TRANS_CARDEMU_TO_SUS_STEPS
0045                     + RTL8188EE_TRANS_END_STEPS] = {
0046     RTL8188EE_TRANS_ACT_TO_CARDEMU
0047     RTL8188EE_TRANS_CARDEMU_TO_SUS
0048     RTL8188EE_TRANS_END
0049 };
0050 
0051 /*3 Resume Array*/
0052 struct wlan_pwr_cfg rtl8188ee_resume_flow[RTL8188EE_TRANS_ACT_TO_CARDEMU_STEPS
0053                     + RTL8188EE_TRANS_CARDEMU_TO_SUS_STEPS
0054                     + RTL8188EE_TRANS_END_STEPS] = {
0055     RTL8188EE_TRANS_SUS_TO_CARDEMU
0056     RTL8188EE_TRANS_CARDEMU_TO_ACT
0057     RTL8188EE_TRANS_END
0058 };
0059 
0060 /*3HWPDN Array*/
0061 struct wlan_pwr_cfg rtl8188ee_hwpdn_flow[RTL8188EE_TRANS_ACT_TO_CARDEMU_STEPS
0062                 + RTL8188EE_TRANS_CARDEMU_TO_PDN_STEPS
0063                 + RTL8188EE_TRANS_END_STEPS] = {
0064     RTL8188EE_TRANS_ACT_TO_CARDEMU
0065     RTL8188EE_TRANS_CARDEMU_TO_PDN
0066     RTL8188EE_TRANS_END
0067 };
0068 
0069 /*3 Enter LPS */
0070 struct wlan_pwr_cfg rtl8188ee_enter_lps_flow[RTL8188EE_TRANS_ACT_TO_LPS_STEPS
0071                     + RTL8188EE_TRANS_END_STEPS] = {
0072     /*FW behavior*/
0073     RTL8188EE_TRANS_ACT_TO_LPS
0074     RTL8188EE_TRANS_END
0075 };
0076 
0077 /*3 Leave LPS */
0078 struct wlan_pwr_cfg rtl8188ee_leave_lps_flow[RTL8188EE_TRANS_LPS_TO_ACT_STEPS
0079                     + RTL8188EE_TRANS_END_STEPS] = {
0080     /*FW behavior*/
0081     RTL8188EE_TRANS_LPS_TO_ACT
0082     RTL8188EE_TRANS_END
0083 };