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

Commit 48556217 authored by Sunil Ravi's avatar Sunil Ravi
Browse files

wifi: Legacy HAL support to get concurrent TDLS session count

Added a new field in chip capabilities to get the
maximum number of concurrent TDLS sessions supported
by the chip

Bug: 240247868
Test: Manual - STA connect/disconnect
Change-Id: I62fcd2d4a562b088cdeb4b04f72cfe55ed61241c
parent dbd11bdd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2772,6 +2772,8 @@ 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.maxConcurrentTdlsSessionCount =
            legacy_chip_capabilities.max_concurrent_tdls_session_count;
    return true;
}