From 09a604b41a8aef2427740a10c27cbd970807c0d7 Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Thu, 16 Feb 2017 13:02:43 -0800 Subject: [PATCH] [AWARE] Add capability info: max subscribe addresses Add capability to provide maximum number of subscribe addresses that can be specified in a discovery session configuration. Bug: 34059183 Test: integration (sl4a) tests pass Change-Id: I5aa875cf8f43a7ad215b52e2cf917dfbbb3b1195 --- wifi/1.0/default/hidl_struct_util.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wifi/1.0/default/hidl_struct_util.cpp b/wifi/1.0/default/hidl_struct_util.cpp index 4dd1ba63f0..6c40c4b2f0 100644 --- a/wifi/1.0/default/hidl_struct_util.cpp +++ b/wifi/1.0/default/hidl_struct_util.cpp @@ -1285,8 +1285,7 @@ bool convertLegacyNanCapabilitiesResponseToHidl( hidl_response->maxNdpSessions = legacy_response.max_ndp_sessions; hidl_response->maxAppInfoLen = legacy_response.max_app_info_len; hidl_response->maxQueuedTransmitFollowupMsgs = legacy_response.max_queued_transmit_followup_msgs; - // TODO: b/34059183 to add to underlying HAL - hidl_response->maxSubscribeInterfaceAddresses = NAN_MAX_SUBSCRIBE_MAX_ADDRESS; + hidl_response->maxSubscribeInterfaceAddresses = legacy_response.max_subscribe_address; hidl_response->supportedCipherSuites = legacy_response.cipher_suites_supported; return true;