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()
228 u8 cpt_priority[P2PS_FEATURE_CAPAB_CPT_MAX + 1]; member294 u8 cpt_priority[P2PS_FEATURE_CAPAB_CPT_MAX + 1]; member2360 const u8 *cpt_priority);
2747 const char *svc_info, const u8 *cpt_priority) in p2p_service_add_asp() argument2754 if (!p2p || !adv_str || !adv_str[0] || !cpt_priority) in p2p_service_add_asp()2783 for (i = 0; cpt_priority[i] && i < P2PS_FEATURE_CAPAB_CPT_MAX; i++) { in p2p_service_add_asp()2784 adv_data->cpt_priority[i] = cpt_priority[i]; in p2p_service_add_asp()2785 adv_data->cpt_mask |= cpt_priority[i]; in p2p_service_add_asp()
108 const u8 *cpt_priority);
1189 const u8 *cpt_priority) in wpas_p2p_service_add_asp() argument1195 svc_info, cpt_priority); in wpas_p2p_service_add_asp()
5304 p2ps_prov->cpt_priority)) in p2p_parse_asp_provision_cmd()5307 p2ps_prov->cpt_priority[0] = P2PS_FEATURE_CAPAB_UDP_TRANSPORT; in p2p_parse_asp_provision_cmd()5310 for (i = 0; p2ps_prov->cpt_priority[i]; i++) in p2p_parse_asp_provision_cmd()5311 p2ps_prov->cpt_mask |= p2ps_prov->cpt_priority[i]; in p2p_parse_asp_provision_cmd()