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

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

Change-Id: I3f9bf381bd340755639184753a74159364331037
CRs-Fixed: 3282637
此提交包含在:
Kannan Saravanan
2022-09-28 18:41:19 +05:30
提交者 Madan Koyyalamudi
父節點 ba48f03c44
當前提交 fb0b54baee
共有 3 個檔案被更改,包括 20 行新增1 行删除

查看文件

@@ -50,7 +50,7 @@ void hal_qcn9000_attach(struct hal_soc *hal);
void hal_qcn9224v1_attach(struct hal_soc *hal);
void hal_qcn9224v2_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCN6122
#if defined(QCA_WIFI_QCN6122) || defined(QCA_WIFI_QCN9160)
void hal_qcn6122_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA6750
@@ -483,6 +483,18 @@ static void hal_target_based_configure(struct hal_soc *hal)
break;
#endif
#if defined(QCA_WIFI_QCN9160)
case TARGET_TYPE_QCN9160:
hal->use_register_windowing = true;
/*
* Static window map is enabled for qcn9160 to use 2mb bar
* size and use multiple windows to write into registers.
*/
hal->static_window_map = true;
hal_qcn6122_attach(hal);
break;
#endif
#ifdef QCA_WIFI_QCN9000
case TARGET_TYPE_QCN9000:
hal->use_register_windowing = true;