mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
staging: rtl8723bs: remove typedefs in odm_HWConfig.h
This commit fixes the following checkpatch.pl warnings:
WARNING: do not add new typedefs
#33: FILE: hal/odm_HWConfig.h:33:
+typedef struct _Phy_Rx_AGC_Info {
WARNING: do not add new typedefs
#41: FILE: hal/odm_HWConfig.h:41:
+typedef struct _Phy_Status_Rpt_8192cd {
WARNING: do not add new typedefs
#80: FILE: hal/odm_HWConfig.h:80:
+typedef struct _Phy_Status_Rpt_8812 {
Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-9-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
26482bed81
commit
1cd7675541
@@ -90,7 +90,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
|
||||
bool isCCKrate = false;
|
||||
u8 rf_rx_num = 0;
|
||||
u8 LNA_idx, VGA_idx;
|
||||
PPHY_STATUS_RPT_8192CD_T pPhyStaRpt = (PPHY_STATUS_RPT_8192CD_T)pPhyStatus;
|
||||
struct PHY_STATUS_RPT_8192CD_T * pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus;
|
||||
|
||||
isCCKrate = pPktinfo->data_rate <= DESC_RATE11M;
|
||||
pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = -1;
|
||||
|
||||
@@ -30,16 +30,16 @@
|
||||
/* structure and define */
|
||||
/* */
|
||||
|
||||
typedef struct _Phy_Rx_AGC_Info {
|
||||
struct PHY_RX_AGC_INFO_T {
|
||||
#if (ODM_ENDIAN_TYPE == ODM_ENDIAN_LITTLE)
|
||||
u8 gain:7, trsw:1;
|
||||
#else
|
||||
u8 trsw:1, gain:7;
|
||||
#endif
|
||||
} PHY_RX_AGC_INFO_T, *pPHY_RX_AGC_INFO_T;
|
||||
};
|
||||
|
||||
typedef struct _Phy_Status_Rpt_8192cd {
|
||||
PHY_RX_AGC_INFO_T path_agc[2];
|
||||
struct PHY_STATUS_RPT_8192CD_T {
|
||||
struct PHY_RX_AGC_INFO_T path_agc[2];
|
||||
u8 ch_corr[2];
|
||||
u8 cck_sig_qual_ofdm_pwdb_all;
|
||||
u8 cck_agc_rpt_ofdm_cfosho_a;
|
||||
@@ -74,10 +74,10 @@ typedef struct _Phy_Status_Rpt_8192cd {
|
||||
u8 sgi_en:1;
|
||||
u8 antsel_rx_keep_2:1; /* ex_intf_flg:1; */
|
||||
#endif
|
||||
} PHY_STATUS_RPT_8192CD_T, *PPHY_STATUS_RPT_8192CD_T;
|
||||
};
|
||||
|
||||
|
||||
typedef struct _Phy_Status_Rpt_8812 {
|
||||
struct PHY_STATUS_RPT_8812_T {
|
||||
/* 2012.05.24 LukeLee: This structure should take big/little endian in consideration later..... */
|
||||
|
||||
/* DWORD 0 */
|
||||
@@ -118,7 +118,7 @@ typedef struct _Phy_Status_Rpt_8812 {
|
||||
u8 antidx_anta:3;
|
||||
u8 antidx_antb:3;
|
||||
u8 resvd_1:2;
|
||||
} PHY_STATUS_RPT_8812_T, *PPHY_STATUS_RPT_8812_T;
|
||||
};
|
||||
|
||||
|
||||
void ODM_PhyStatusQuery(
|
||||
|
||||
Reference in New Issue
Block a user