Lines Matching refs:role
1382 u8 role = auth->r_capab & DPP_CAPAB_ROLE_MASK; in dpp_auth_resp_rx_status() local
1384 if ((auth->configurator && role != DPP_CAPAB_ENROLLEE) || in dpp_auth_resp_rx_status()
1385 (!auth->configurator && role != DPP_CAPAB_CONFIGURATOR)) { in dpp_auth_resp_rx_status()
1388 role); in dpp_auth_resp_rx_status()
1418 u8 role; in dpp_auth_resp_rx() local
1642 role = auth->r_capab & DPP_CAPAB_ROLE_MASK; in dpp_auth_resp_rx()
1645 (role == DPP_CAPAB_CONFIGURATOR || role == DPP_CAPAB_ENROLLEE)) { in dpp_auth_resp_rx()
1648 auth->configurator = role == DPP_CAPAB_ENROLLEE; in dpp_auth_resp_rx()
1651 } else if ((auth->configurator && role != DPP_CAPAB_ENROLLEE) || in dpp_auth_resp_rx()
1652 (!auth->configurator && role != DPP_CAPAB_CONFIGURATOR)) { in dpp_auth_resp_rx()
1656 role); in dpp_auth_resp_rx()
1657 if (role != DPP_CAPAB_ENROLLEE && in dpp_auth_resp_rx()
1658 role != DPP_CAPAB_CONFIGURATOR) in dpp_auth_resp_rx()