From df6456fc76e2c4926dfe58e443b4a7029fbd69a2 Mon Sep 17 00:00:00 2001 From: Christian B Date: Wed, 20 Dec 2017 17:29:35 +0100 Subject: [PATCH] Code cleanup --- hal/rtl8814a/Hal8814PwrSeq.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/hal/rtl8814a/Hal8814PwrSeq.c b/hal/rtl8814a/Hal8814PwrSeq.c index c11a36e..6370cbe 100644 --- a/hal/rtl8814a/Hal8814PwrSeq.c +++ b/hal/rtl8814a/Hal8814PwrSeq.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. - * + * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. @@ -21,7 +21,7 @@ #include "Hal8814PwrSeq.h" #include -/* +/* drivers should parse below arrays and do the corresponding actions */ //3 Power on Array @@ -50,7 +50,7 @@ WLAN_PWR_CFG rtl8814A_card_disable_flow[RTL8814A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8 WLAN_PWR_CFG rtl8814A_card_enable_flow[RTL8814A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8814A_TRANS_CARDEMU_TO_PDN_STEPS+RTL8814A_TRANS_END_STEPS]= { RTL8814A_TRANS_CARDDIS_TO_CARDEMU - RTL8814A_TRANS_CARDEMU_TO_ACT + RTL8814A_TRANS_CARDEMU_TO_ACT RTL8814A_TRANS_END }; @@ -70,29 +70,26 @@ WLAN_PWR_CFG rtl8814A_resume_flow[RTL8814A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8814A_T RTL8814A_TRANS_END }; - - //3HWPDN Array WLAN_PWR_CFG rtl8814A_hwpdn_flow[RTL8814A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8814A_TRANS_CARDEMU_TO_PDN_STEPS+RTL8814A_TRANS_END_STEPS]= { RTL8814A_TRANS_ACT_TO_CARDEMU - RTL8814A_TRANS_CARDEMU_TO_PDN + RTL8814A_TRANS_CARDEMU_TO_PDN RTL8814A_TRANS_END }; -//3 Enter LPS +//3 Enter LPS WLAN_PWR_CFG rtl8814A_enter_lps_flow[RTL8814A_TRANS_ACT_TO_LPS_STEPS+RTL8814A_TRANS_END_STEPS]= { //FW behavior - RTL8814A_TRANS_ACT_TO_LPS + RTL8814A_TRANS_ACT_TO_LPS RTL8814A_TRANS_END }; -//3 Leave LPS +//3 Leave LPS WLAN_PWR_CFG rtl8814A_leave_lps_flow[RTL8814A_TRANS_LPS_TO_ACT_STEPS+RTL8814A_TRANS_END_STEPS]= { //FW behavior RTL8814A_TRANS_LPS_TO_ACT RTL8814A_TRANS_END }; -