qcacmn: Replace Linux Fix-Width data-type with C-99 stdints

Datapath supposed to be HLOS-agnostic, but there is some use of
Linux fixed-width types u8, u16, and u32. These should be replaced with
C99 fixed-width types uint8_t, uint16_t, and uint32_t so that they will
correctly be HLOS-agnostic and work on non-Linux targets.

CRs-Fixed: 2326406
Change-Id: I8f9099a0170e4f94a54cdd6cc6c2e321a29af717
This commit is contained in:
Krunal Soni
2018-10-03 11:20:20 -07:00
committed by nshrivas
parent 83fb60c843
commit be43d55622
5 changed files with 13 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ cdp_hl_fc_register(ol_txrx_soc_handle soc, tx_pause_callback flowcontrol)
}
static inline int cdp_hl_fc_set_td_limit(ol_txrx_soc_handle soc,
u8 vdev_id, u8 chan)
uint8_t vdev_id, uint8_t chan)
{
if (!soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit)
return 0;
@@ -63,7 +63,7 @@ static inline int cdp_hl_fc_set_td_limit(ol_txrx_soc_handle soc,
}
static inline int cdp_hl_fc_set_os_queue_status(ol_txrx_soc_handle soc,
u8 vdev_id,
uint8_t vdev_id,
enum netif_action_type action)
{
if (!soc->ops->l_flowctl_ops->set_vdev_os_queue_status)
@@ -80,13 +80,13 @@ cdp_hl_fc_register(ol_txrx_soc_handle soc, tx_pause_callback flowcontrol)
}
static inline int cdp_hl_fc_set_td_limit(ol_txrx_soc_handle soc,
u8 vdev_id, u8 chan)
uint8_t vdev_id, uint8_t chan)
{
return 0;
}
static inline int cdp_hl_fc_set_os_queue_status(ol_txrx_soc_handle soc,
u8 vdev_id,
uint8_t vdev_id,
enum netif_action_type action)
{
return 0;