Commit c6821613 authored by Yan-Hsuan Chuang's avatar Yan-Hsuan Chuang Committed by Kalle Valo

rtlwifi: btcoex: follow linux coding style

Fix a number of checkpatch.pl warnings. In addition, some variable and
function names are shortened, and/or renamed to be more consistent.
Signed-off-by: default avatarYan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 27a31a60
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -116,7 +116,7 @@ struct coex_dm_8192e_2ant { ...@@ -116,7 +116,7 @@ struct coex_dm_8192e_2ant {
u32 backup_arfr_cnt1; /* Auto Rate Fallback Retry cnt */ u32 backup_arfr_cnt1; /* Auto Rate Fallback Retry cnt */
u32 backup_arfr_cnt2; /* Auto Rate Fallback Retry cnt */ u32 backup_arfr_cnt2; /* Auto Rate Fallback Retry cnt */
u16 backup_retrylimit; u16 backup_retry_limit;
u8 backup_ampdu_maxtime; u8 backup_ampdu_maxtime;
/* algorithm related */ /* algorithm related */
...@@ -125,18 +125,18 @@ struct coex_dm_8192e_2ant { ...@@ -125,18 +125,18 @@ struct coex_dm_8192e_2ant {
u8 bt_status; u8 bt_status;
u8 wifi_chnl_info[3]; u8 wifi_chnl_info[3];
u8 pre_sstype; u8 pre_ss_type;
u8 cur_sstype; u8 cur_ss_type;
u32 prera_mask; u32 pre_ra_mask;
u32 curra_mask; u32 cur_ra_mask;
u8 curra_masktype; u8 cur_ra_mask_type;
u8 pre_arfrtype; u8 pre_arfr_type;
u8 cur_arfrtype; u8 cur_arfr_type;
u8 pre_retrylimit_type; u8 pre_retry_limit_type;
u8 cur_retrylimit_type; u8 cur_retry_limit_type;
u8 pre_ampdutime_type; u8 pre_ampdu_time_type;
u8 cur_ampdutime_type; u8 cur_ampdu_time_type;
}; };
struct coex_sta_8192e_2ant { struct coex_sta_8192e_2ant {
......
...@@ -148,6 +148,7 @@ struct coex_sta_8723b_2ant { ...@@ -148,6 +148,7 @@ struct coex_sta_8723b_2ant {
bool c2h_bt_inquiry_page; bool c2h_bt_inquiry_page;
u8 bt_retry_cnt; u8 bt_retry_cnt;
u8 bt_info_ext; u8 bt_info_ext;
u32 pop_event_cnt;
}; };
/********************************************************************* /*********************************************************************
......
...@@ -146,7 +146,7 @@ struct coex_sta_8821a_1ant { ...@@ -146,7 +146,7 @@ struct coex_sta_8821a_1ant {
bool hid_exist; bool hid_exist;
bool pan_exist; bool pan_exist;
bool under_Lps; bool under_lps;
bool under_ips; bool under_ips;
u32 special_pkt_period_cnt; u32 special_pkt_period_cnt;
u32 high_priority_tx; u32 high_priority_tx;
......
...@@ -466,7 +466,7 @@ static bool halbtc_set(void *void_btcoexist, u8 set_type, void *in_buf) ...@@ -466,7 +466,7 @@ static bool halbtc_set(void *void_btcoexist, u8 set_type, void *in_buf)
case BTC_SET_ACT_DISABLE_LOW_POWER: case BTC_SET_ACT_DISABLE_LOW_POWER:
halbtc_disable_low_power(); halbtc_disable_low_power();
break; break;
case BTC_SET_ACT_UPDATE_ra_mask: case BTC_SET_ACT_UPDATE_RAMASK:
btcoexist->bt_info.ra_mask = *u32_tmp; btcoexist->bt_info.ra_mask = *u32_tmp;
break; break;
case BTC_SET_ACT_SEND_MIMO_PS: case BTC_SET_ACT_SEND_MIMO_PS:
......
...@@ -275,7 +275,7 @@ enum btc_set_type { ...@@ -275,7 +275,7 @@ enum btc_set_type {
BTC_SET_ACT_NORMAL_LPS, BTC_SET_ACT_NORMAL_LPS,
BTC_SET_ACT_INC_FORCE_EXEC_PWR_CMD_CNT, BTC_SET_ACT_INC_FORCE_EXEC_PWR_CMD_CNT,
BTC_SET_ACT_DISABLE_LOW_POWER, BTC_SET_ACT_DISABLE_LOW_POWER,
BTC_SET_ACT_UPDATE_ra_mask, BTC_SET_ACT_UPDATE_RAMASK,
BTC_SET_ACT_SEND_MIMO_PS, BTC_SET_ACT_SEND_MIMO_PS,
/* BT Coex related */ /* BT Coex related */
BTC_SET_ACT_CTRL_BT_INFO, BTC_SET_ACT_CTRL_BT_INFO,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment