fragattacks/src/p2p
Jouni Malinen 86bd36f0d5 Add generic mechanism for adding vendor elements into frames
This adds following new control interface commands to allow arbitrary
vendor elements to be added into number of frames:

VENDOR_ELEM_ADD <frame id> <hexdump of elem(s)>
VENDOR_ELEM_GET <frame id>
VENDOR_ELEM_REMOVE <frame id> <hexdump of elem(s)>
VENDOR_ELEM_REMOVE <frame id> *

The following frames are supported in this commit (additional frames can
be added in the future):

0 = Probe Request frame in P2P device discovery
1 = Probe Response frame from P2P Device role
2 = Probe Response frame from P2P GO
3 = Beacon frame from P2P GO
4 = PD Req
5 = PD Resp
6 = GO Neg Req
7 = GO Neg Resp
8 = GO Neg Conf
9 = Invitation Request
10 = Invitation Response
11 = P2P Association Request
12 = P2P Association Response

One or more vendor element can be added/removed with the commands. The
hexdump of the element(s) needs to contain the full element (id, len,
payload) and the buffer needs to pass IE parsing requirements to be
accepted.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-07-07 12:25:09 +03:00
..
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p_build.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
p2p_dev_disc.c P2P: Fix SD and DevDisc to limit maximum wait time per driver support 2014-06-12 10:49:19 +03:00
p2p_go_neg.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_group.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_i.h Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_invitation.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_parse.c P2P NFC: Static handover with NFC Tag on client 2014-01-27 21:44:30 +02:00
p2p_pd.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_sd.c P2P: Fix SD and DevDisc to limit maximum wait time per driver support 2014-06-12 10:49:19 +03:00
p2p_utils.c P2P: Modify p2p_get_pref_freq 2014-06-15 00:21:41 +03:00
p2p.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p.h Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00