qcacmn: Initial changes for QCN6432 bring-up in HAL layer

Add device Id and target type checks for qcn6432 target
compilation.

Change-Id: Ibad1763b2d32929d81fe876571c37da9fdd15ab3
CRs-Fixed: 3351745
This commit is contained in:
Kannan Saravanan
2022-12-02 15:29:45 +05:30
committed by Madan Koyyalamudi
parent 3a915602b8
commit bbd8a57b8e
3 changed files with 17 additions and 0 deletions

View File

@@ -2841,6 +2841,7 @@ hal_rx_status_get_tlv_info_generic_be(void *rx_tlv_hdr, void *ppduinfo,
case TARGET_TYPE_QCA5018:
case TARGET_TYPE_QCN9000:
case TARGET_TYPE_QCN6122:
case TARGET_TYPE_QCN6432:
#ifdef QCA_WIFI_QCA6390
case TARGET_TYPE_QCA6390:
#endif

View File

@@ -53,6 +53,9 @@ void hal_qcn9224v2_attach(struct hal_soc *hal);
#if defined(QCA_WIFI_QCN6122) || defined(QCA_WIFI_QCN9160)
void hal_qcn6122_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCN6432
void hal_qcn6432_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA6750
void hal_qca6750_attach(struct hal_soc *hal);
#endif
@@ -496,6 +499,18 @@ static void hal_target_based_configure(struct hal_soc *hal)
break;
#endif
#if defined(QCA_WIFI_QCN6432)
case TARGET_TYPE_QCN6432:
hal->use_register_windowing = true;
/*
* Static window map is enabled for qcn6432 to use 2mb bar
* size and use multiple windows to write into registers.
*/
hal->static_window_map = true;
hal_qcn6432_attach(hal);
break;
#endif
#ifdef QCA_WIFI_QCN9000
case TARGET_TYPE_QCN9000:
hal->use_register_windowing = true;

View File

@@ -118,6 +118,7 @@ do { \
#define HAL_MAX_HW_DSCP_TID_V2_MAPS 48
#define HAL_MAX_HW_DSCP_TID_V2_MAPS_5332 24
#define HAL_MAX_HW_DSCP_TID_V2_MAPS_6432 24
#define HTT_META_HEADER_LEN_BYTES 64
#define HAL_TX_EXT_DESC_WITH_META_DATA \
(HTT_META_HEADER_LEN_BYTES + HAL_TX_EXTENSION_DESC_LEN_BYTES)