summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/1.2/default/wifi_feature_flags.h')
-rw-r--r--wifi/1.2/default/wifi_feature_flags.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/wifi/1.2/default/wifi_feature_flags.h b/wifi/1.2/default/wifi_feature_flags.h
new file mode 100644
index 00000000..c692cd93
--- /dev/null
+++ b/wifi/1.2/default/wifi_feature_flags.h
@@ -0,0 +1,41 @@
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_FEATURE_FLAGS_H_
18#define WIFI_FEATURE_FLAGS_H_
19
20namespace android {
21namespace hardware {
22namespace wifi {
23namespace V1_2 {
24namespace implementation {
25
26class WifiFeatureFlags {
27 public:
28#ifdef WIFI_HIDL_FEATURE_AWARE
29 static const bool wifiHidlFeatureAware = true;
30#else
31 static const bool wifiHidlFeatureAware = false;
32#endif // WIFI_HIDL_FEATURE_AWARE
33};
34
35} // namespace implementation
36} // namespace V1_2
37} // namespace wifi
38} // namespace hardware
39} // namespace android
40
41#endif // WIFI_FEATURE_FLAGS_H_