Browse Source

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
Jeff Johnson 6 years ago
parent
commit
855f0b1346
2 changed files with 3 additions and 3 deletions
  1. 2 2
      wmi/inc/wmi_unified_roam_param.h
  2. 1 1
      wmi/src/wmi_unified_roam_tlv.c

+ 2 - 2
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;

+ 1 - 1
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;