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
This commit is contained in:
Mahesh KKV 2023-02-07 12:10:50 -08:00 committed by maheshkkv
parent 92df35f867
commit bc4ca2af02
4 changed files with 20 additions and 0 deletions

View file

@ -38,4 +38,6 @@ parcelable MloLink {
byte[] staLinkMacAddress;
byte tidsUplinkMap;
byte tidsDownlinkMap;
@nullable byte[] apLinkMacAddress;
int frequencyMHz;
}

View file

@ -35,4 +35,6 @@ package android.hardware.wifi.supplicant;
@VintfStability
parcelable MloLinksInfo {
android.hardware.wifi.supplicant.MloLink[] links;
int apMloLinkId;
@nullable byte[] apMldMacAddress;
}

View file

@ -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;
}

View file

@ -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;
}