Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2565b874 authored by maheshkkv's avatar maheshkkv Committed by Mahesh KKV
Browse files

Add a maximum MLO association link count

Maximum MLO association link count can be an input for MLO scoring
logic. If the candidate AP has less number of links to associate,
scroring logic can give a weightage to an AP with matching links as
station Assumption here is when the environment becomes better, the
AP with less score now can be a better choice.

Bug: 269336948
Test: m android.hardware.wifi-update-api
Change-Id: Iac0c82203c9e1a23637c757f5b92f5b213bb5da6
parent 103e3baf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
package android.hardware.wifi;
@VintfStability
parcelable WifiChipCapabilities {
  int maxMloAssociationLinkCount;
  int maxMloStrLinkCount;
  int maxConcurrentTdlsSessionCount;
}
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@ package android.hardware.wifi;
 */
@VintfStability
parcelable WifiChipCapabilities {
    /**
     * Maximum number of links supported by the chip for MLO association.
     */
    int maxMloAssociationLinkCount;
    /**
     * Maximum number of Simultaneous Transmit and Receive (STR) links used
     * in Multi-Link Operation. The maximum number of STR links used can be
+2 −0
Original line number Diff line number Diff line
@@ -3281,6 +3281,8 @@ bool convertLegacyWifiChipCapabilitiesToAidl(
        const legacy_hal::wifi_chip_capabilities& legacy_chip_capabilities,
        WifiChipCapabilities& aidl_chip_capabilities) {
    aidl_chip_capabilities.maxMloStrLinkCount = legacy_chip_capabilities.max_mlo_str_link_count;
    aidl_chip_capabilities.maxMloAssociationLinkCount =
            legacy_chip_capabilities.max_mlo_association_link_count;
    aidl_chip_capabilities.maxConcurrentTdlsSessionCount =
            legacy_chip_capabilities.max_concurrent_tdls_session_count;
    return true;