OSDN Git Service

[AWARE]: Add range report in SDEA params
authorSubhani Shaik <subhanis@codeaurora.org>
Tue, 7 Mar 2017 04:02:43 +0000 (20:02 -0800)
committerEtan Cohen <etancohen@google.com>
Wed, 8 Mar 2017 19:45:29 +0000 (11:45 -0800)
Bug: 36065933
Test: integration (sl4a) tests.
Change-Id: Ice8e87e2a6e4ed4475c7e6dcc691103071e0a03b

include/hardware_legacy/wifi_nan.h

index 7d7dd34..c7d482a 100644 (file)
@@ -285,6 +285,11 @@ typedef struct {
        if ranging is enabled on disabled
     */
     NanRangingState ranging_state;
+    /*
+      Enable/Disable Ranging report,
+      when configured NanRangeReportInd received
+    */
+    NanRangeReport range_report;
 } NanSdeaCtrlParams;
 
 /*
@@ -1036,9 +1041,6 @@ typedef struct {
     /* Enable/disable NAN serivce Ranging auto response mode */
     NanRangingAutoResponse ranging_auto_response;
 
-    /* Enable/Disable Ranging report, when configured NanRangeReportInd received */
-    NanRangeReport range_report;
-
     /*
       When the ranging_auto_response_cfg is not set, NanRangeRequestInd is
       received. Nan Range Response to Peer MAC Addr is notified to indicate
@@ -1203,9 +1205,6 @@ typedef struct {
     /* Enable/disable NAN serivce Ranging auto response mode */
     NanRangingAutoResponse ranging_auto_response;
 
-    /* Enable/Disable Ranging report, when configured NanRangeReportInd received */
-    NanRangeReport range_report;
-
     /*
       When the ranging_auto_response_cfg is not set, NanRangeRequestInd is
       received. Nan Range Response to Peer MAC Addr is notified to indicate