From cb4f428edc20de8087a4b1eaddc3fcdc43202821 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 20 Jan 2019 09:04:21 -0800 Subject: [PATCH] qcacmn: Refine struct add_ts_param Many of the fields in struct add_ts_param use camelCase which is frowned upon by the Linux coding standard, so rename them to be compliant. Note that change I829ad0abb864f0a05047894bab9977d8529074dc ("qcacld-3.0: Align with the refined struct add_ts_param") is interdependent with this change. Change-Id: I421b670b86a7e1cecbe5a2686efefbbb6c455267 CRs-Fixed: 2433927 --- wmi/inc/wmi_unified_param.h | 24 ++++++++++++------------ wmi/src/wmi_unified_sta_tlv.c | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index bff4483d42b9..747860b635fd 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -2397,28 +2397,28 @@ struct mac_tspec_ie { /** * struct add_ts_param - ADDTS related parameters - * @staIdx: station index - * @tspecIdx: TSPEC handler uniquely identifying a TSPEC for a STA in a BSS - * @tspec: tspec value - * @status: CDF status - * @sessionId: session id - * @tsm_interval: TSM interval period passed from UMAC to WMI - * @setRICparams: RIC parameters * @vdev_id: vdev id + * @sta_idx: station index + * @tspec_idx: TSPEC handle uniquely identifying a TSPEC for a STA in a BSS + * @tspec: tspec value + * @status: QDF status + * @pe_session_id: protocol engine session id + * @tsm_interval: TSM interval period passed from UMAC to WMI + * @set_ric_params: Should RIC parameters be set? */ struct add_ts_param { - uint16_t staIdx; - uint16_t tspecIdx; + uint8_t vdev_id; + uint16_t sta_idx; + uint16_t tspec_idx; struct mac_tspec_ie tspec; QDF_STATUS status; - uint8_t sessionId; + uint8_t pe_session_id; #ifdef FEATURE_WLAN_ESE uint16_t tsm_interval; #endif /* FEATURE_WLAN_ESE */ #ifdef WLAN_FEATURE_ROAM_OFFLOAD - uint8_t setRICparams; + bool set_ric_params; #endif /* WLAN_FEATURE_ROAM_OFFLOAD */ - uint8_t vdev_id; }; /** diff --git a/wmi/src/wmi_unified_sta_tlv.c b/wmi/src/wmi_unified_sta_tlv.c index 6c69af44d45b..4c9e3fce0f2b 100644 --- a/wmi/src/wmi_unified_sta_tlv.c +++ b/wmi/src/wmi_unified_sta_tlv.c @@ -1586,7 +1586,7 @@ static QDF_STATUS send_del_ts_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id, * @aggr_qos_rsp_msg - combined struct for all ADD_TS requests. * * A function to handle WMI_AGGR_QOS_REQ. This will send out - * ADD_TS requestes to firmware in loop for all the ACs with + * ADD_TS requests to firmware in loop for all the ACs with * active flow. * * Return: CDF status