NAN_EVENT_ID_JOINED_CLUSTER
} NanDiscEngEventType;
+/* NAN Data Path type */
+typedef enum {
+ NAN_DATA_PATH_UNICAST_MSG = 0,
+ NAN_DATA_PATH_MULTICAST_MSG
+} NdpType;
+
+/* NAN Ranging Configuration */
+typedef enum {
+ NAN_RANGING_DISABLE = 0,
+ NAN_RANGING_ENABLE
+} NanRangingState;
+
/* TCA Type */
typedef enum {
NAN_TCA_ID_CLUSTER_SIZE = 0
#define NAN_CIPHER_SUITE_SHARED_KEY_128_MASK 0x01
#define NAN_CIPHER_SUITE_SHARED_KEY_256_MASK 0x02
+/*
+ Structure to set the Service Descriptor Extension
+ Attribute (SDEA) passed as part of NanPublishRequest/
+ NanSubscribeRequest/NanMatchInd.
+*/
+typedef struct {
+ /*
+ Optional configuration of Data Path Enable request.
+ configure flag determines whether configuration needs
+ to be passed or not.
+ */
+ u8 config_nan_data_path;
+ NdpType ndp_type;
+ /*
+ NAN secuirty required flag to indicate
+ if the security is enabled or disabled
+ */
+ NanDataPathSecurityCfgStatus security_cfg;
+ /*
+ NAN ranging required flag to indicate
+ if ranging is enabled on disabled
+ */
+ NanRangingState ranging_state;
+} NanSdeaCtrlParams;
+
/* Nan/NDP Capabilites info */
typedef struct {
u32 max_concurrent_nan_clusters;
*/
u8 scid[NAN_MAX_SCID_BUF_LEN];
- /* NAN secuirty required flag */
- NanDataPathSecurityCfgStatus security_cfg;
+ /* NAN configure service discovery extended attributes */
+ NanSdeaCtrlParams sdea_params;
} NanPublishRequest;
/*
*/
u8 scid[NAN_MAX_SCID_BUF_LEN];
- /* NAN security required flag */
- NanDataPathSecurityCfgStatus security_cfg;
+ /* NAN configure service discovery extended attributes */
+ NanSdeaCtrlParams sdea_params;
} NanSubscribeRequest;
/*
*/
u8 scid[NAN_MAX_SCID_BUF_LEN];
- /* NAN security required flag */
- NanDataPathSecurityCfgStatus security_cfg;
+ /* Peer service discovery extended attributes */
+ NanSdeaCtrlParams peer_sdea_params;
} NanMatchInd;
/*