Home
last modified time | relevance | path

Searched refs:dm_info (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dphy.c113 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_cck_pd_init() local
118 dm_info->cck_pd_lv[i][j] = CCK_PD_LV0; in rtw_phy_cck_pd_init()
121 dm_info->cck_fa_avg = CCK_FA_AVG_RESET; in rtw_phy_cck_pd_init()
142 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_adaptivity_set_mode() local
146 dm_info->edcca_mode = RTW_EDCCA_NORMAL; in rtw_phy_adaptivity_set_mode()
153 dm_info->edcca_mode = RTW_EDCCA_ADAPTIVITY; in rtw_phy_adaptivity_set_mode()
154 dm_info->l2h_th_ini = chip->l2h_th_ini_ad; in rtw_phy_adaptivity_set_mode()
157 dm_info->edcca_mode = RTW_EDCCA_ADAPTIVITY; in rtw_phy_adaptivity_set_mode()
158 dm_info->l2h_th_ini = chip->l2h_th_ini_cs; in rtw_phy_adaptivity_set_mode()
161 dm_info->edcca_mode = RTW_EDCCA_NORMAL; in rtw_phy_adaptivity_set_mode()
[all …]
Ddebug.c161 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_debugfs_get_fix_rate() local
162 u8 fix_rate = dm_info->fix_rate; in rtw_debugfs_get_fix_rate()
486 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_debugfs_set_fix_rate() local
501 dm_info->fix_rate = fix_rate; in rtw_debugfs_set_fix_rate()
715 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_debugfs_get_simple_phy_info() local
719 dm_info->rssi[RF_PATH_A] - 100, hal->current_channel); in rtw_debugfs_get_simple_phy_info()
725 rtw_print_rate(m, dm_info->tx_rate); in rtw_debugfs_get_simple_phy_info()
726 seq_printf(m, "(0x%x)\n", dm_info->tx_rate); in rtw_debugfs_get_simple_phy_info()
729 rtw_print_rate(m, dm_info->curr_rx_rate); in rtw_debugfs_get_simple_phy_info()
730 seq_printf(m, "(0x%x)\n", dm_info->curr_rx_rate); in rtw_debugfs_get_simple_phy_info()
[all …]
Drtw8821c.c135 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8821c_pwrtrack_init() local
139 dm_info->default_ofdm_index = 24; in rtw8821c_pwrtrack_init()
141 dm_info->default_ofdm_index = swing_idx; in rtw8821c_pwrtrack_init()
143 ewma_thermal_init(&dm_info->avg_thermal[RF_PATH_A]); in rtw8821c_pwrtrack_init()
144 dm_info->delta_power_index[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init()
145 dm_info->delta_power_index_last[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init()
146 dm_info->pwr_trk_triggered = false; in rtw8821c_pwrtrack_init()
147 dm_info->pwr_trk_init_trigger = true; in rtw8821c_pwrtrack_init()
148 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8821c_pwrtrack_init()
200 rtwdev->dm_info.cck_pd_default = rtw_read8(rtwdev, REG_CSRATIO) & 0x1f; in rtw8821c_phy_set_param()
[all …]
Drtw8723d.c120 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8723d_pwrtrack_init() local
123 dm_info->default_ofdm_index = RTW_DEF_OFDM_SWING_INDEX; in rtw8723d_pwrtrack_init()
126 ewma_thermal_init(&dm_info->avg_thermal[path]); in rtw8723d_pwrtrack_init()
127 dm_info->delta_power_index[path] = 0; in rtw8723d_pwrtrack_init()
129 dm_info->pwr_trk_triggered = false; in rtw8723d_pwrtrack_init()
130 dm_info->pwr_trk_init_trigger = true; in rtw8723d_pwrtrack_init()
131 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8723d_pwrtrack_init()
132 dm_info->txagc_remnant_cck = 0; in rtw8723d_pwrtrack_init()
133 dm_info->txagc_remnant_ofdm = 0; in rtw8723d_pwrtrack_init()
195 rtwdev->dm_info.cck_pd_default = rtw_read8(rtwdev, REG_CSRATIO) & 0x1f; in rtw8723d_phy_set_param()
[all …]
Drtw8822b.c126 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822b_pwrtrack_init() local
131 dm_info->default_ofdm_index = 24; in rtw8822b_pwrtrack_init()
133 dm_info->default_ofdm_index = swing_idx; in rtw8822b_pwrtrack_init()
136 ewma_thermal_init(&dm_info->avg_thermal[path]); in rtw8822b_pwrtrack_init()
137 dm_info->delta_power_index[path] = 0; in rtw8822b_pwrtrack_init()
139 dm_info->pwr_trk_triggered = false; in rtw8822b_pwrtrack_init()
140 dm_info->pwr_trk_init_trigger = true; in rtw8822b_pwrtrack_init()
141 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8822b_pwrtrack_init()
841 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in query_phy_status_page0() local
851 dm_info->rssi[RF_PATH_A] = pkt_stat->rssi; in query_phy_status_page0()
[all …]
Drtw8822c.c396 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_adc() local
446 dm_info->dack_adck[path] = temp; in rtw8822c_dac_cal_adc()
473 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_step1() local
480 rtw_write32(rtwdev, base_addr + 0x68, dm_info->dack_adck[path]); in rtw8822c_dac_cal_step1()
655 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_backup_vec() local
665 dm_info->dack_msbk[path][vec][i] = val; in rtw8822c_dac_cal_backup_vec()
691 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw8822c_dac_cal_backup_dck() local
695 dm_info->dack_dck[RF_PATH_A][0][0] = val; in rtw8822c_dac_cal_backup_dck()
697 dm_info->dack_dck[RF_PATH_A][0][1] = val; in rtw8822c_dac_cal_backup_dck()
699 dm_info->dack_dck[RF_PATH_A][1][0] = val; in rtw8822c_dac_cal_backup_dck()
[all …]
Drx.c46 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_rx_phy_stat() local
47 struct rtw_pkt_count *cur_pkt_cnt = &dm_info->cur_pkt_count; in rtw_rx_phy_stat()
51 dm_info->curr_rx_rate = pkt_stat->rate; in rtw_rx_phy_stat()
83 ewma_evm_add(&dm_info->ewma_evm[idx], in rtw_rx_phy_stat()
84 dm_info->rx_evm_dbm[i]); in rtw_rx_phy_stat()
89 ewma_snr_add(&dm_info->ewma_snr[idx], in rtw_rx_phy_stat()
90 dm_info->rx_snr[i]); in rtw_rx_phy_stat()
Dcoex.c262 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_coex_wl_noisy_detect() local
267 cnt_cck = dm_info->cck_ok_cnt + dm_info->cck_err_cnt; in rtw_coex_wl_noisy_detect()
569 rssi = rtwdev->dm_info.min_rssi; in rtw_coex_update_wl_link_info()
3913 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_coex_display_coex_info() local
4143 dm_info->cck_ok_cnt, dm_info->ofdm_ok_cnt, in rtw_coex_display_coex_info()
4144 dm_info->ht_ok_cnt, dm_info->vht_ok_cnt); in rtw_coex_display_coex_info()
4147 dm_info->cck_err_cnt, dm_info->ofdm_err_cnt, in rtw_coex_display_coex_info()
4148 dm_info->ht_err_cnt, dm_info->vht_err_cnt); in rtw_coex_display_coex_info()
4159 -dm_info->rx_evm_dbm[RF_PATH_A], in rtw_coex_display_coex_info()
4160 -dm_info->rx_evm_dbm[RF_PATH_B], in rtw_coex_display_coex_info()
[all …]
Dfw.c132 rtwdev->dm_info.tx_rate = GET_RA_REPORT_RATE(payload); in rtw_fw_ra_report_handle()
186 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_fw_scan_result() local
188 dm_info->scan_density = payload[0]; in rtw_fw_scan_result()
191 dm_info->scan_density); in rtw_fw_scan_result()
692 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_fw_update_wl_phy_info() local
698 SET_WL_PHY_INFO_TX_RATE_DESC(h2c_pkt, dm_info->tx_rate); in rtw_fw_update_wl_phy_info()
699 SET_WL_PHY_INFO_RX_RATE_DESC(h2c_pkt, dm_info->curr_rx_rate); in rtw_fw_update_wl_phy_info()
700 SET_WL_PHY_INFO_RX_EVM(h2c_pkt, dm_info->rx_evm_dbm[RF_PATH_A]); in rtw_fw_update_wl_phy_info()
1070 struct rtw_dpk_info *dpk_info = &rtwdev->dm_info.dpk_info; in rtw_lps_pg_dpk_get()
1866 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_fw_adaptivity() local
[all …]
Dmain.c180 rtw_chip_cfg_csi_rate(rtwdev, rtwdev->dm_info.min_rssi, in rtw_dynamic_csi_rate()
1195 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_update_sta_info() local
1242 dm_info->rrsr_val_init = RRSR_INIT_5G; in rtw_update_sta_info()
1262 dm_info->rrsr_val_init = RRSR_INIT_2G; in rtw_update_sta_info()
2072 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_stats_init() local
2079 ewma_evm_init(&dm_info->ewma_evm[i]); in rtw_stats_init()
2081 ewma_snr_init(&dm_info->ewma_snr[i]); in rtw_stats_init()
2133 rtwdev->dm_info.fix_rate = U8_MAX; in rtw_core_init()
Dtx.c333 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_tx_data_pkt_info_update() local
388 fix_rate = dm_info->fix_rate; in rtw_tx_data_pkt_info_update()
Dmain.h2001 struct rtw_dm_info dm_info; member
/linux-6.6.21/include/uapi/linux/
Dhyperv.h111 struct hv_vss_check_dm_info dm_info; member
/linux-6.6.21/drivers/hv/
Dhv_snapshot.c236 vss_transaction.msg->dm_info.flags = 0; in vss_handle_request()