qcacmn: CONFIG_MCL cleanup in HAL layer

CONFIG_MCL cleanup in cmn driver HAL layer.

Change-Id: I1fa4657a8ffa87d571157e635ecedf8e8af0bf07
CRs-Fixed: 2467203
This commit is contained in:
Vevek Venkatesan
2019-06-06 19:21:25 +05:30
committed by nshrivas
parent bf9d06fab1
commit 735d9fedfc
3 changed files with 4 additions and 6 deletions

View File

@@ -157,7 +157,7 @@ static inline void hal_tx_desc_set_buf_addr_generic(void *desc,
HAL_TX_SM(UNIFIED_TCL_DATA_CMD_2, BUF_OR_EXT_DESC_TYPE, type); HAL_TX_SM(UNIFIED_TCL_DATA_CMD_2, BUF_OR_EXT_DESC_TYPE, type);
} }
#if defined(CONFIG_MCL) && defined(QCA_WIFI_QCA6290_11AX) #if defined(QCA_WIFI_QCA6290_11AX_MU_UL) && defined(QCA_WIFI_QCA6290_11AX)
/** /**
* hal_rx_handle_other_tlvs() - handle special TLVs like MU_UL * hal_rx_handle_other_tlvs() - handle special TLVs like MU_UL
* tlv_tag: Taf of the TLVs * tlv_tag: Taf of the TLVs
@@ -239,7 +239,7 @@ hal_rx_handle_other_tlvs(uint32_t tlv_tag, void *rx_tlv,
{ {
return false; return false;
} }
#endif /* CONFIG_MCL && QCA_WIFI_QCA6290_11AX */ #endif /* QCA_WIFI_QCA6290_11AX_MU_UL && QCA_WIFI_QCA6290_11AX */
#if defined(RX_PPDU_END_USER_STATS_1_OFDMA_INFO_VALID_OFFSET) #if defined(RX_PPDU_END_USER_STATS_1_OFDMA_INFO_VALID_OFFSET)
static inline void static inline void

View File

@@ -57,7 +57,7 @@
#include "rxpcu_ppdu_end_info.h" #include "rxpcu_ppdu_end_info.h"
#include "phyrx_he_sig_a_su.h" #include "phyrx_he_sig_a_su.h"
#include "phyrx_he_sig_a_mu_dl.h" #include "phyrx_he_sig_a_mu_dl.h"
#if defined(CONFIG_MCL) && defined(QCA_WIFI_QCA6290_11AX) #if defined(QCA_WIFI_QCA6290_11AX_MU_UL) && defined(QCA_WIFI_QCA6290_11AX)
#include "phyrx_he_sig_a_mu_ul.h" #include "phyrx_he_sig_a_mu_ul.h"
#endif #endif
#include "phyrx_he_sig_b1_mu.h" #include "phyrx_he_sig_b1_mu.h"

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -46,7 +46,6 @@ static void hal_tx_desc_set_dscp_tid_table_id_6290(void *desc,
DSCP_TID_TABLE_NUM, id); DSCP_TID_TABLE_NUM, id);
} }
#else #else
#ifdef CONFIG_MCL
static 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) uint8_t id)
{ {
@@ -56,7 +55,6 @@ static void hal_tx_desc_set_dscp_tid_table_id_6290(void *desc,
DSCP_TO_TID_PRIORITY_TABLE_ID, id); DSCP_TO_TID_PRIORITY_TABLE_ID, id);
} }
#endif #endif
#endif
#define DSCP_TID_TABLE_SIZE 24 #define DSCP_TID_TABLE_SIZE 24