Lines Matching refs:p_ra
196 struct rate_adaptive *p_ra = &rtlpriv->ra; in rtl8723be_dm_init_rate_adaptive_mask() local
198 p_ra->ratr_state = DM_RATR_STA_INIT; in rtl8723be_dm_init_rate_adaptive_mask()
199 p_ra->pre_ratr_state = DM_RATR_STA_INIT; in rtl8723be_dm_init_rate_adaptive_mask()
206 p_ra->high_rssi_thresh_for_ra = 50; in rtl8723be_dm_init_rate_adaptive_mask()
207 p_ra->low_rssi_thresh_for_ra40m = 20; in rtl8723be_dm_init_rate_adaptive_mask()
910 struct rate_adaptive *p_ra = &rtlpriv->ra; in rtl8723be_dm_refresh_rate_adaptive_mask() local
911 u32 low_rssithresh_for_ra = p_ra->low2high_rssi_thresh_for_ra40m; in rtl8723be_dm_refresh_rate_adaptive_mask()
912 u32 high_rssithresh_for_ra = p_ra->high_rssi_thresh_for_ra; in rtl8723be_dm_refresh_rate_adaptive_mask()
930 switch (p_ra->pre_ratr_state) { in rtl8723be_dm_refresh_rate_adaptive_mask()
944 p_ra->ratr_state = DM_RATR_STA_HIGH; in rtl8723be_dm_refresh_rate_adaptive_mask()
947 p_ra->ratr_state = DM_RATR_STA_MIDDLE; in rtl8723be_dm_refresh_rate_adaptive_mask()
949 p_ra->ratr_state = DM_RATR_STA_LOW; in rtl8723be_dm_refresh_rate_adaptive_mask()
951 if (p_ra->pre_ratr_state != p_ra->ratr_state) { in rtl8723be_dm_refresh_rate_adaptive_mask()
956 "RSSI_LEVEL = %d\n", p_ra->ratr_state); in rtl8723be_dm_refresh_rate_adaptive_mask()
959 p_ra->pre_ratr_state, p_ra->ratr_state); in rtl8723be_dm_refresh_rate_adaptive_mask()
965 p_ra->ratr_state, in rtl8723be_dm_refresh_rate_adaptive_mask()
969 p_ra->pre_ratr_state = p_ra->ratr_state; in rtl8723be_dm_refresh_rate_adaptive_mask()