Lines Matching refs:wrole
26 struct rtw_wifi_role_t *wrole = NULL; in _phl_thermal_protect_disable_all_txop() local
33 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, i); in _phl_thermal_protect_disable_all_txop()
34 if(wrole){ in _phl_thermal_protect_disable_all_txop()
35 if(wrole->mstate == MLME_LINKED) in _phl_thermal_protect_disable_all_txop()
38 wrole = NULL; in _phl_thermal_protect_disable_all_txop()
43 if(wrole == NULL) in _phl_thermal_protect_disable_all_txop()
46 sta = rtw_phl_get_stainfo_self(phl_info, wrole); in _phl_thermal_protect_disable_all_txop()
56 if(rtw_hal_set_edca(phl_info->hal, wrole, edca.ac, edca.param) in _phl_thermal_protect_disable_all_txop()
68 struct rtw_wifi_role_t *wrole = NULL; in _phl_thermal_protect_reduce_ampdu_num() local
74 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, i); in _phl_thermal_protect_reduce_ampdu_num()
75 if(wrole){ in _phl_thermal_protect_reduce_ampdu_num()
76 if(wrole->mstate == MLME_LINKED) in _phl_thermal_protect_reduce_ampdu_num()
79 wrole = NULL; in _phl_thermal_protect_reduce_ampdu_num()
84 if(wrole == NULL) in _phl_thermal_protect_reduce_ampdu_num()
87 sta = rtw_phl_get_stainfo_self(phl_info, wrole); in _phl_thermal_protect_reduce_ampdu_num()