91 lines · c
1// SPDX-License-Identifier: GPL-2.02/* Copyright(c) 2009-2014 Realtek Corporation.*/3 4#include "pwrseq.h"5 6/* drivers should parse below arrays and do the corresponding actions */7 8/*3 Power on Array*/9struct wlan_pwr_cfg rtl8192E_power_on_flow10 [RTL8192E_TRANS_CARDEMU_TO_ACT_STEPS +11 RTL8192E_TRANS_END_STEPS] = {12 RTL8192E_TRANS_CARDEMU_TO_ACT13 RTL8192E_TRANS_END14};15 16/*3Radio off GPIO Array */17struct wlan_pwr_cfg rtl8192E_radio_off_flow18 [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS19 + RTL8192E_TRANS_END_STEPS] = {20 RTL8192E_TRANS_ACT_TO_CARDEMU21 RTL8192E_TRANS_END22};23 24/*3Card Disable Array*/25struct wlan_pwr_cfg rtl8192E_card_disable_flow26 [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +27 RTL8192E_TRANS_CARDEMU_TO_PDN_STEPS +28 RTL8192E_TRANS_END_STEPS] = {29 RTL8192E_TRANS_ACT_TO_CARDEMU30 RTL8192E_TRANS_CARDEMU_TO_CARDDIS31 RTL8192E_TRANS_END32};33 34/*3 Card Enable Array*/35struct wlan_pwr_cfg rtl8192E_card_enable_flow36 [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +37 RTL8192E_TRANS_CARDEMU_TO_PDN_STEPS +38 RTL8192E_TRANS_END_STEPS] = {39 RTL8192E_TRANS_CARDDIS_TO_CARDEMU40 RTL8192E_TRANS_CARDEMU_TO_ACT41 RTL8192E_TRANS_END42};43 44/*3Suspend Array*/45struct wlan_pwr_cfg rtl8192E_suspend_flow46 [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +47 RTL8192E_TRANS_CARDEMU_TO_SUS_STEPS +48 RTL8192E_TRANS_END_STEPS] = {49 RTL8192E_TRANS_ACT_TO_CARDEMU50 RTL8192E_TRANS_CARDEMU_TO_SUS51 RTL8192E_TRANS_END52};53 54/*3 Resume Array*/55struct wlan_pwr_cfg rtl8192E_resume_flow56 [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +57 RTL8192E_TRANS_CARDEMU_TO_SUS_STEPS +58 RTL8192E_TRANS_END_STEPS] = {59 RTL8192E_TRANS_SUS_TO_CARDEMU60 RTL8192E_TRANS_CARDEMU_TO_ACT61 RTL8192E_TRANS_END62};63 64/*3HWPDN Array*/65struct wlan_pwr_cfg rtl8192E_hwpdn_flow66 [RTL8192E_TRANS_ACT_TO_CARDEMU_STEPS +67 RTL8192E_TRANS_CARDEMU_TO_PDN_STEPS +68 RTL8192E_TRANS_END_STEPS] = {69 RTL8192E_TRANS_ACT_TO_CARDEMU70 RTL8192E_TRANS_CARDEMU_TO_PDN71 RTL8192E_TRANS_END72};73 74/*3 Enter LPS */75struct wlan_pwr_cfg rtl8192E_enter_lps_flow76 [RTL8192E_TRANS_ACT_TO_LPS_STEPS +77 RTL8192E_TRANS_END_STEPS] = {78 /*FW behavior*/79 RTL8192E_TRANS_ACT_TO_LPS80 RTL8192E_TRANS_END81};82 83/*3 Leave LPS */84struct wlan_pwr_cfg rtl8192E_leave_lps_flow85 [RTL8192E_TRANS_LPS_TO_ACT_STEPS +86 RTL8192E_TRANS_END_STEPS] = {87 /*FW behavior*/88 RTL8192E_TRANS_LPS_TO_ACT89 RTL8192E_TRANS_END90};91