mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
Merge "[AWARE] Disable NANv3 data-path capabilities"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user