diff options
| author | Abhinav Kumar <abhikuma@codeaurora.org> | 2018-04-05 18:53:39 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-04-13 03:12:06 -0700 |
| commit | 49bd44bba091dbe342cc5478efbc4e2383d5aab7 (patch) | |
| tree | 6584eeda18bca1558d1a1e88d5b03834054d98b7 | |
| parent | acad71a79985cc1b93572bb00c4b67eee83d088a (diff) | |
qcacmn: Add new ini to set delay Hand-off period
Add new ini item "ho_delay_for_rx" to set delay Hand-off
period. For LFR 3.0 roaming scenario, once roam candidate
if found, firmware waits for minimum this much duration
to receive pending rx frames from current BSS before
switching to new channel for handoff to new AP.
Pass value of ho_delay_for_rx to fw in case of roam
offload.
Change-Id: I19141928a2885371bc1b9e7b720473d99c4ebb1d
CRs-Fixed: 2221755
| -rw-r--r-- | wmi/inc/wmi_unified_param.h | 1 | ||||
| -rw-r--r-- | wmi/src/wmi_unified_tlv.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index b5550eb68555..d4a1157e78f2 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -1825,6 +1825,7 @@ typedef struct { uint32_t wmm_caps; /* since this is 4 byte aligned, we don't declare it as tlv array */ uint32_t mcsset[WMI_HOST_ROAM_OFFLOAD_NUM_MCS_SET >> 2]; + uint32_t ho_delay_for_rx; } roam_offload_param; #define WMI_FILS_MAX_RRK_LENGTH 64 diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index cfe0ec44a1fa..aa0c6b7ff9c6 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -4835,6 +4835,8 @@ QDF_STATUS send_roam_scan_offload_mode_cmd_tlv(wmi_unified_t wmi_handle, roam_offload_params->rssi_cat_gap = roam_req->roam_rssi_cat_gap; roam_offload_params->select_5g_margin = roam_req->select_5ghz_margin; + roam_offload_params->handoff_delay_for_rx = + roam_req->roam_offload_params.ho_delay_for_rx; roam_offload_params->reassoc_failure_timeout = roam_req->reassoc_failure_timeout; |
