summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/1.2/default/wifi_feature_flags.cpp')
-rw-r--r--wifi/1.2/default/wifi_feature_flags.cpp9
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
28static const bool wifiHidlFeatureDualInterface = false; 28static 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
31static const bool wifiHidlFeatureDisableAp = true;
32#else
33static const bool wifiHidlFeatureDisableAp = false;
34#endif // WIFI_HIDL_FEATURE_DISABLE_AP
35
30} // namespace 36} // namespace
31 37
32namespace android { 38namespace android {
@@ -41,6 +47,9 @@ bool WifiFeatureFlags::isAwareSupported() { return wifiHidlFeatureAware; }
41bool WifiFeatureFlags::isDualInterfaceSupported() { 47bool WifiFeatureFlags::isDualInterfaceSupported() {
42 return wifiHidlFeatureDualInterface; 48 return wifiHidlFeatureDualInterface;
43} 49}
50bool WifiFeatureFlags::isApDisabled() {
51 return wifiHidlFeatureDisableAp;
52}
44 53
45} // namespace feature_flags 54} // namespace feature_flags
46} // namespace implementation 55} // namespace implementation