qcacmn: make hal target specific functions as static
This is needed to fix a compilation warning reported as error due to Werror gcc option Change-Id: I1ffab78b01266d5d0dabd843a03d44fc6b56b477
This commit is contained in:

committed by
nshrivas

parent
96d2d41c87
commit
ca15415988
@@ -80,7 +80,7 @@ hal_rx_msdu_start_nss_get_6290(uint8_t *buf)
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_rx_mon_hw_desc_get_mpdu_status_6290(void *hw_desc_addr,
|
||||
static void hal_rx_mon_hw_desc_get_mpdu_status_6290(void *hw_desc_addr,
|
||||
struct mon_rx_status *rs)
|
||||
{
|
||||
struct rx_msdu_start *rx_msdu_start;
|
||||
@@ -128,7 +128,7 @@ void hal_rx_mon_hw_desc_get_mpdu_status_6290(void *hw_desc_addr,
|
||||
|
||||
#define LINK_DESC_SIZE (NUM_OF_DWORDS_RX_MSDU_LINK << 2)
|
||||
|
||||
uint32_t hal_get_link_desc_size_6290(void)
|
||||
static uint32_t hal_get_link_desc_size_6290(void)
|
||||
{
|
||||
return LINK_DESC_SIZE;
|
||||
}
|
||||
@@ -153,6 +153,7 @@ static uint8_t hal_rx_get_tlv_6290(void *rx_tlv)
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static
|
||||
void hal_rx_proc_phyrx_other_receive_info_tlv_6290(void *rx_tlv_hdr,
|
||||
void *ppdu_info_handle)
|
||||
{
|
||||
|
@@ -47,7 +47,7 @@
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_desc_set_dscp_tid_table_id_6290(void *desc,
|
||||
static void hal_tx_desc_set_dscp_tid_table_id_6290(void *desc,
|
||||
uint8_t id)
|
||||
{
|
||||
HAL_SET_FLD(desc, TCL_DATA_CMD_5,
|
||||
@@ -70,7 +70,7 @@ void hal_tx_desc_set_dscp_tid_table_id_6290(void *desc,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hal_tx_set_dscp_tid_map_6290(void *hal_soc, uint8_t *map,
|
||||
static void hal_tx_set_dscp_tid_map_6290(void *hal_soc, uint8_t *map,
|
||||
uint8_t id)
|
||||
{
|
||||
int i;
|
||||
@@ -137,7 +137,7 @@ void hal_tx_set_dscp_tid_map_6290(void *hal_soc, uint8_t *map,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_update_dscp_tid_6290(void *hal_soc, uint8_t tid,
|
||||
static void hal_tx_update_dscp_tid_6290(void *hal_soc, uint8_t tid,
|
||||
uint8_t id, uint8_t dscp)
|
||||
{
|
||||
int index;
|
||||
@@ -171,8 +171,7 @@ void hal_tx_update_dscp_tid_6290(void *hal_soc, uint8_t tid,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_desc_set_lmac_id_6290(void *desc,
|
||||
uint8_t lmac_id)
|
||||
static void hal_tx_desc_set_lmac_id_6290(void *desc, uint8_t lmac_id)
|
||||
{
|
||||
HAL_SET_FLD(desc, TCL_DATA_CMD_4, LMAC_ID) |=
|
||||
HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id);
|
||||
|
@@ -80,7 +80,7 @@ hal_rx_msdu_start_nss_get_6390(uint8_t *buf)
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_rx_mon_hw_desc_get_mpdu_status_6390(void *hw_desc_addr,
|
||||
static void hal_rx_mon_hw_desc_get_mpdu_status_6390(void *hw_desc_addr,
|
||||
struct mon_rx_status *rs)
|
||||
{
|
||||
struct rx_msdu_start *rx_msdu_start;
|
||||
@@ -128,7 +128,7 @@ void hal_rx_mon_hw_desc_get_mpdu_status_6390(void *hw_desc_addr,
|
||||
|
||||
#define LINK_DESC_SIZE (NUM_OF_DWORDS_RX_MSDU_LINK << 2)
|
||||
|
||||
uint32_t hal_get_link_desc_size_6390(void)
|
||||
static uint32_t hal_get_link_desc_size_6390(void)
|
||||
{
|
||||
return LINK_DESC_SIZE;
|
||||
}
|
||||
@@ -152,6 +152,7 @@ static uint8_t hal_rx_get_tlv_6390(void *rx_tlv)
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static
|
||||
void hal_rx_proc_phyrx_other_receive_info_tlv_6390(void *rx_tlv_hdr,
|
||||
void *ppdu_info_handle)
|
||||
{
|
||||
@@ -189,7 +190,7 @@ void hal_rx_proc_phyrx_other_receive_info_tlv_6390(void *rx_tlv_hdr,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_rx_dump_msdu_start_tlv_6390(void *msdustart, uint8_t dbg_level)
|
||||
static void hal_rx_dump_msdu_start_tlv_6390(void *msdustart, uint8_t dbg_level)
|
||||
{
|
||||
struct rx_msdu_start *msdu_start = (struct rx_msdu_start *)msdustart;
|
||||
|
||||
@@ -425,8 +426,7 @@ uint32_t hal_rx_msdu_start_reception_type_get_6390(uint8_t *buf)
|
||||
* @ buf: pointer to the start of RX PKT TLV headers
|
||||
* Return: da index
|
||||
*/
|
||||
static
|
||||
uint16_t hal_rx_msdu_end_da_idx_get_6390(uint8_t *buf)
|
||||
static uint16_t hal_rx_msdu_end_da_idx_get_6390(uint8_t *buf)
|
||||
{
|
||||
struct rx_pkt_tlvs *pkt_tlvs = (struct rx_pkt_tlvs *)buf;
|
||||
struct rx_msdu_end *msdu_end = &pkt_tlvs->msdu_end_tlv.rx_msdu_end;
|
||||
|
@@ -47,8 +47,7 @@
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_desc_set_dscp_tid_table_id_6390(void *desc,
|
||||
uint8_t id)
|
||||
static void hal_tx_desc_set_dscp_tid_table_id_6390(void *desc, uint8_t id)
|
||||
{
|
||||
HAL_SET_FLD(desc, TCL_DATA_CMD_5,
|
||||
DSCP_TID_TABLE_NUM) |=
|
||||
@@ -70,7 +69,7 @@ void hal_tx_desc_set_dscp_tid_table_id_6390(void *desc,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hal_tx_set_dscp_tid_map_6390(void *hal_soc, uint8_t *map,
|
||||
static void hal_tx_set_dscp_tid_map_6390(void *hal_soc, uint8_t *map,
|
||||
uint8_t id)
|
||||
{
|
||||
int i;
|
||||
@@ -137,7 +136,7 @@ void hal_tx_set_dscp_tid_map_6390(void *hal_soc, uint8_t *map,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_update_dscp_tid_6390(void *hal_soc, uint8_t tid,
|
||||
static void hal_tx_update_dscp_tid_6390(void *hal_soc, uint8_t tid,
|
||||
uint8_t id, uint8_t dscp)
|
||||
{
|
||||
int index;
|
||||
@@ -171,8 +170,7 @@ void hal_tx_update_dscp_tid_6390(void *hal_soc, uint8_t tid,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_desc_set_lmac_id_6390(void *desc,
|
||||
uint8_t lmac_id)
|
||||
static void hal_tx_desc_set_lmac_id_6390(void *desc, uint8_t lmac_id)
|
||||
{
|
||||
HAL_SET_FLD(desc, TCL_DATA_CMD_4, LMAC_ID) |=
|
||||
HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id);
|
||||
|
@@ -63,7 +63,7 @@ hal_rx_msdu_start_nss_get_8074(uint8_t *buf)
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_rx_mon_hw_desc_get_mpdu_status_8074(void *hw_desc_addr,
|
||||
static void hal_rx_mon_hw_desc_get_mpdu_status_8074(void *hw_desc_addr,
|
||||
struct mon_rx_status *rs)
|
||||
{
|
||||
struct rx_msdu_start *rx_msdu_start;
|
||||
@@ -134,6 +134,7 @@ static uint8_t hal_rx_get_tlv_8074(void *rx_tlv)
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static
|
||||
void hal_rx_proc_phyrx_other_receive_info_tlv_8074(void *rx_tlv_hdr,
|
||||
void *ppdu_info)
|
||||
{
|
||||
|
@@ -45,8 +45,7 @@
|
||||
* Return: void
|
||||
*/
|
||||
|
||||
void hal_tx_desc_set_dscp_tid_table_id_8074(void *desc,
|
||||
uint8_t id)
|
||||
static void hal_tx_desc_set_dscp_tid_table_id_8074(void *desc, uint8_t id)
|
||||
{
|
||||
HAL_SET_FLD(desc, TCL_DATA_CMD_3,
|
||||
DSCP_TO_TID_PRIORITY_TABLE_ID) |=
|
||||
@@ -67,7 +66,7 @@ void hal_tx_desc_set_dscp_tid_table_id_8074(void *desc,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void hal_tx_set_dscp_tid_map_8074(void *hal_soc, uint8_t *map,
|
||||
static void hal_tx_set_dscp_tid_map_8074(void *hal_soc, uint8_t *map,
|
||||
uint8_t id)
|
||||
{
|
||||
int i;
|
||||
@@ -114,6 +113,7 @@ void hal_tx_set_dscp_tid_map_8074(void *hal_soc, uint8_t *map,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static
|
||||
void hal_tx_update_dscp_tid_8074(void *hal_soc, uint8_t tid,
|
||||
uint8_t id, uint8_t dscp)
|
||||
{
|
||||
@@ -157,7 +157,6 @@ void hal_tx_update_dscp_tid_8074(void *hal_soc, uint8_t tid,
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hal_tx_desc_set_lmac_id_8074(void *desc,
|
||||
uint8_t lmac_id)
|
||||
static void hal_tx_desc_set_lmac_id_8074(void *desc, uint8_t lmac_id)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user