Searched refs:cpt_priority (Results 1 – 6 of 6) sorted by relevance
431 static u8 p2ps_own_preferred_cpt(const u8 *cpt_priority, u8 req_cpt_mask) in p2ps_own_preferred_cpt() argument435 for (i = 0; cpt_priority[i]; i++) in p2ps_own_preferred_cpt()436 if (req_cpt_mask & cpt_priority[i]) in p2ps_own_preferred_cpt()437 return cpt_priority[i]; in p2ps_own_preferred_cpt()747 resp_fcap.cpt = p2ps_own_preferred_cpt(p2ps_adv->cpt_priority, in p2p_process_prov_disc_req()903 resp_fcap.cpt = p2ps_own_preferred_cpt(p2p->p2ps_prov->cpt_priority, in p2p_process_prov_disc_req()
233 u8 cpt_priority[P2PS_FEATURE_CAPAB_CPT_MAX + 1]; member299 u8 cpt_priority[P2PS_FEATURE_CAPAB_CPT_MAX + 1]; member2371 const u8 *cpt_priority);
2757 const char *svc_info, const u8 *cpt_priority) in p2p_service_add_asp() argument2764 if (!p2p || !adv_str || !adv_str[0] || !cpt_priority) in p2p_service_add_asp()2793 for (i = 0; cpt_priority[i] && i < P2PS_FEATURE_CAPAB_CPT_MAX; i++) { in p2p_service_add_asp()2794 adv_data->cpt_priority[i] = cpt_priority[i]; in p2p_service_add_asp()2795 adv_data->cpt_mask |= cpt_priority[i]; in p2p_service_add_asp()
108 const u8 *cpt_priority);
1198 const u8 *cpt_priority) in wpas_p2p_service_add_asp() argument1204 svc_info, cpt_priority); in wpas_p2p_service_add_asp()
5454 p2ps_prov->cpt_priority)) in p2p_parse_asp_provision_cmd()5457 p2ps_prov->cpt_priority[0] = P2PS_FEATURE_CAPAB_UDP_TRANSPORT; in p2p_parse_asp_provision_cmd()5460 for (i = 0; p2ps_prov->cpt_priority[i]; i++) in p2p_parse_asp_provision_cmd()5461 p2ps_prov->cpt_mask |= p2ps_prov->cpt_priority[i]; in p2p_parse_asp_provision_cmd()