blob: 8c28fe177f996667cc2134cd5e08de760e564a3d [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
19import android.hardware.wifi.NanConfigRequest;
20import android.hardware.wifi.NanDebugConfig;
21
22/**
23 * Enable requests for NAN. Start-up configuration for |IWifiNanIface.enableRequest|.
24 */
25@VintfStability
26parcelable NanEnableRequest {
27 /**
28 * Enable operation in a specific band. Indexed by |NanBandIndex|.
29 */
30 boolean[3] operateInBand;
31 /**
32 * Specify extent of cluster by specifying the max hop count.
33 */
34 byte hopCountMax;
35 /**
36 * Configurations of NAN cluster operation. Can also be modified at run-time using
37 * |IWifiNanIface.configRequest|.
38 */
39 NanConfigRequest configParams;
40 /**
41 * Non-standard configurations of NAN cluster operation. Useful for debugging operations.
42 */
43 NanDebugConfig debugConfigs;
44}