Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cd0dbf6 authored by Etan Cohen's avatar Etan Cohen
Browse files

Revert "[AWARE] Disable NANv3 data-path capabilities"

This reverts commit e338c811.

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
parent fbb176e0
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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;
}