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

Commit bfb5adef authored by Mingguang Xu's avatar Mingguang Xu
Browse files

Wifi: Change the type from long to int for contention time statistics



Bug: 172412545

Test: atest com.android.server.wifi

Signed-off-by: default avatarMingguang Xu <mingguangxu@google.com>
Change-Id: I7d64013c63a38b85d4b0ea37cdc260a19049bfce
parent 56ce3287
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;
};

/**