From 4cd0dbf6bbb2e53c4b1c9fb83818c841464ff664 Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Mon, 11 Feb 2019 12:50:40 -0800 Subject: [PATCH] Revert "[AWARE] Disable NANv3 data-path capabilities" This reverts commit e338c81190db1ed025bc9c5e209ed577a951d531. Cannot be supported without additional HAL APIs to provide the device's capability to the host. These aren't necessary since this capability should be enabled by default by the firmware. Bug: 112586769 Test: (ACTS) act.py ThroughputTest:test_iperf_max_ndi_aware_only_passphrases Test: (CTS) atest SingleDeviceTest --- wifi/1.3/default/hidl_struct_util.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/wifi/1.3/default/hidl_struct_util.cpp b/wifi/1.3/default/hidl_struct_util.cpp index 49c14771f9..2e4db70480 100644 --- a/wifi/1.3/default/hidl_struct_util.cpp +++ b/wifi/1.3/default/hidl_struct_util.cpp @@ -1259,10 +1259,6 @@ bool convertHidlNanEnableRequestToLegacy( hidl_request.debugConfigs .useSdfInBandVal[(size_t)NanBandIndex::NAN_BAND_5GHZ]; - // disable NANv3 NDPe - legacy_request->config_ndpe_attr = 1; - legacy_request->use_ndpe_attr = 0; - return true; } @@ -1774,10 +1770,6 @@ bool convertHidlNanConfigRequestToLegacy( hidl_request.bandSpecificConfig[(size_t)NanBandIndex::NAN_BAND_5GHZ] .discoveryWindowIntervalVal; - // disable NANv3 NDPe - legacy_request->config_ndpe_attr = 1; - legacy_request->use_ndpe_attr = 0; - return true; }