qcacmn: Add support for Mesh Rx filters

Added support to filter out received packets on mesh vap based on
rx filter setting.

Change-Id: Ibc541324d928a9d006531c8908f4792e0c7d854e
CRs-Fixed: 2003389
This commit is contained in:
Venkateswara Swamy Bandaru
2017-03-07 11:04:28 +05:30
committed by qcabuildsw
parent ebe927f713
commit ec4f8e61c6
6 changed files with 292 additions and 2 deletions

View File

@@ -262,6 +262,24 @@ static inline void cdp_set_mesh_mode
return;
}
/**
* @brief set mesh rx filter
* @details based on the bits enabled in the filter packets has to be dropped.
*
* @param soc - pointer to the soc
* @param vdev - the data virtual device object
* @param val - value to be set
* @return - void
*/
static inline
void cdp_set_mesh_rx_filter(ol_txrx_soc_handle soc,
struct cdp_vdev *vdev, uint32_t val)
{
if (soc->ops->ctrl_ops->txrx_set_mesh_rx_filter)
return soc->ops->ctrl_ops->txrx_set_mesh_rx_filter(vdev, val);
return;
}
static inline void cdp_tx_flush_buffers
(ol_txrx_soc_handle soc, struct cdp_vdev *vdev)
{