From 855f0b1346479a9a1bb9c9d7c078aeed80477c70 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 22 Feb 2019 20:10:01 -0800 Subject: [PATCH] qcacmn: Replace session_id in rssi_monitor_param In struct rssi_monitor_param the legacy identifier session_id is currently used to identify the vdev of interest. To align with the converged nomenclature rename this to vdev_id. This is co-dependent with Icf5d5797eed143837c57a2b7d9a6c9b1b63387e9 ("qcacld-3.0: Use vdev_id in rssi_monitor_param"). Change-Id: I6087c5018af98a84e7e784527000448ace7fac6e CRs-Fixed: 2404081 --- wmi/inc/wmi_unified_roam_param.h | 4 ++-- wmi/src/wmi_unified_roam_tlv.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmi/inc/wmi_unified_roam_param.h b/wmi/inc/wmi_unified_roam_param.h index 6a93044fc397..42ca5853a631 100644 --- a/wmi/inc/wmi_unified_roam_param.h +++ b/wmi/inc/wmi_unified_roam_param.h @@ -50,14 +50,14 @@ struct gateway_update_req_param { /** * struct rssi_monitor_param - rssi monitoring * @request_id: request id - * @session_id: session id + * @vdev_id: vdev id * @min_rssi: minimum rssi * @max_rssi: maximum rssi * @control: flag to indicate start or stop */ struct rssi_monitor_param { uint32_t request_id; - uint32_t session_id; + uint32_t vdev_id; int8_t min_rssi; int8_t max_rssi; bool control; diff --git a/wmi/src/wmi_unified_roam_tlv.c b/wmi/src/wmi_unified_roam_tlv.c index d5930c584e27..afb99e53554b 100644 --- a/wmi/src/wmi_unified_roam_tlv.c +++ b/wmi/src/wmi_unified_roam_tlv.c @@ -119,7 +119,7 @@ static QDF_STATUS send_set_rssi_monitoring_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_GET_STRUCT_TLVLEN( wmi_rssi_breach_monitor_config_fixed_param)); - cmd->vdev_id = req->session_id; + cmd->vdev_id = req->vdev_id; cmd->request_id = req->request_id; cmd->lo_rssi_reenable_hysteresis = 0; cmd->hi_rssi_reenable_histeresis = 0;