Lines Matching +full:wifi +full:- +full:2
2 * Fundamental types and constants relating to WFA P2P (aka WiFi Direct)
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
21 * <<Broadcom-WL-IPTag/Dual:>>
36 /* WiFi P2P OUI values */
37 #define P2P_VER WFA_OUI_TYPE_P2P /* P2P version: 9=WiFi P2P v1.0 */
41 /* WiFi P2P IE */
45 uint8 OUI[3]; /* WiFi P2P specific OUI: P2P_OUI */
58 #define P2P_ATTR_LEN_LEN 2 /* length field length */
59 #define P2P_ATTR_HDR_LEN 3 /* ID + 2-byte length field spec 1.02 */
64 /* P2P IE Subelement IDs from WiFi P2P Technical Spec 1.00 */
67 #define P2P_SEID_P2P_INFO 2 /* P2P Capability (capabilities info) */
93 #define P2P_SEID_VNDR 221 /* Vendor-specific subelement */
97 /* WiFi P2P IE subelement: P2P Capability (capabilities info) */
100 uint8 len[2]; /* SE length not including eltId, len fields */
118 #define P2P_CAPSE_GRP_INTRA_BSS 0x8 /* Intra-BSS Distribution */
123 /* WiFi P2P IE subelement: Group Owner Intent */
126 uint8 len[2]; /* SE length not including eltId, len fields */
131 /* WiFi P2P IE subelement: Configuration Timeout */
134 uint8 len[2]; /* SE length not including eltId, len fields */
140 /* WiFi P2P IE subelement: Listen Channel */
143 uint8 len[2]; /* SE length not including eltId, len fields */
150 /* WiFi P2P IE subelement: P2P Group BSSID */
153 uint8 len[2]; /* SE length not including eltId, len fields */
158 /* WiFi P2P IE subelement: P2P Group ID */
161 uint8 len[2]; /* SE length not including eltId, len fields */
167 /* WiFi P2P IE subelement: P2P Interface */
170 uint8 len[2]; /* SE length not including eltId, len fields */
177 /* WiFi P2P IE subelement: Status */
180 uint8 len[2]; /* SE length not including eltId, len fields */
192 #define P2P_STATSE_FAIL_INCOMPAT_PARAMS 2
215 /* WiFi P2P IE attribute: Extended Listen Timing */
218 uint8 len[2]; /* length not including eltId, len fields */
219 uint8 avail[2]; /* availibility period */
220 uint8 interval[2]; /* availibility interval */
226 /* WiFi P2P IE subelement: Intended P2P Interface Address */
229 uint8 len[2]; /* SE length not including eltId, len fields */
234 /* WiFi P2P IE subelement: Channel */
237 uint8 len[2]; /* SE length not including eltId, len fields */
250 #define WIFI_P2P_CHANLIST_SE_MAX_ENTRIES 2
252 /* WiFi P2P IE subelement: Channel List */
255 uint8 len[2]; /* SE length not including eltId, len fields */
263 /* WiFi Primary Device Type structure */
272 /* WiFi P2P Device Info Sub Element Primary Device Type Sub Category
278 #define P2P_DISE_CATEGORY_INPUT_DEVICE 2
299 /* WiFi P2P IE's Device Info subelement */
302 uint8 len[2]; /* SE length not including eltId, len fields */
311 /* WiFi P2P IE's Group Info subelement Client Info Descriptor */
317 uint8 cfg_meths[2]; /* Config Methods: reg_prototlv.h WPS_CONFMET_* */
323 /* WiFi P2P IE's Device ID subelement */
326 uint8 len[2];
331 /* WiFi P2P IE subelement: P2P Manageability */
334 uint8 len[2]; /* SE length not including eltId, len fields */
341 /* WiFi P2P IE subelement: Group Info */
344 uint8 len[2]; /* SE length not including eltId, len fields */
348 /* WiFi IE subelement: Operating Channel */
351 uint8 len[2]; /* SE length not including eltId, len fields */
358 /* WiFi IE subelement: INVITATION FLAGS */
361 uint8 len[2]; /* SE length not including eltId, len fields */
366 /* WiFi P2P IE subelement: Service Hash */
369 uint8 len[2]; /* SE length not including eltId, len fields
372 uint8 hash[1]; /* Variable length - SHA256 hash of
378 /* WiFi P2P IE subelement: Service Instance Data */
381 uint8 len[2]; /* SE length not including eltId, len */
382 uint8 ssn_info[1]; /* Variable length - Session information as specified by
388 /* WiFi P2P IE subelement: Connection capability */
391 uint8 len[2]; /* SE length not including eltId, len */
398 /* WiFi P2P IE subelement: Advertisement ID */
401 uint8 len[2]; /* SE length not including eltId, len fixed 4 Bytes */
409 /* WiFi P2P IE subelement: Advertise Service Hash */
418 /* WiFi P2P IE subelement: Advertise Service Hash */
421 uint8 len[2]; /* SE length not including eltId, len fields mutiple len of
431 /* WiFi P2P IE subelement: Session ID */
434 uint8 len[2]; /* SE length not including eltId, len fixed 4 Bytes */
438 uint8 ssn_mac[6]; /* P2P device address of the seeker - session mac */
447 /* WiFi P2P Action Frame */
450 uint8 OUI[3]; /* OUI - P2P_OUI */
451 uint8 type; /* OUI Type - P2P_VER */
452 uint8 subtype; /* OUI Subtype - P2P_AF_* */
455 * ACTION_FRAME_SIZE - sizeof(this structure) - 1
463 /* WiFi P2P Action Frame OUI Subtypes */
466 #define P2P_AF_PRESENCE_RSP 2 /* P2P Presence Response */
469 /* WiFi P2P Public Action Frame */
474 uint8 oui_type; /* OUI type - P2P_VER */
475 uint8 subtype; /* OUI subtype - P2P_TYPE_* */
478 * ACTION_FRAME_SIZE - sizeof(this structure) - 1
486 /* WiFi P2P Public Action Frame OUI Subtypes */
489 #define P2P_PAF_GON_CONF 2 /* Group Owner Negotiation Confirm */
503 /* WiFi P2P IE subelement: Notice of Absence */
514 uint8 len[2]; /* Length */
523 #define P2P_NOA_SE_MAX_DESC 2 /* max NoA descriptors in presence request */
529 #define P2P_NOA_DESC_TYPE_ACCEPTABLE 2 /* acceptable limits */
554 /* Query Response Length Limit 7 bits plus PAME-BI 1 bit */
570 SVC_RPOTYPE_UPNP = 2,
580 P2PSD_RESP_STATUS_DATA_NA = 2,
586 uint8 llm_pamebi; /* Query Response Length Limit bit 0-6, set to 0 plus
587 * Pre-Associated Message Exchange BSSID Independent bit 7, set to 0
595 uint8 id; /* IE ID: 0x6c - 108 */
603 /* NQP Vendor-specific Content */
618 uint8 query_data[1]; /* Query Data, passed in from above Layer 2 */
627 uint8 qreq_vsc[1]; /* Vendor-specific Content: wifi_p2psd_nqp_query_vsc_t type for NQP */
646 uint8 query_data[1]; /* Response Data, passed in from above Layer 2 */
655 uint8 qresp_vsc[1]; /* Vendor-specific Content: wifi_p2psd_qresp_tlv_t type for NQP */
662 uint16 status; /* Value defined in Table 7-23 of IEEE P802.11u */
672 uint16 status; /* Value defined in Table 7-23 of IEEE P802.11u */
681 /* Wi-Fi GAS Public Action Frame */