qcacmn: Remove common htt.h file and add cmn enum

Remove the htt.h file inclusion from inside the cdp layer.
The upper layers should include this. Create a common
enum structure to be used inside the cdp_if layer.
Translation will take place in the DP layer.

Change-Id: I0c3e30eab54c0efafb917ddb304678a392788c2b
Crs-fixed: 1075597
This commit is contained in:
Nandha Kishore Easwaran
2016-11-16 17:37:19 +05:30
committed by qcabuildsw
parent 2906ce1943
commit 870abdada3
4 changed files with 83 additions and 7 deletions

View File

@@ -112,7 +112,7 @@ cdp_set_drop_unenc(ol_txrx_soc_handle soc,
*/
static inline void
cdp_set_tx_encap_type(ol_txrx_soc_handle soc,
void *vdev, enum htt_pkt_type val)
void *vdev, enum htt_cmn_pkt_type val)
{
if (soc->ops->ctrl_ops->txrx_set_tx_encap_type)
return soc->ops->ctrl_ops->txrx_set_tx_encap_type(vdev, val);
@@ -131,7 +131,7 @@ cdp_set_tx_encap_type(ol_txrx_soc_handle soc,
*/
static inline void
cdp_set_vdev_rx_decap_type(ol_txrx_soc_handle soc,
void *vdev, enum htt_pkt_type val)
void *vdev, enum htt_cmn_pkt_type val)
{
if (soc->ops->ctrl_ops->txrx_set_vdev_rx_decap_type)
return soc->ops->ctrl_ops->txrx_set_vdev_rx_decap_type