Lines Matching refs:min_rssi
278 u8 min_rssi; member
293 iter_data->min_rssi = min_t(u8, rssi, iter_data->min_rssi); in rtw_phy_stat_rssi_iter()
302 data.min_rssi = U8_MAX; in rtw_phy_stat_rssi()
305 dm_info->pre_min_rssi = dm_info->min_rssi; in rtw_phy_stat_rssi()
306 dm_info->min_rssi = data.min_rssi; in rtw_phy_stat_rssi()
345 u8 min_rssi; in rtw_phy_dig_check_damping() local
350 min_rssi = dm_info->min_rssi; in rtw_phy_dig_check_damping()
353 diff = min_rssi > damping_rssi ? min_rssi - damping_rssi : in rtw_phy_dig_check_damping()
354 damping_rssi - min_rssi; in rtw_phy_dig_check_damping()
394 dm_info->damping_rssi = min_rssi; in rtw_phy_dig_check_damping()
405 u8 min_rssi; in rtw_phy_dig_get_boundary() local
411 min_rssi = max_t(u8, dm_info->min_rssi, dig_min); in rtw_phy_dig_get_boundary()
416 min_rssi = dig_min; in rtw_phy_dig_get_boundary()
420 dig_max = min_t(u8, dig_max, min_rssi + DIG_RSSI_GAIN_OFFSET); in rtw_phy_dig_get_boundary()
422 *lower = clamp_t(u8, min_rssi, dig_min, dig_mid); in rtw_phy_dig_get_boundary()
429 u8 min_rssi, pre_min_rssi; in rtw_phy_dig_get_threshold() local
431 min_rssi = dm_info->min_rssi; in rtw_phy_dig_get_threshold()
441 if (pre_min_rssi > min_rssi) { in rtw_phy_dig_get_threshold()
696 u8 rssi = dm_info->min_rssi; in rtw_phy_cck_pd_lv_link()
737 dm_info->igi_history[0], dm_info->min_rssi, in rtw_phy_cck_pd()