qcacmn: Handle void pointer declarations for pdev and vdev

Replace void pointer handles for pdev and vdev with
abstract structure handles in cdp.
New file cdp_txrx_handle.h has the abstract
structure declarations.

Change-Id: I333e6ea5e699e7cebbfc6281faf7f07c0aee4e2a
CRs-Fixed: 1109835
This commit is contained in:
Venkata Sharath Chandra Manchala
2016-11-28 18:10:11 -08:00
committed by qcabuildsw
parent 703be6d6c4
commit f2a125a6f8
20 changed files with 388 additions and 352 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -31,7 +31,7 @@
*/
#ifndef _CDP_TXRX_WDS_H_
#define _CDP_TXRX_WDS_H_
#include "cdp_txrx_handle.h"
/**
* @brief set the wds rx filter policy of the device
* @details
@@ -44,7 +44,7 @@
*/
static inline void
cdp_set_wds_rx_policy(ol_txrx_soc_handle soc,
void *vdev,
struct cdp_vdev *vdev,
u_int32_t val)
{
if (!soc || !soc->ops || !soc->ops->wds_ops) {