qcacmn: device ID and target type checks for ipq5018 target

Initial changes for ipq5018 compilation.
Added device ID and target type checks for ipq5018 traget.

Change-Id: Ib86a371fbe66749fcb6d114e7a4a9931b684e03d
This commit is contained in:
Basamma Yakkanahalli
2020-03-19 10:58:12 +05:30
committed by nshrivas
parent 925a7d389c
commit 9def5df14a
18 changed files with 166 additions and 12 deletions

View File

@@ -812,6 +812,7 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
case TARGET_TYPE_QCA8074:
case TARGET_TYPE_QCA8074V2:
case TARGET_TYPE_QCA6018:
case TARGET_TYPE_QCA5018:
case TARGET_TYPE_QCN9000:
#ifdef QCA_WIFI_QCA6390
case TARGET_TYPE_QCA6390:

View File

@@ -43,6 +43,9 @@ void hal_qcn9000_attach(struct hal_soc *hal);
#ifdef QCA_WIFI_QCA6750
void hal_qca6750_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA5018
void hal_qca5018_attach(struct hal_soc *hal);
#endif
#ifdef ENABLE_VERBOSE_DEBUG
bool is_hal_verbose_debug_enabled;
@@ -324,6 +327,11 @@ static void hal_target_based_configure(struct hal_soc *hal)
hal->static_window_map = true;
hal_qcn9000_attach(hal);
break;
#endif
#ifdef QCA_WIFI_QCA5018
case TARGET_TYPE_QCA5018:
hal_qca5018_attach(hal);
break;
#endif
default:
break;