From bfb5adeff04e2444251a052b39e5d9e02584de94 Mon Sep 17 00:00:00 2001 From: Mingguang Xu Date: Wed, 24 Feb 2021 23:04:00 -0800 Subject: [PATCH] Wifi: Change the type from long to int for contention time statistics Bug: 172412545 Test: atest com.android.server.wifi Signed-off-by: Mingguang Xu Change-Id: I7d64013c63a38b85d4b0ea37cdc260a19049bfce --- wifi/1.5/types.hal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wifi/1.5/types.hal b/wifi/1.5/types.hal index 3a5560b70b..e1c0d327e0 100644 --- a/wifi/1.5/types.hal +++ b/wifi/1.5/types.hal @@ -142,23 +142,23 @@ struct StaLinkLayerIfaceContentionTimeStats { * Data packet min contention time (usec). It includes both the internal contention time * among different access categories within the chipset and the contention time for the medium. */ - uint64_t contentionTimeMinInUsec; + uint32_t contentionTimeMinInUsec; /** * Data packet max contention time (usec). It includes both the internal contention time * among different access categories within the chipset and the contention time for the medium. */ - uint64_t contentionTimeMaxInUsec; + uint32_t contentionTimeMaxInUsec; /** * Data packet average contention time (usec). It includes both the internal contention time * among different access categories within the chipset and the contention time for the medium. */ - uint64_t contentionTimeAvgInUsec; + uint32_t contentionTimeAvgInUsec; /** * Number of data packets used for contention statistics. */ - uint64_t contentionNumSamples; + uint32_t contentionNumSamples; }; /**