diff options
author | 2025-01-08 01:45:08 +0000 | |
---|---|---|
committer | 2025-01-12 22:06:48 -0800 | |
commit | 09db8602e63c067cbd54a8112d361020c6e93320 (patch) | |
tree | bf82ac0ad0a71c530aa56fcc9d048badf31d901a /framework/java | |
parent | 57639f743e6f42bfb973977526c79fb9b5d10d5a (diff) |
wifi: Check driver capability when determining the number of supported MLD
Considering OEM may like to use one build for all chip solution.
The new overlay about number of supported MLD on SAP mightn't cover
when device didn't support multiple mld. Reading chip capability
when determining the number of supported mld to allow OEM to use
single build for all chip. When chip doesn't support multiple MLD on SAP,
the device will limit the supported MLD to 1.
Flag: com.android.wifi.flags.multiple_mld_on_sap_supported
Bug: 382023801
Test: atest -c FrameworksWifiTests
Change-Id: Ibbde2cc1ab24b2715f750e8d7ecdeaaa6bb80062
Diffstat (limited to 'framework/java')
-rw-r--r-- | framework/java/android/net/wifi/WifiManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/java/android/net/wifi/WifiManager.java b/framework/java/android/net/wifi/WifiManager.java index 52836c2940..912fe66124 100644 --- a/framework/java/android/net/wifi/WifiManager.java +++ b/framework/java/android/net/wifi/WifiManager.java @@ -4062,6 +4062,12 @@ public class WifiManager { public static final int WIFI_FEATURE_SOFTAP_MLO = 63; /** + * Supports multiple Wi-Fi 7 multi-link devices (MLD) on SoftAp. + * @hide + */ + public static final int WIFI_FEATURE_MULTIPLE_MLD_ON_SAP = 64; + + /** * NOTE: When adding a new WIFI_FEATURE_ value, also be sure to update * {@link com.android.server.wifi.util.FeatureBitsetUtils} */ |