diff --git a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h index fba1726309..aaeecee508 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h @@ -2463,7 +2463,8 @@ * ROAM_TRIGGER_REASON_ESS_RSSI BIT 16 * ROAM_TRIGGER_REASON_WTC_BTM BIT 17 * ROAM_TRIGGER_REASON_PMK_TIMEOUT BIT 18 - * ROAM_TRIGGER_REASON_MAX BIT 19 + * ROAM_TRIGGER_REASON_BTC BIT 19 + * ROAM_TRIGGER_REASON_MAX BIT 20 * * Related: none * diff --git a/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h b/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h index eb5fbd84a0..766b5e1ff9 100644 --- a/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h +++ b/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h @@ -718,6 +718,7 @@ struct scoring_param { * ROAM_TRIGGER_REASON_ESS_RSSI: Roam triggered due to ess rssi * ROAM_TRIGGER_REASON_WTC_BTM: Roam triggered due to WTC BTM * ROAM_TRIGGER_REASON_PMK_TIMEOUT: Roam triggered due to PMK expiry + * ROAM_TRIGGER_REASON_BTC: Roam triggered due to BT Coex * ROAM_TRIGGER_REASON_MAX: Maximum number of roam triggers */ enum roam_trigger_reason { @@ -740,6 +741,7 @@ enum roam_trigger_reason { ROAM_TRIGGER_REASON_ESS_RSSI, ROAM_TRIGGER_REASON_WTC_BTM, ROAM_TRIGGER_REASON_PMK_TIMEOUT, + ROAM_TRIGGER_REASON_BTC, ROAM_TRIGGER_REASON_MAX, }; diff --git a/components/wmi/src/wmi_unified_roam_tlv.c b/components/wmi/src/wmi_unified_roam_tlv.c index b40da7f1cf..4b882c2770 100644 --- a/components/wmi/src/wmi_unified_roam_tlv.c +++ b/components/wmi/src/wmi_unified_roam_tlv.c @@ -1161,6 +1161,9 @@ convert_control_roam_trigger_reason_bitmap(uint32_t trigger_reason_bitmap) if (trigger_reason_bitmap & BIT(ROAM_TRIGGER_REASON_PMK_TIMEOUT)) fw_trigger_bitmap |= BIT(WMI_ROAM_TRIGGER_REASON_PMK_TIMEOUT); + if (trigger_reason_bitmap & BIT(ROAM_TRIGGER_REASON_BTC)) + fw_trigger_bitmap |= BIT(WMI_ROAM_TRIGGER_REASON_BTC); + return fw_trigger_bitmap; }