qcacmn: HIF changes to support Moselle
Add HIF changes for supporting the newly added IPCI bus type for Moselle CRs-Fixed: 2597321 Change-Id: I9097e4622e9d6d561e92f5a21cb279c4d631cfbb
This commit is contained in:
@@ -631,6 +631,31 @@ static struct service_to_pipe target_service_to_ce_map_qca6490[] = {
|
||||
{ 0, 0, 0, },
|
||||
};
|
||||
|
||||
#if (defined(QCA_WIFI_QCA6750))
|
||||
static struct service_to_pipe target_service_to_ce_map_qca6750[] = {
|
||||
{ WMI_DATA_VO_SVC, PIPEDIR_OUT, 3, },
|
||||
{ WMI_DATA_VO_SVC, PIPEDIR_IN, 2, },
|
||||
{ WMI_DATA_BK_SVC, PIPEDIR_OUT, 3, },
|
||||
{ WMI_DATA_BK_SVC, PIPEDIR_IN, 2, },
|
||||
{ WMI_DATA_BE_SVC, PIPEDIR_OUT, 3, },
|
||||
{ WMI_DATA_BE_SVC, PIPEDIR_IN, 2, },
|
||||
{ WMI_DATA_VI_SVC, PIPEDIR_OUT, 3, },
|
||||
{ WMI_DATA_VI_SVC, PIPEDIR_IN, 2, },
|
||||
{ WMI_CONTROL_SVC, PIPEDIR_OUT, 3, },
|
||||
{ WMI_CONTROL_SVC, PIPEDIR_IN, 2, },
|
||||
{ HTC_CTRL_RSVD_SVC, PIPEDIR_OUT, 0, },
|
||||
{ HTC_CTRL_RSVD_SVC, PIPEDIR_IN, 2, },
|
||||
{ HTT_DATA_MSG_SVC, PIPEDIR_OUT, 4, },
|
||||
{ HTT_DATA_MSG_SVC, PIPEDIR_IN, 1, },
|
||||
{ PACKET_LOG_SVC, PIPEDIR_IN, 5, },
|
||||
/* (Additions here) */
|
||||
{ 0, 0, 0, },
|
||||
};
|
||||
#else
|
||||
static struct service_to_pipe target_service_to_ce_map_qca6750[] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
static struct service_to_pipe target_service_to_ce_map_ar900b[] = {
|
||||
{
|
||||
WMI_DATA_VO_SVC,
|
||||
@@ -827,6 +852,11 @@ static void hif_select_service_to_pipe_map(struct hif_softc *scn,
|
||||
*sz_tgt_svc_map_to_use =
|
||||
sizeof(target_service_to_ce_map_qca6490);
|
||||
break;
|
||||
case TARGET_TYPE_QCA6750:
|
||||
*tgt_svc_map_to_use = target_service_to_ce_map_qca6750;
|
||||
*sz_tgt_svc_map_to_use =
|
||||
sizeof(target_service_to_ce_map_qca6750);
|
||||
break;
|
||||
case TARGET_TYPE_QCA8074:
|
||||
*tgt_svc_map_to_use = target_service_to_ce_map_qca8074;
|
||||
*sz_tgt_svc_map_to_use =
|
||||
@@ -1058,6 +1088,7 @@ bool ce_srng_based(struct hif_softc *scn)
|
||||
case TARGET_TYPE_QCA6290:
|
||||
case TARGET_TYPE_QCA6390:
|
||||
case TARGET_TYPE_QCA6490:
|
||||
case TARGET_TYPE_QCA6750:
|
||||
case TARGET_TYPE_QCA6018:
|
||||
case TARGET_TYPE_QCN9000:
|
||||
return true;
|
||||
@@ -3212,6 +3243,14 @@ void hif_ce_prepare_config(struct hif_softc *scn)
|
||||
|
||||
scn->ce_count = QCA_6490_CE_COUNT;
|
||||
break;
|
||||
case TARGET_TYPE_QCA6750:
|
||||
hif_state->host_ce_config = host_ce_config_wlan_qca6750;
|
||||
hif_state->target_ce_config = target_ce_config_wlan_qca6750;
|
||||
hif_state->target_ce_config_sz =
|
||||
sizeof(target_ce_config_wlan_qca6750);
|
||||
|
||||
scn->ce_count = QCA_6750_CE_COUNT;
|
||||
break;
|
||||
case TARGET_TYPE_ADRASTEA:
|
||||
if (hif_is_attribute_set(scn, HIF_LOWDESC_CE_NO_PKTLOG_CFG)) {
|
||||
hif_state->host_ce_config =
|
||||
|
Reference in New Issue
Block a user