qcacld-3.0: Add BTC as a new roam trigger reason in host

To support BTC roaming, add a definition of BTC roam trigger
reason in ini roam_triggers. It goes to fw via roam_enable
trigger command (WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID)

Change-Id: I231a72ed98a74fb1b5ced12da7c3932af12d485d
CRs-Fixed: 3009787
This commit is contained in:
abhinav kumar
2021-08-23 01:48:37 +05:30
committed by Madan Koyyalamudi
parent f577368da6
commit 939ba8556a
3 changed files with 7 additions and 1 deletions

View File

@@ -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;
}