qcacld-3.0: Use vdev_id in wlan_hdd_set_filter()

Currently wlan_hdd_set_filter() uses sessionId as a parameter name.
In order to align with converged naming, and to adhere to the Linux
coding style, change this to vdev_id.

Change-Id: Icf284b27bf72df0bac1c3b7a2a60b5a7129b49e5
CRs-Fixed: 2404328
This commit is contained in:
Jeff Johnson
2019-02-23 14:11:33 -08:00
committed by nshrivas
父節點 96259b245f
當前提交 b8673d0dae
共有 2 個文件被更改,包括 6 次插入6 次删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-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
@@ -52,13 +52,13 @@ int hdd_disable_default_pkt_filters(struct hdd_adapter *adapter);
* wlan_hdd_set_filter() - Set packet filter
* @hdd_ctx: Global HDD context
* @request: Packet filter request struct
* @sessionId: Target session for the request
* @vdev_id: Target vdev for the request
*
* Return: 0 on success, non-zero on error
*/
int wlan_hdd_set_filter(struct hdd_context *hdd_ctx,
struct pkt_filter_cfg *request,
uint8_t sessionId);
uint8_t vdev_id);
#else /* WLAN_FEATURE_PACKET_FILTERING */

查看文件

@@ -102,7 +102,7 @@ int hdd_disable_default_pkt_filters(struct hdd_adapter *adapter)
int wlan_hdd_set_filter(struct hdd_context *hdd_ctx,
struct pkt_filter_cfg *request,
uint8_t sessionId)
uint8_t vdev_id)
{
struct pmo_rcv_pkt_fltr_cfg *pmo_set_pkt_fltr_req = NULL;
struct pmo_rcv_pkt_fltr_clear_param *pmo_clr_pkt_fltr_param = NULL;
@@ -215,7 +215,7 @@ int wlan_hdd_set_filter(struct hdd_context *hdd_ctx,
status= ucfg_pmo_set_pkt_filter(hdd_ctx->psoc,
pmo_set_pkt_fltr_req,
sessionId);
vdev_id);
if (QDF_IS_STATUS_ERROR(status)) {
hdd_err("Failure to execute Set Filter");
status = QDF_STATUS_E_INVAL;
@@ -238,7 +238,7 @@ int wlan_hdd_set_filter(struct hdd_context *hdd_ctx,
pmo_clr_pkt_fltr_param->filter_id = request->filter_id;
status = ucfg_pmo_clear_pkt_filter(hdd_ctx->psoc,
pmo_clr_pkt_fltr_param,
sessionId);
vdev_id);
if (QDF_IS_STATUS_ERROR(status)) {
hdd_err("Failure to execute Clear Filter");
status = QDF_STATUS_E_INVAL;