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

Commit b0b76a16 authored by Etan Cohen's avatar Etan Cohen Committed by Android (Google) Code Review
Browse files

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

parents ac55589e e338c811
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1253,6 +1253,10 @@ 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;
}

@@ -1764,6 +1768,10 @@ 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;
}