Merge "[AWARE]: Make changes to support NAN Publish Replied Indication" am: fd58969128
am: ea840aa7a9
am: cd9df3c35b
Change-Id: I309844e5b784f0fdc22d73fc96c76222fc576683
This commit is contained in:
commit
3c85d4d2e7
1 changed files with 23 additions and 0 deletions
|
@ -1047,6 +1047,7 @@ typedef struct {
|
|||
BIT0 - Disable publish termination indication.
|
||||
BIT1 - Disable match expired indication.
|
||||
BIT2 - Disable followUp indication received (OTA).
|
||||
BIT3 - Disable publishReplied indication.
|
||||
*/
|
||||
u8 recv_indication_cfg;
|
||||
/*
|
||||
|
@ -1672,6 +1673,27 @@ typedef struct {
|
|||
} body;
|
||||
} NanResponseMsg;
|
||||
|
||||
/*
|
||||
Publish Replied Indication
|
||||
The PublishRepliedInd Message is sent by the DE when an Active Subscribe is
|
||||
received over the air and it matches a Solicited PublishServiceReq which had
|
||||
been created with the replied_event_flag set.
|
||||
*/
|
||||
typedef struct {
|
||||
/*
|
||||
A 32 bit Requestor Instance Id which is sent to the Application.
|
||||
This Id will be sent in any subsequent UnmatchInd/FollowupInd
|
||||
messages
|
||||
*/
|
||||
u32 requestor_instance_id;
|
||||
u8 addr[NAN_MAC_ADDR_LEN];
|
||||
/*
|
||||
If RSSI filtering was configured in NanPublishRequest then this
|
||||
field will contain the received RSSI value. 0 if not
|
||||
*/
|
||||
u8 rssi_value;
|
||||
} NanPublishRepliedInd;
|
||||
|
||||
/*
|
||||
Publish Terminated
|
||||
The PublishTerminatedInd message is sent by the DE whenever a Publish
|
||||
|
@ -2216,6 +2238,7 @@ typedef struct {
|
|||
/* NotifyResponse invoked to notify the status of the Request */
|
||||
void (*NotifyResponse)(transaction_id id, NanResponseMsg* rsp_data);
|
||||
/* Callbacks for various Events */
|
||||
void (*EventPublishReplied)(NanPublishRepliedInd *event);
|
||||
void (*EventPublishTerminated)(NanPublishTerminatedInd* event);
|
||||
void (*EventMatch) (NanMatchInd* event);
|
||||
void (*EventMatchExpired) (NanMatchExpiredInd* event);
|
||||
|
|
Loading…
Reference in a new issue