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

Commit 1c435e44 authored by Gabriel Biren's avatar Gabriel Biren Committed by Android (Google) Code Review
Browse files

Merge changes from topic "aggressive-roaming-hal" into main

* changes:
  Add aggressive roaming support to the Vendor HAL implementation.
  Add enum for aggressive roaming mode to the Vendor HAL AIDL interface.
parents c8079b50 67d33e97
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,4 +36,5 @@ package android.hardware.wifi;
enum StaRoamingState {
  DISABLED = 0,
  ENABLED = 1,
  AGGRESSIVE = 2,
}
+5 −0
Original line number Diff line number Diff line
@@ -32,4 +32,9 @@ enum StaRoamingState {
     * the |StaRoamingConfig| parameters set using |configureRoaming|.
     */
    ENABLED = 1,
    /**
     * Driver/Firmware is allowed to roam more aggressively. For instance,
     * roaming can be triggered at higher RSSI thresholds than normal.
     */
    AGGRESSIVE = 2,
}
+2 −0
Original line number Diff line number Diff line
@@ -1147,6 +1147,8 @@ legacy_hal::fw_roaming_state_t convertAidlRoamingStateToLegacy(StaRoamingState s
            return legacy_hal::ROAMING_ENABLE;
        case StaRoamingState::DISABLED:
            return legacy_hal::ROAMING_DISABLE;
        case StaRoamingState::AGGRESSIVE:
            return legacy_hal::ROAMING_AGGRESSIVE;
    };
    CHECK(false);
}
+1 −0
Original line number Diff line number Diff line
@@ -186,6 +186,7 @@ using ::NanTransmitFollowupRequest;
using ::NanTxType;
using ::NpkSecurityAssociation;
using ::PASN;
using ::ROAMING_AGGRESSIVE;
using ::ROAMING_DISABLE;
using ::ROAMING_ENABLE;
using ::RTT_PEER_AP;