mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Replace all the alternative forms for bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
21b9be0939
commit
57a2db9e23
49 changed files with 406 additions and 413 deletions
|
@ -399,8 +399,7 @@ enum phy_reg_pg_type {
|
|||
|
||||
/*2011/09/22 MH Copy from SD4 defined structure. We use to support PHY DM integration.*/
|
||||
|
||||
struct PHY_DM_STRUCT
|
||||
{
|
||||
struct PHY_DM_STRUCT {
|
||||
/*Add for different team use temporarily*/
|
||||
struct _ADAPTER *adapter; /*For CE/NIC team*/
|
||||
struct rtl8192cd_priv *priv; /*For AP/ADSL team*/
|
||||
|
|
|
@ -1646,7 +1646,7 @@ void odm_fast_ant_training_callback(struct timer_list *t)
|
|||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
|
||||
struct PHY_DM_STRUCT *p_dm_odm = (struct PHY_DM_STRUCT *)p_dm_void;
|
||||
#else
|
||||
struct PHY_DM_STRUCT *p_dm_odm = from_timer(p_gm_odm, t, fast_ant_training_timer);
|
||||
struct PHY_DM_STRUCT *p_dm_odm = from_timer(p_dm_odm, t, fast_ant_training_timer);
|
||||
#endif
|
||||
struct _ADAPTER *padapter = p_dm_odm->adapter;
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
/*---------------------------End Define Parameters-------------------------------*/
|
||||
|
||||
struct _IQK_INFORMATION {
|
||||
boolean LOK_fail[NUM];
|
||||
boolean IQK_fail[2][NUM];
|
||||
bool LOK_fail[NUM];
|
||||
bool IQK_fail[2][NUM];
|
||||
u32 iqc_matrix[2][NUM];
|
||||
u8 iqk_times;
|
||||
u32 rf_reg18;
|
||||
|
@ -48,7 +48,7 @@ struct _IQK_INFORMATION {
|
|||
u8 kcount;
|
||||
|
||||
u32 iqk_channel[2];
|
||||
boolean IQK_fail_report[2][4][2]; /*channel/path/TRX(TX:0, RX:1) */
|
||||
bool IQK_fail_report[2][4][2]; /*channel/path/TRX(TX:0, RX:1) */
|
||||
u32 IQK_CFIR_real[2][4][2][8]; /*channel / path / TRX(TX:0, RX:1) / CFIR_real*/
|
||||
u32 IQK_CFIR_imag[2][4][2][8]; /*channel / path / TRX(TX:0, RX:1) / CFIR_imag*/
|
||||
u8 retry_count[2][4][3]; /* channel / path / (TXK:0, RXK1:1, RXK2:2) */
|
||||
|
@ -58,8 +58,8 @@ struct _IQK_INFORMATION {
|
|||
u16 RXIQK_AGC[2][4]; /*channel / path*/
|
||||
u32 bypass_iqk[2][4]; /*channel / 0xc94/0xe94*/
|
||||
u32 tmp_GNTWL;
|
||||
boolean is_BTG;
|
||||
boolean isbnd;
|
||||
bool is_BTG;
|
||||
bool isbnd;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue