blob: 51f6916c0ce5daa4ab517dcaeb41272ba69d0ef9 [file] [log] [blame]
Gabriel Biren910d5df2022-04-08 18:21:22 +00001/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.wifi;
18
19/**
20 * Contention time statistics for different traffic categories.
21 */
22@VintfStability
23parcelable StaLinkLayerIfaceContentionTimeStats {
24 /**
25 * Data packet min contention time (usec). This includes both the internal contention time
26 * among different access categories within the chipset and the contention time for the medium.
27 */
28 int contentionTimeMinInUsec;
29 /**
30 * Data packet max contention time (usec). This includes both the internal contention time
31 * among different access categories within the chipset and the contention time for the medium.
32 */
33 int contentionTimeMaxInUsec;
34 /**
35 * Data packet average contention time (usec). This includes both the internal contention time
36 * among different access categories within the chipset and the contention time for the medium.
37 */
38 int contentionTimeAvgInUsec;
39 /**
40 * Number of data packets used for contention statistics.
41 */
42 int contentionNumSamples;
43}