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

Commit 38717c39 authored by Les Lee's avatar Les Lee
Browse files

wifi: Supports to remove link for MLO SAP

Bug: 362355566
Test: TH
Change-Id: I4f98e436a216362d9110e0fb83427f880600d50e
parent 5dd455a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,4 +40,5 @@ interface IHostapd {
  void removeAccessPoint(in String ifaceName);
  void setDebugParams(in android.hardware.wifi.hostapd.DebugLevel level);
  oneway void terminate();
  void removeLinkFromMultipleLinkBridgedApIface(in String ifaceName, in String linkIdentity);
}
+18 −0
Original line number Diff line number Diff line
@@ -103,4 +103,22 @@ interface IHostapd {
     * wait to be restarted.
     */
    oneway void terminate();

    /**
     * Removes an existing link from multiple link device which the current AP resides on.
     *
     * The multiple link device is an access point which was added by |IHostapd.addAccessPoint| with
     * |IfaceParams.usesMlo| set to true.
     *
     * @param ifaceName Name of the interface which was added by |IHostapd.addAccessPoint|
     * @param linkIdentity the identity of the link which associated to the multiple link device
     * that the current AP resides on. The link identity should be one of the identities provided in
     * |IfaceParams.instanceIdentities| when this iface was created.
     * @throws ServiceSpecificException with one of the following values:
     *         |HostapdStatusCode.FAILURE_UNKNOWN|,
     *         |HostapdStatusCode.FAILURE_ARGS_INVALID| when the linkIdentity mis-matches one of the
     *             identities provided in |IfaceParams.instanceIdentities|.
     *         |HostapdStatusCode.FAILURE_IFACE_UNKNOWN| when current existing AP isn't using mlo.
     */
    void removeLinkFromMultipleLinkBridgedApIface(in String ifaceName, in String linkIdentity);
}