mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
dpp-util: add dpp status and attribute types
This commit is contained in:
parent
385dd2d469
commit
124b04fff6
@ -22,6 +22,46 @@
|
||||
struct l_ecc_point;
|
||||
struct l_ecc_scalar;
|
||||
|
||||
enum dpp_frame_type {
|
||||
DPP_FRAME_AUTHENTICATION_REQUEST = 0,
|
||||
DPP_FRAME_AUTHENTICATION_RESPONSE = 1,
|
||||
DPP_FRAME_AUTHENTICATION_CONFIRM = 2,
|
||||
/* 3 - 4 reserved */
|
||||
DPP_FRAME_PEER_DISCOVERY_REQUEST = 5,
|
||||
DPP_FRAME_PEER_DISCOVERY_RESPONSE = 6,
|
||||
DPP_FRAME_PKEX_VERSION1_XCHG_REQUST = 7,
|
||||
DPP_FRAME_PKEX_XCHG_RESPONSE = 8,
|
||||
DPP_FRAME_PKEX_COMMIT_REVEAL_REQUEST = 9,
|
||||
DPP_FRAME_PKEX_COMMIT_REVEAP_RESPONSE = 10,
|
||||
DPP_FRAME_CONFIGURATION_RESULT = 11,
|
||||
DPP_FRAME_CONNECTION_STATUS_RESULT = 12,
|
||||
DPP_FRAME_PRESENCE_ANNOUNCEMENT = 13,
|
||||
DPP_FRAME_RECONF_ANNOUNCEMENT = 14,
|
||||
DPP_FRAME_RECONF_AUTHENTICATION_REQUEST = 15,
|
||||
DPP_FRAME_RECONF_AUTHENTICATION_RESPONSE = 16,
|
||||
DPP_FRAME_RECONF_AUTHENTICATION_CONFIRM = 17,
|
||||
DPP_FRAME_PKEX_XCHG_REQUEST = 18,
|
||||
/* 19 - 255 reserved */
|
||||
};
|
||||
|
||||
enum dpp_status {
|
||||
DPP_STATUS_OK,
|
||||
DPP_STATUS_NOT_COMPATIBLE,
|
||||
DPP_STATUS_AUTH_FAILURE,
|
||||
DPP_STATUS_BAD_CODE,
|
||||
DPP_STATUS_BAD_GROUP,
|
||||
DPP_STATUS_CONFIGURE_FAILURE,
|
||||
DPP_STATUS_RESPONSE_PENDING,
|
||||
DPP_STATUS_INVALID_CONNECTOR,
|
||||
DPP_STATUS_NO_MATCH,
|
||||
DPP_STATUS_CONFIG_REJECTED,
|
||||
DPP_STATUS_NO_AP,
|
||||
DPP_STATUS_CONFIGURE_PENDING,
|
||||
DPP_STATUS_CSR_NEEDED,
|
||||
DPP_STATUS_CSR_BAD,
|
||||
DPP_STATUS_NEW_KEY_NEEDED,
|
||||
};
|
||||
|
||||
enum dpp_attribute_type {
|
||||
/* 0000 - 0FFF reserved */
|
||||
DPP_ATTR_STATUS = 0x1000,
|
||||
|
Loading…
Reference in New Issue
Block a user