qcacmn: Componentize Multicast Enhancement

Remove dependency of ME on VAP layer and radio(ic) layer data
structure.

Change-Id: I4d0c8e11a4049c01cd355b794d650cd3342293bf
CRs-Fixed: 2580388
This commit is contained in:
Himanshu Batra
2019-09-03 16:08:54 +05:30
committed by nshrivas
parent a94efa0175
commit 21ade1514e
10 changed files with 292 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2020 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
@@ -121,8 +121,8 @@ cdp_tx_me_free_descriptor(ol_txrx_soc_handle soc, struct cdp_pdev *pdev)
soc->ops->me_ops->tx_me_free_descriptor(pdev);
}
static inline uint16_t
cdp_tx_me_convert_ucast(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
static inline uint16_t cdp_tx_me_convert_ucast(
ol_txrx_soc_handle soc, uint8_t vdev_id,
qdf_nbuf_t wbuf, u_int8_t newmac[][6], uint8_t newmaccnt)
{
if (!soc || !soc->ops) {
@@ -137,7 +137,7 @@ cdp_tx_me_convert_ucast(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
return 0;
return soc->ops->me_ops->tx_me_convert_ucast
(vdev, wbuf, newmac, newmaccnt);
(soc, vdev_id, wbuf, newmac, newmaccnt);
}
/* Should be a function pointer in ol_txrx_osif_ops{} */