Lines Matching refs:rstate
223 struct rtw_wifi_role_t *wrole, enum role_state rstate) in _phl_send_role_notify_cmd() argument
237 rcmd->rstate = rstate; in _phl_send_role_notify_cmd()
264 enum role_state rstate) in _phl_role_notify() argument
266 if (rstate >= PHL_ROLE_STATE_UNKNOWN) { in _phl_role_notify()
267 PHL_ERR("%s unknow rstate:%d\n", __func__, rstate); in _phl_role_notify()
272 _phl_send_role_notify_cmd(phl_info, wrole, rstate); in _phl_role_notify()
275 rtw_phl_btc_role_notify(phl_info, wrole->id, rstate); in _phl_role_notify()
556 enum role_state rstate; in phl_role_ap_client_notify() local
559 rstate = PHL_ROLE_MSTS_STA_CONN_START; in phl_role_ap_client_notify()
561 rstate = PHL_ROLE_MSTS_STA_CONN_END; in phl_role_ap_client_notify()
563 rstate = PHL_ROLE_MSTS_STA_DIS_CONN; in phl_role_ap_client_notify()
565 _phl_role_notify(phl_info, wrole, rstate); in phl_role_ap_client_notify()
567 phl_mcc_client_link_notify_for_ap(phl_info, wrole, rstate); in phl_role_ap_client_notify()
575 enum role_state rstate = PHL_ROLE_STATE_UNKNOWN; in phl_role_notify() local
582 rstate = PHL_ROLE_MSTS_STA_CONN_START; in phl_role_notify()
584 rstate = PHL_ROLE_MSTS_STA_CONN_END; in phl_role_notify()
586 rstate = PHL_ROLE_MSTS_STA_DIS_CONN; in phl_role_notify()
595 rstate = (wrole->mstate == MLME_NO_LINK) in phl_role_notify()
619 _phl_role_notify(phl_info, wrole, rstate); in phl_role_notify()