P2P2: New element and attribute definitions
Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
This commit is contained in:
parent
633e969311
commit
ae221945f6
1 changed files with 35 additions and 0 deletions
|
@ -1427,6 +1427,7 @@ struct ieee80211_ampe_ie {
|
|||
#define WPS_IE_VENDOR_TYPE 0x0050f204
|
||||
#define OUI_WFA 0x506f9a
|
||||
#define P2P_IE_VENDOR_TYPE 0x506f9a09
|
||||
#define P2P2_IE_VENDOR_TYPE 0x506f9a28
|
||||
#define WFD_IE_VENDOR_TYPE 0x506f9a0a
|
||||
#define WFD_OUI_TYPE 10
|
||||
#define HS20_IE_VENDOR_TYPE 0x506f9a10
|
||||
|
@ -1720,6 +1721,7 @@ enum mbo_transition_reject_reason {
|
|||
/* Wi-Fi Direct (P2P) */
|
||||
|
||||
#define P2P_OUI_TYPE 9
|
||||
#define P2P2_OUI_TYPE 0x28
|
||||
|
||||
enum p2p_attr_id {
|
||||
P2P_ATTR_STATUS = 0,
|
||||
|
@ -1750,6 +1752,13 @@ enum p2p_attr_id {
|
|||
P2P_ATTR_SESSION_ID = 26,
|
||||
P2P_ATTR_FEATURE_CAPABILITY = 27,
|
||||
P2P_ATTR_PERSISTENT_GROUP = 28,
|
||||
P2P_ATTR_CAPABILITY_EXTENSION = 29,
|
||||
P2P_ATTR_WLAN_AP_INFORMATION = 30,
|
||||
P2P_ATTR_DEVICE_IDENTITY_KEY = 31,
|
||||
P2P_ATTR_DEVICE_IDENTITY_RESOLUTION = 32,
|
||||
P2P_ATTR_PAIRING_AND_BOOTSTRAPPING = 33,
|
||||
P2P_ATTR_PASSWORD = 34,
|
||||
P2P_ATTR_ACTION_FRAME_WRAPPER = 35,
|
||||
P2P_ATTR_VENDOR_SPECIFIC = 221
|
||||
};
|
||||
|
||||
|
@ -1774,6 +1783,31 @@ enum p2p_attr_id {
|
|||
#define P2P_GROUP_CAPAB_GROUP_FORMATION BIT(6)
|
||||
#define P2P_GROUP_CAPAB_IP_ADDR_ALLOCATION BIT(7)
|
||||
|
||||
/* P2P Capability Extension attribute - Capability info */
|
||||
#define P2P_PCEA_LEN_MASK (BIT(0) | BIT(1) | BIT(2) | BIT(3))
|
||||
#define P2P_PCEA_6GHZ BIT(4)
|
||||
#define P2P_PCEA_REG_INFO BIT(5)
|
||||
#define P2P_PCEA_DFS_OWNER BIT(6)
|
||||
#define P2P_PCEA_CLI_REQ_CS BIT(7)
|
||||
#define P2P_PCEA_PAIRING_CAPABLE BIT(8)
|
||||
#define P2P_PCEA_PAIRING_SETUP_ENABLED BIT(9)
|
||||
#define P2P_PCEA_PMK_CACHING BIT(10)
|
||||
#define P2P_PCEA_PASN_TYPE BIT(11)
|
||||
#define P2P_PCEA_TWT_POWER_MGMT BIT(12)
|
||||
|
||||
/* P2P Pairing Bootstrapping Method attribute - Bootstrapping Method */
|
||||
#define P2P_PBMA_OPPORTUNISTIC BIT(0)
|
||||
#define P2P_PBMA_PIN_CODE_DISPLAY BIT(1)
|
||||
#define P2P_PBMA_PASSPHRASE_DISPLAY BIT(2)
|
||||
#define P2P_PBMA_QR_DISPLAY BIT(3)
|
||||
#define P2P_PBMA_NFC_TAG BIT(4)
|
||||
#define P2P_PBMA_PIN_CODE_KEYPAD BIT(5)
|
||||
#define P2P_PBMA_PASSPHRASE_KEYPAD BIT(6)
|
||||
#define P2P_PBMA_QR_SCAN BIT(7)
|
||||
#define P2P_PBMA_NFC_READER BIT(8)
|
||||
#define P2P_PBMA_SERVICE_MANAGED BIT(14)
|
||||
#define P2P_PBMA_HANDSHAKE_SKIP BIT(15)
|
||||
|
||||
/* P2PS Coordination Protocol Transport Bitmap */
|
||||
#define P2PS_FEATURE_CAPAB_UDP_TRANSPORT BIT(0)
|
||||
#define P2PS_FEATURE_CAPAB_MAC_TRANSPORT BIT(1)
|
||||
|
@ -1805,6 +1839,7 @@ enum p2p_status_code {
|
|||
P2P_SC_FAIL_INCOMPATIBLE_PROV_METHOD = 10,
|
||||
P2P_SC_FAIL_REJECTED_BY_USER = 11,
|
||||
P2P_SC_SUCCESS_DEFERRED = 12,
|
||||
P2P_SC_COMEBACK = 13,
|
||||
};
|
||||
|
||||
enum p2p_role_indication {
|
||||
|
|
Loading…
Reference in a new issue