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

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

Add more MLO link parameters

Framework populates MLO link information from scan cache. In roaming
use cases, framework may not have the scan result for the roamed AP.
So, always get the MLO link parameters from the supplicant. Add static
parameters apMldMacAddress, apLinkMacAddress and frequency of the
link. Dynamic parameters like RSSI, link speed..etc. are queried from
signal poll.

Bug: 268230307
Test: m android.hardware.wifi.supplicant-update-api
Change-Id: I7ffb23a8ead63a385cd00d26969529e2943fcff1
parent 92df35f8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -38,4 +38,6 @@ parcelable MloLink {
  byte[] staLinkMacAddress;
  byte tidsUplinkMap;
  byte tidsDownlinkMap;
  @nullable byte[] apLinkMacAddress;
  int frequencyMHz;
}
+2 −0
Original line number Diff line number Diff line
@@ -35,4 +35,6 @@ package android.hardware.wifi.supplicant;
@VintfStability
parcelable MloLinksInfo {
  android.hardware.wifi.supplicant.MloLink[] links;
  int apMloLinkId;
  @nullable byte[] apMldMacAddress;
}
+8 −0
Original line number Diff line number Diff line
@@ -58,4 +58,12 @@ parcelable MloLink {
     */
    byte tidsUplinkMap;
    byte tidsDownlinkMap;
    /**
     * AP Link MAC Address
     */
    @nullable byte[/* 6 */] apLinkMacAddress;
    /**
     * Frequency on which the link operates in MHz.
     */
    int frequencyMHz;
}
+8 −0
Original line number Diff line number Diff line
@@ -28,4 +28,12 @@ parcelable MloLinksInfo {
     * List of MLO links
     */
    MloLink[] links;
    /**
     * The MLO link-id for the access point. It is the link-id used for association.
     */
    int apMloLinkId;
    /**
     * AP MLD MAC address.
     */
    @nullable byte[/* 6 */] apMldMacAddress;
}