mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 15:14:02 +00:00
Code cleanup
This commit is contained in:
parent
7e4846cbe7
commit
df6456fc76
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
* 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
|
* under the terms of version 2 of the GNU General Public License as
|
||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
@ -21,7 +21,7 @@
|
|||||||
#include "Hal8814PwrSeq.h"
|
#include "Hal8814PwrSeq.h"
|
||||||
#include <rtl8814a_hal.h>
|
#include <rtl8814a_hal.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
drivers should parse below arrays and do the corresponding actions
|
drivers should parse below arrays and do the corresponding actions
|
||||||
*/
|
*/
|
||||||
//3 Power on Array
|
//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]=
|
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_CARDDIS_TO_CARDEMU
|
||||||
RTL8814A_TRANS_CARDEMU_TO_ACT
|
RTL8814A_TRANS_CARDEMU_TO_ACT
|
||||||
RTL8814A_TRANS_END
|
RTL8814A_TRANS_END
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -70,29 +70,26 @@ WLAN_PWR_CFG rtl8814A_resume_flow[RTL8814A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8814A_T
|
|||||||
RTL8814A_TRANS_END
|
RTL8814A_TRANS_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//3HWPDN Array
|
//3HWPDN Array
|
||||||
WLAN_PWR_CFG rtl8814A_hwpdn_flow[RTL8814A_TRANS_ACT_TO_CARDEMU_STEPS+RTL8814A_TRANS_CARDEMU_TO_PDN_STEPS+RTL8814A_TRANS_END_STEPS]=
|
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_ACT_TO_CARDEMU
|
||||||
RTL8814A_TRANS_CARDEMU_TO_PDN
|
RTL8814A_TRANS_CARDEMU_TO_PDN
|
||||||
RTL8814A_TRANS_END
|
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]=
|
WLAN_PWR_CFG rtl8814A_enter_lps_flow[RTL8814A_TRANS_ACT_TO_LPS_STEPS+RTL8814A_TRANS_END_STEPS]=
|
||||||
{
|
{
|
||||||
//FW behavior
|
//FW behavior
|
||||||
RTL8814A_TRANS_ACT_TO_LPS
|
RTL8814A_TRANS_ACT_TO_LPS
|
||||||
RTL8814A_TRANS_END
|
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]=
|
WLAN_PWR_CFG rtl8814A_leave_lps_flow[RTL8814A_TRANS_LPS_TO_ACT_STEPS+RTL8814A_TRANS_END_STEPS]=
|
||||||
{
|
{
|
||||||
//FW behavior
|
//FW behavior
|
||||||
RTL8814A_TRANS_LPS_TO_ACT
|
RTL8814A_TRANS_LPS_TO_ACT
|
||||||
RTL8814A_TRANS_END
|
RTL8814A_TRANS_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user