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
8 files changed