[PATCH 13/19] P2PS: add p2ps_supported_cpt configuration property

Jouni Malinen j
Tue Jun 16 07:10:18 PDT 2015

On Wed, Jun 10, 2015 at 11:43:43AM +0300, Ilan Peer wrote:
> The p2ps_supported_cpt configuration property allows ASP to
> specify supported Coordination Protocol Transports (CPT) and their
> priorities. The property value is a list of supported ASP trasport
> names ordred by their priority. Currently only two transports are
> supported: UDP and MAC. The property can be set with ctrl-iface P2P_SET
> command: (e.g. P2P_SET p2ps_supported_cpt UDP MAC). By default only UDP
> transport is enabled.

This would make the priority list global to the P2P Device, i.e., this
would apply to all services. Would that really cover the cases where
multiple services are available? I would expect that different services
could have different preferences for CPT especially since the current
designs would likely only support the UDP option while some newer
services may end up expecting the MAC option to be used.

Should this be done as a per-service (P2P_SERVICE_ADD,
P2P_ASP_PROVISION_RESP, P2P_ASP_PROVISION) parameter instead of an
extension to the global P2P_SET?

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list