From 03d103d83bce1f90d7a0119a00f873ff5d9d870c Mon Sep 17 00:00:00 2001 From: yeshwanth sriram guntuka Date: Fri, 1 Sep 2017 17:56:07 +0530 Subject: qcacmn: Add config support for BTM offload Add ini to configure BTM offload configuration which is sent to firmware as part of RSO start via wmi btm config cmd. Change-Id: I69c792705b208014af8f1878f7645d957dde6c06 CRs-Fixed: 2105112 --- wmi/src/wmi_unified_api.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'wmi/src/wmi_unified_api.c') diff --git a/wmi/src/wmi_unified_api.c b/wmi/src/wmi_unified_api.c index c2494eaf5365..44abdd757163 100644 --- a/wmi/src/wmi_unified_api.c +++ b/wmi/src/wmi_unified_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -6586,3 +6586,15 @@ wmi_extract_roam_scan_stats_res_evt(wmi_unified_t wmi, void *evt_buf, return QDF_STATUS_E_FAILURE; } + +QDF_STATUS wmi_unified_send_btm_config(void *wmi_hdl, + struct wmi_btm_config *params) +{ + wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl; + + if (wmi_handle->ops->send_btm_config) + return wmi_handle->ops->send_btm_config(wmi_handle, + params); + + return QDF_STATUS_E_FAILURE; +} -- cgit v1.2.3