Skip to content

Commit 36eda75

Browse files
lwfingerKalle Valo
authored andcommitted
rtlwifi: rtl8188ee: Convert macros that set descriptor
As a first step in the conversion, the macros that set the RX and TX descriptors are converted to static inline routines, and the names are changed from upper to lower case. To minimize the changes in a given step, the input descriptor information is left as as a byte array (u8 *), even though it should be a little-endian word array (__le32 *). That will be changed in the next patch. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
1 parent 66b2b06 commit 36eda75

3 files changed

Lines changed: 642 additions & 346 deletions

File tree

‎drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,9 +1414,9 @@ void rtl88e_dm_set_tx_ant_by_tx_info(struct ieee80211_hw *hw,
14141414

14151415
if ((rtlefuse->antenna_div_type == CG_TRX_HW_ANTDIV) ||
14161416
(rtlefuse->antenna_div_type == CG_TRX_SMART_ANTDIV)) {
1417-
SET_TX_DESC_ANTSEL_A(pdesc, pfat_table->antsel_a[mac_id]);
1418-
SET_TX_DESC_ANTSEL_B(pdesc, pfat_table->antsel_b[mac_id]);
1419-
SET_TX_DESC_ANTSEL_C(pdesc, pfat_table->antsel_c[mac_id]);
1417+
set_tx_desc_antsel_a(pdesc, pfat_table->antsel_a[mac_id]);
1418+
set_tx_desc_antsel_b(pdesc, pfat_table->antsel_b[mac_id]);
1419+
set_tx_desc_antsel_c(pdesc, pfat_table->antsel_c[mac_id]);
14201420
}
14211421
}
14221422

0 commit comments

Comments
 (0)