qcacmn: Replace session_id in gateway_update_req_param

In struct gateway_update_req_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 I2d24a54e80931a944580e968a841679d2da7b2a1
("qcacld-3.0: Use vdev_id in gateway_update_req_param").

Change-Id: I84b28aa734b570f0a7834fbac7d27e9c66b8b026
CRs-Fixed: 2404012
This commit is contained in:
Jeff Johnson
2019-02-22 15:53:51 -08:00
committed by nshrivas
parent f8ec0cbe57
commit 9963d87b8e
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. * Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -26,7 +26,7 @@
/** /**
* struct gateway_update_req_param - gateway parameter update request * struct gateway_update_req_param - gateway parameter update request
* @request_id: request id * @request_id: request id
* @session_id: session id * @vdev_id: vdev id
* @max_retries: Max ARP/NS retry attempts * @max_retries: Max ARP/NS retry attempts
* @timeout: Retry interval * @timeout: Retry interval
* @ipv4_addr_type: on ipv4 network * @ipv4_addr_type: on ipv4 network
@@ -37,7 +37,7 @@
*/ */
struct gateway_update_req_param { struct gateway_update_req_param {
uint32_t request_id; uint32_t request_id;
uint32_t session_id; uint32_t vdev_id;
uint32_t max_retries; uint32_t max_retries;
uint32_t timeout; uint32_t timeout;
uint32_t ipv4_addr_type; uint32_t ipv4_addr_type;

View File

@@ -52,7 +52,7 @@ static QDF_STATUS send_set_gateway_params_cmd_tlv(wmi_unified_t wmi_handle,
WMITLV_GET_STRUCT_TLVLEN( WMITLV_GET_STRUCT_TLVLEN(
wmi_roam_subnet_change_config_fixed_param)); wmi_roam_subnet_change_config_fixed_param));
cmd->vdev_id = req->session_id; cmd->vdev_id = req->vdev_id;
qdf_mem_copy(&cmd->inet_gw_ip_v4_addr, req->ipv4_addr, qdf_mem_copy(&cmd->inet_gw_ip_v4_addr, req->ipv4_addr,
QDF_IPV4_ADDR_SIZE); QDF_IPV4_ADDR_SIZE);
qdf_mem_copy(&cmd->inet_gw_ip_v6_addr, req->ipv6_addr, qdf_mem_copy(&cmd->inet_gw_ip_v6_addr, req->ipv6_addr,