1 /*
2  * Copyright (C) 2016 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 #ifndef __WIFI_HAL_ROAM_COMMAND_H__
18 #define __WIFI_HAL_ROAM_COMMAND_H__
19 
20 #include "common.h"
21 #include "cpp_bindings.h"
22 
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif /* __cplusplus */
27 
28 /* BSSID blacklist */
29 typedef struct {
30     int num_bssid;                           // number of blacklisted BSSIDs
31     mac_addr bssids[MAX_BLACKLIST_BSSID];    // blacklisted BSSIDs
32 } wifi_bssid_params;
33 
34 class RoamCommand: public WifiVendorCommand
35 {
36 private:
37 
38 public:
39     RoamCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
40     virtual ~RoamCommand();
41 
42     virtual wifi_error create();
43     virtual wifi_error requestResponse();
44 };
45 
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49 #endif
50