1/*
2 * Copyright 2020 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
17/**
18 * This is pixel only extension for Bluetooth HAL.
19 */
20package hardware.google.bluetooth.bt_channel_avoidance@1.0;
21
22interface IBTChannelAvoidance {
23    /**
24     * API to set Bluetooth channel map.
25     *
26     * This API must be invoked whenever channels map of Bluetooth need to
27     * changed because Bluetooth channels have conflict with wifi or cellular.
28     *
29     * @param channelMap The lower 79 bits of the 80-bit parameterrepresents
30     *        the status of 79 channels. 0 means the channel is bad and 1 means
31     *        unknown. The most significant bit (bit 79) is reserved for future
32     *        use.
33     */
34    oneway setBluetoothChannelStatus(uint8_t[10] channelMap);
35};
36