P2PS: Add CPT handling on PD request and response
authorMax Stepanov <Max.Stepanov@intel.com>
Thu, 2 Jul 2015 13:21:22 +0000 (16:21 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 21:47:19 +0000 (00:47 +0300)
commitc3ddf2c79848f7ce070a7619d0a80fb797547a4b
treedf35a438f7a36a9d82ac71be6392021f058b5921
parent0670de74ae1b842712b09f48af2e33547d2f34a2
P2PS: Add CPT handling on PD request and response

On PD Request/follow-on PD Request preparation set a feature capability
CPT value of PD context.

On PD Request processing use a request CPT and service advertisement
CPT priority list to select a feature capability CPT of PD Response.

On follow-on PD Request processing use a request CPT and a CPT priority
list in PD context to select a CPT value of follow on PD Response.

Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
src/common/ieee802_11_defs.h
src/p2p/p2p_pd.c