mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
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.
This commit is contained in:
committed by
Android (Google) Code Review
commit
1c435e44c4
@@ -36,4 +36,5 @@ package android.hardware.wifi;
|
||||
enum StaRoamingState {
|
||||
DISABLED = 0,
|
||||
ENABLED = 1,
|
||||
AGGRESSIVE = 2,
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user