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

Commit f0bd8c22 authored by Mahesh KKV's avatar Mahesh KKV
Browse files

wifi: Add TID to link mapping support

TID-to-link mapping, which is introduced in IEEE 802.11be standard
allows an Access Point and a Station to determine how uplink and
downlink QoS traffic corresponding to TID values between 0 and 7 will be
assigned to the setup multi links.

This commit adds an interface to TID-to-link mapping in existing MloLink
AIDL.

BUG: 247119055
Test: mm -j
Change-Id: I3ef6e37d9857606020a8e0580c82ca8ab1b8bf82
parent f3262f97
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,4 +36,6 @@ package android.hardware.wifi.supplicant;
parcelable MloLink {
  byte linkId;
  byte[] staLinkMacAddress;
  byte tidsUplinkMap;
  byte tidsDownlinkMap;
}
+28 −0
Original line number Diff line number Diff line
@@ -30,4 +30,32 @@ parcelable MloLink {
     * STA Link MAC Address
     */
    byte[/* 6 */] staLinkMacAddress;
    /**
     * Bitset where each bit indicates TID mapped to this link in uplink and
     * downlink direction.
     *
     * Traffic Identifier (TID) is an identifier used to classify a packet. It
     * is represented as a four bit number identifying the QoS traffic within
     * MAC data service. There are 16 possible values for TID, out of only 8 are
     * practically used to identify differentiated services.
     *
     * A TID-to-link mapping indicates links on which frames belonging to each
     * TID can be exchanged. IEEE 802.11be draft 2.0 defines the mapping for TID
     * values between 0 to 7 only. Once associated, an MLO link state is
     * considered as active if at least one TID is mapped to the link. Link
     * state is considered as idle if no TID is mapped to the link.
     *
     * TIDs can be mapped to uplink, downlink or both directions.
     * e.g.
     *  - TID 4 is mapped to this link in uplink direction, if bit 4 in
     *    MloLink#tids_uplink_map is set.
     *  - TID 2 is mapped to both directions for this link, if bit 2 of both
     *    MloLink#tids_uplink_map and MloLink#tids_downlink_map are set.
     *
     * In case of default link mapping, tids_uplink_map and tids_downlink_map
     * is set to 0xFF for all the links.
     *
     */
    byte tidsUplinkMap;
    byte tidsDownlinkMap;
}