|
@@ -236,14 +236,16 @@ static void update_tx_ant_88eu(struct odm_dm_struct *dm_odm, u8 ant, u32 mac_id)
|
|
dm_fat_tbl->antsel_c[mac_id] = (target_ant&BIT2)>>2;
|
|
dm_fat_tbl->antsel_c[mac_id] = (target_ant&BIT2)>>2;
|
|
}
|
|
}
|
|
|
|
|
|
-void ODM_SetTxAntByTxInfo_88E(struct odm_dm_struct *dm_odm, u8 *pDesc, u8 macId)
|
|
|
|
|
|
+void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm,
|
|
|
|
+ u8 *desc, u8 mac_id)
|
|
{
|
|
{
|
|
struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable;
|
|
struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable;
|
|
|
|
|
|
- if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) || (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV)) {
|
|
|
|
- SET_TX_DESC_ANTSEL_A_88E(pDesc, dm_fat_tbl->antsel_a[macId]);
|
|
|
|
- SET_TX_DESC_ANTSEL_B_88E(pDesc, dm_fat_tbl->antsel_b[macId]);
|
|
|
|
- SET_TX_DESC_ANTSEL_C_88E(pDesc, dm_fat_tbl->antsel_c[macId]);
|
|
|
|
|
|
+ if ((dm_odm->AntDivType == CG_TRX_HW_ANTDIV) ||
|
|
|
|
+ (dm_odm->AntDivType == CG_TRX_SMART_ANTDIV)) {
|
|
|
|
+ SET_TX_DESC_ANTSEL_A_88E(desc, dm_fat_tbl->antsel_a[mac_id]);
|
|
|
|
+ SET_TX_DESC_ANTSEL_B_88E(desc, dm_fat_tbl->antsel_b[mac_id]);
|
|
|
|
+ SET_TX_DESC_ANTSEL_C_88E(desc, dm_fat_tbl->antsel_c[mac_id]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|