Home
last modified time | relevance | path

Searched refs:pfat_table (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c1251 struct fast_ant_training *pfat_table = &rtldm->fat_table; in rtl88e_dm_update_rx_idle_ant() local
1254 if (pfat_table->rx_idle_ant != ant) { in rtl88e_dm_update_rx_idle_ant()
1259 (pfat_table->rx_idle_ant == CG_TRX_HW_ANTDIV) ? in rtl88e_dm_update_rx_idle_ant()
1262 (pfat_table->rx_idle_ant == CG_TRX_HW_ANTDIV) ? in rtl88e_dm_update_rx_idle_ant()
1266 (pfat_table->rx_idle_ant == CG_TRX_HW_ANTDIV) ? in rtl88e_dm_update_rx_idle_ant()
1269 (pfat_table->rx_idle_ant == CG_TRX_HW_ANTDIV) ? in rtl88e_dm_update_rx_idle_ant()
1290 pfat_table->rx_idle_ant = ant; in rtl88e_dm_update_rx_idle_ant()
1300 struct fast_ant_training *pfat_table = &rtldm->fat_table; in rtl88e_dm_update_tx_ant() local
1308 pfat_table->antsel_a[mac_id] = target_ant & BIT(0); in rtl88e_dm_update_tx_ant()
1309 pfat_table->antsel_b[mac_id] = (target_ant & BIT(1)) >> 1; in rtl88e_dm_update_tx_ant()
[all …]
Dtrx.c267 struct fast_ant_training *pfat_table = &rtldm->fat_table; in _rtl88ee_smart_antenna() local
270 if (pfat_table->fat_state == FAT_TRAINING_STATE) { in _rtl88ee_smart_antenna()
273 (pfat_table->antsel_rx_keep_2 << 2) | in _rtl88ee_smart_antenna()
274 (pfat_table->antsel_rx_keep_1 << 1) | in _rtl88ee_smart_antenna()
275 pfat_table->antsel_rx_keep_0; in _rtl88ee_smart_antenna()
276 pfat_table->ant_sum[antsel_tr_mux] += in _rtl88ee_smart_antenna()
278 pfat_table->ant_cnt[antsel_tr_mux]++; in _rtl88ee_smart_antenna()
284 antsel_tr_mux = (pfat_table->antsel_rx_keep_2 << 2) | in _rtl88ee_smart_antenna()
285 (pfat_table->antsel_rx_keep_1 << 1) | in _rtl88ee_smart_antenna()
286 pfat_table->antsel_rx_keep_0; in _rtl88ee_smart_antenna()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c2982 struct fast_ant_training *pfat_table = &rtldm->fat_table; in rtl8821ae_dm_set_tx_ant_by_tx_info() local
2988 SET_TX_DESC_TX_ANT(pdesc, pfat_table->antsel_a[mac_id]); in rtl8821ae_dm_set_tx_ant_by_tx_info()