Lines Matching defs:hal

390 		for (i = 0; i < rtwdev->hal.tx_nss; i++)
446 ra->ss_num = min(sta->deflink.rx_nss, rtwdev->hal.tx_nss) - 1;
553 u8 tx_nss = rtwdev->hal.tx_nss;
1557 u8 cv = rtwdev->hal.cv;
3914 if (rtwdev->chip->chip_id == RTL8852A && rtwdev->hal.cv == CHIP_CBV)
4325 if (chip->chip_id == RTL8852B && rtwdev->hal.cv > CHIP_CBV)
4558 struct rtw89_hal *hal = &rtwdev->hal;
4560 if (!hal->ant_diversity || hal->ant_diversity_fixed)
4568 if (hal->antenna_rx == RF_A)
4570 else if (hal->antenna_rx == RF_B)
4614 struct rtw89_hal *hal = &rtwdev->hal;
4616 if (!hal->ant_diversity)
5360 if (!rtwdev->hal.support_igi)
5593 if (!rtwdev->hal.support_igi)
5625 if (!rtwdev->hal.support_igi)
5692 if (!rtwdev->hal.support_cckpd)
5771 struct rtw89_hal *hal = &rtwdev->hal;
5794 if (hal->antenna_tx == candidate)
5797 hal->antenna_tx = candidate;
5800 if (hal->antenna_tx == RF_A) {
5803 } else if (hal->antenna_tx == RF_B) {
5811 struct rtw89_hal *hal = &rtwdev->hal;
5814 if (!hal->tx_path_diversity)
5827 struct rtw89_hal *hal = &rtwdev->hal;
5830 if (!hal->ant_diversity || hal->antenna_tx == 0)
5833 if (hal->antenna_tx == RF_B) {
5853 struct rtw89_hal *hal = &rtwdev->hal;
5855 hal->antenna_rx = hal->antenna_rx == RF_A ? RF_B : RF_A;
5856 hal->antenna_tx = hal->antenna_rx;
5862 struct rtw89_hal *hal = &rtwdev->hal;
5893 hal->antenna_tx = candidate;
5894 hal->antenna_rx = candidate;
5942 struct rtw89_hal *hal = &rtwdev->hal;
5945 if (!hal->ant_diversity || hal->ant_diversity_fixed)
5969 struct rtw89_edcca_bak *edcca_bak = &rtwdev->hal.edcca_bak;
5973 if (rtwdev->chip->chip_id == RTL8922A && rtwdev->hal.cv == CHIP_CAV) {
6340 struct rtw89_edcca_bak *edcca_bak = &rtwdev->hal.edcca_bak;
6490 struct rtw89_edcca_bak *edcca_bak = &rtwdev->hal.edcca_bak;
6512 struct rtw89_hal *hal = &rtwdev->hal;
6514 if (hal->disabled_dm_bitmap & BIT(RTW89_DM_DYNAMIC_EDCCA))