Lines Matching refs:p_ra

361 	struct rate_adaptive *p_ra = &rtlpriv->ra;  in rtl8821ae_dm_init_rate_adaptive_mask()  local
363 p_ra->ratr_state = DM_RATR_STA_INIT; in rtl8821ae_dm_init_rate_adaptive_mask()
364 p_ra->pre_ratr_state = DM_RATR_STA_INIT; in rtl8821ae_dm_init_rate_adaptive_mask()
372 p_ra->high_rssi_thresh_for_ra = 50; in rtl8821ae_dm_init_rate_adaptive_mask()
373 p_ra->low_rssi_thresh_for_ra40m = 20; in rtl8821ae_dm_init_rate_adaptive_mask()
2352 struct rate_adaptive *p_ra = &rtlpriv->ra; in rtl8821ae_dm_refresh_rate_adaptive_mask() local
2353 u32 low_rssithresh_for_ra = p_ra->low2high_rssi_thresh_for_ra40m; in rtl8821ae_dm_refresh_rate_adaptive_mask()
2354 u32 high_rssithresh_for_ra = p_ra->high_rssi_thresh_for_ra; in rtl8821ae_dm_refresh_rate_adaptive_mask()
2372 switch (p_ra->pre_ratr_state) { in rtl8821ae_dm_refresh_rate_adaptive_mask()
2386 p_ra->ratr_state = DM_RATR_STA_HIGH; in rtl8821ae_dm_refresh_rate_adaptive_mask()
2389 p_ra->ratr_state = DM_RATR_STA_MIDDLE; in rtl8821ae_dm_refresh_rate_adaptive_mask()
2391 p_ra->ratr_state = DM_RATR_STA_LOW; in rtl8821ae_dm_refresh_rate_adaptive_mask()
2393 if (p_ra->pre_ratr_state != p_ra->ratr_state) { in rtl8821ae_dm_refresh_rate_adaptive_mask()
2398 "RSSI_LEVEL = %d\n", p_ra->ratr_state); in rtl8821ae_dm_refresh_rate_adaptive_mask()
2401 p_ra->pre_ratr_state, p_ra->ratr_state); in rtl8821ae_dm_refresh_rate_adaptive_mask()
2407 sta, p_ra->ratr_state, true); in rtl8821ae_dm_refresh_rate_adaptive_mask()
2410 p_ra->pre_ratr_state = p_ra->ratr_state; in rtl8821ae_dm_refresh_rate_adaptive_mask()