Lines Matching +full:wifi +full:- +full:2
2 * Fundamental types and constants relating to WFA P2P (aka WiFi Direct)
6 * Copyright (C) 1999-2017, Broadcom Corporation
10 * under the terms of the GNU General Public License version 2 (the "GPL"),
27 * <<Broadcom-WL-IPTag/Open:>>
44 /* WiFi P2P OUI values */
45 #define P2P_VER WFA_OUI_TYPE_P2P /* P2P version: 9=WiFi P2P v1.0 */
49 /* WiFi P2P IE */
53 uint8 OUI[3]; /* WiFi P2P specific OUI: P2P_OUI */
66 #define P2P_ATTR_LEN_LEN 2 /* length field length */
67 #define P2P_ATTR_HDR_LEN 3 /* ID + 2-byte length field spec 1.02 */
72 /* P2P IE Subelement IDs from WiFi P2P Technical Spec 1.00 */
75 #define P2P_SEID_P2P_INFO 2 /* P2P Capability (capabilities info) */
101 #define P2P_SEID_VNDR 221 /* Vendor-specific subelement */
105 /* WiFi P2P IE subelement: P2P Capability (capabilities info) */
108 uint8 len[2]; /* SE length not including eltId, len fields */
126 #define P2P_CAPSE_GRP_INTRA_BSS 0x8 /* Intra-BSS Distribution */
131 /* WiFi P2P IE subelement: Group Owner Intent */
134 uint8 len[2]; /* SE length not including eltId, len fields */
139 /* WiFi P2P IE subelement: Configuration Timeout */
142 uint8 len[2]; /* SE length not including eltId, len fields */
148 /* WiFi P2P IE subelement: Listen Channel */
151 uint8 len[2]; /* SE length not including eltId, len fields */
158 /* WiFi P2P IE subelement: P2P Group BSSID */
161 uint8 len[2]; /* SE length not including eltId, len fields */
166 /* WiFi P2P IE subelement: P2P Group ID */
169 uint8 len[2]; /* SE length not including eltId, len fields */
175 /* WiFi P2P IE subelement: P2P Interface */
178 uint8 len[2]; /* SE length not including eltId, len fields */
185 /* WiFi P2P IE subelement: Status */
188 uint8 len[2]; /* SE length not including eltId, len fields */
200 #define P2P_STATSE_FAIL_INCOMPAT_PARAMS 2
223 /* WiFi P2P IE attribute: Extended Listen Timing */
226 uint8 len[2]; /* length not including eltId, len fields */
227 uint8 avail[2]; /* availibility period */
228 uint8 interval[2]; /* availibility interval */
234 /* WiFi P2P IE subelement: Intended P2P Interface Address */
237 uint8 len[2]; /* SE length not including eltId, len fields */
242 /* WiFi P2P IE subelement: Channel */
245 uint8 len[2]; /* SE length not including eltId, len fields */
258 #define WIFI_P2P_CHANLIST_SE_MAX_ENTRIES 2
260 /* WiFi P2P IE subelement: Channel List */
263 uint8 len[2]; /* SE length not including eltId, len fields */
271 /* WiFi Primary Device Type structure */
280 /* WiFi P2P Device Info Sub Element Primary Device Type Sub Category
286 #define P2P_DISE_CATEGORY_INPUT_DEVICE 2
307 /* WiFi P2P IE's Device Info subelement */
310 uint8 len[2]; /* SE length not including eltId, len fields */
319 /* WiFi P2P IE's Group Info subelement Client Info Descriptor */
325 uint8 cfg_meths[2]; /* Config Methods: reg_prototlv.h WPS_CONFMET_* */
331 /* WiFi P2P IE's Device ID subelement */
334 uint8 len[2];
339 /* WiFi P2P IE subelement: P2P Manageability */
342 uint8 len[2]; /* SE length not including eltId, len fields */
349 /* WiFi P2P IE subelement: Group Info */
352 uint8 len[2]; /* SE length not including eltId, len fields */
356 /* WiFi IE subelement: Operating Channel */
359 uint8 len[2]; /* SE length not including eltId, len fields */
366 /* WiFi IE subelement: INVITATION FLAGS */
369 uint8 len[2]; /* SE length not including eltId, len fields */
374 /* WiFi P2P IE subelement: Service Hash */
377 uint8 len[2]; /* SE length not including eltId, len fields
380 uint8 hash[1]; /* Variable length - SHA256 hash of
386 /* WiFi P2P IE subelement: Service Instance Data */
389 uint8 len[2]; /* SE length not including eltId, len */
390 uint8 ssn_info[1]; /* Variable length - Session information as specified by
396 /* WiFi P2P IE subelement: Connection capability */
399 uint8 len[2]; /* SE length not including eltId, len */
406 /* WiFi P2P IE subelement: Advertisement ID */
409 uint8 len[2]; /* SE length not including eltId, len fixed 4 Bytes */
417 /* WiFi P2P IE subelement: Advertise Service Hash */
426 /* WiFi P2P IE subelement: Advertise Service Hash */
429 uint8 len[2]; /* SE length not including eltId, len fields mutiple len of
439 /* WiFi P2P IE subelement: Session ID */
442 uint8 len[2]; /* SE length not including eltId, len fixed 4 Bytes */
446 uint8 ssn_mac[6]; /* P2P device address of the seeker - session mac */
455 /* WiFi P2P Action Frame */
458 uint8 OUI[3]; /* OUI - P2P_OUI */
459 uint8 type; /* OUI Type - P2P_VER */
460 uint8 subtype; /* OUI Subtype - P2P_AF_* */
463 * ACTION_FRAME_SIZE - sizeof(this structure) - 1
471 /* WiFi P2P Action Frame OUI Subtypes */
474 #define P2P_AF_PRESENCE_RSP 2 /* P2P Presence Response */
477 /* WiFi P2P Public Action Frame */
482 uint8 oui_type; /* OUI type - P2P_VER */
483 uint8 subtype; /* OUI subtype - P2P_TYPE_* */
486 * ACTION_FRAME_SIZE - sizeof(this structure) - 1
494 /* WiFi P2P Public Action Frame OUI Subtypes */
497 #define P2P_PAF_GON_CONF 2 /* Group Owner Negotiation Confirm */
511 /* WiFi P2P IE subelement: Notice of Absence */
522 uint8 len[2]; /* Length */
531 #define P2P_NOA_SE_MAX_DESC 2 /* max NoA descriptors in presence request */
537 #define P2P_NOA_DESC_TYPE_ACCEPTABLE 2 /* acceptable limits */
562 /* Query Response Length Limit 7 bits plus PAME-BI 1 bit */
578 SVC_RPOTYPE_UPNP = 2,
588 P2PSD_RESP_STATUS_DATA_NA = 2,
594 uint8 llm_pamebi; /* Query Response Length Limit bit 0-6, set to 0 plus
595 * Pre-Associated Message Exchange BSSID Independent bit 7, set to 0
603 uint8 id; /* IE ID: 0x6c - 108 */
611 /* NQP Vendor-specific Content */
626 uint8 query_data[1]; /* Query Data, passed in from above Layer 2 */
635 uint8 qreq_vsc[1]; /* Vendor-specific Content: wifi_p2psd_nqp_query_vsc_t type for NQP */
654 uint8 query_data[1]; /* Response Data, passed in from above Layer 2 */
663 uint8 qresp_vsc[1]; /* Vendor-specific Content: wifi_p2psd_qresp_tlv_t type for NQP */
670 uint16 status; /* Value defined in Table 7-23 of IEEE P802.11u */
680 uint16 status; /* Value defined in Table 7-23 of IEEE P802.11u */
689 /* Wi-Fi GAS Public Action Frame */