Rename maxMloLinkCount to maxMloStrLinkCount

The maximum number of Simultaneous Transmit Receive (STR) links used in
Multi-Link Operation can be different from the maximum radios supported
by the chip.Explicitly mention the max links as max STR links. Update
the description and usage of the capability field.

Bug: 267963579
Test: m android.hardware.wifi-update-api
Change-Id: I5691fcc44c60821766fe41e67624e458ba051059
This commit is contained in:
Mahesh KKV 2023-02-05 20:21:17 -08:00
parent 675bee8fc3
commit 21a98b4a51
3 changed files with 6 additions and 6 deletions

View file

@ -34,6 +34,6 @@
package android.hardware.wifi;
@VintfStability
parcelable WifiChipCapabilities {
int maxMloLinkCount;
int maxMloStrLinkCount;
int maxConcurrentTdlsSessionCount;
}

View file

@ -22,13 +22,13 @@ package android.hardware.wifi;
@VintfStability
parcelable WifiChipCapabilities {
/**
* Maximum number of links used in Multi-Link Operation. The maximum
* number of links used for MLO can be different from the number of
* radios supported by the chip.
* Maximum number of Simultaneous Transmit and Receive (STR) links used
* in Multi-Link Operation. The maximum number of STR links used can be
* different from the maximum number of radios supported by the chip.
*
* This is a static configuration of the chip.
*/
int maxMloLinkCount;
int maxMloStrLinkCount;
/**
* Maximum number of concurrent TDLS sessions that can be enabled
* by framework via ISupplicantStaIface#initiateTdlsSetup().

View file

@ -3316,7 +3316,7 @@ bool convertLegacyNanBootstrappingConfirmIndToAidl(
bool convertLegacyWifiChipCapabilitiesToAidl(
const legacy_hal::wifi_chip_capabilities& legacy_chip_capabilities,
WifiChipCapabilities& aidl_chip_capabilities) {
aidl_chip_capabilities.maxMloLinkCount = legacy_chip_capabilities.max_mlo_link_count;
aidl_chip_capabilities.maxMloStrLinkCount = legacy_chip_capabilities.max_mlo_str_link_count;
aidl_chip_capabilities.maxConcurrentTdlsSessionCount =
legacy_chip_capabilities.max_concurrent_tdls_session_count;
return true;