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

@@ -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;