diff options
Diffstat (limited to 'wifi/1.2/default/wifi_feature_flags.cpp')
-rw-r--r-- | wifi/1.2/default/wifi_feature_flags.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wifi/1.2/default/wifi_feature_flags.cpp b/wifi/1.2/default/wifi_feature_flags.cpp index 554d4d5f..778944dd 100644 --- a/wifi/1.2/default/wifi_feature_flags.cpp +++ b/wifi/1.2/default/wifi_feature_flags.cpp | |||
@@ -27,6 +27,12 @@ static const bool wifiHidlFeatureDualInterface = true; | |||
27 | #else | 27 | #else |
28 | static const bool wifiHidlFeatureDualInterface = false; | 28 | static const bool wifiHidlFeatureDualInterface = false; |
29 | #endif // WIFI_HIDL_FEATURE_DUAL_INTERFACE | 29 | #endif // WIFI_HIDL_FEATURE_DUAL_INTERFACE |
30 | #ifdef WIFI_HIDL_FEATURE_DISABLE_AP | ||
31 | static const bool wifiHidlFeatureDisableAp = true; | ||
32 | #else | ||
33 | static const bool wifiHidlFeatureDisableAp = false; | ||
34 | #endif // WIFI_HIDL_FEATURE_DISABLE_AP | ||
35 | |||
30 | } // namespace | 36 | } // namespace |
31 | 37 | ||
32 | namespace android { | 38 | namespace android { |
@@ -41,6 +47,9 @@ bool WifiFeatureFlags::isAwareSupported() { return wifiHidlFeatureAware; } | |||
41 | bool WifiFeatureFlags::isDualInterfaceSupported() { | 47 | bool WifiFeatureFlags::isDualInterfaceSupported() { |
42 | return wifiHidlFeatureDualInterface; | 48 | return wifiHidlFeatureDualInterface; |
43 | } | 49 | } |
50 | bool WifiFeatureFlags::isApDisabled() { | ||
51 | return wifiHidlFeatureDisableAp; | ||
52 | } | ||
44 | 53 | ||
45 | } // namespace feature_flags | 54 | } // namespace feature_flags |
46 | } // namespace implementation | 55 | } // namespace implementation |