|
@@ -422,6 +422,37 @@ static struct service_to_pipe target_service_to_ce_map_qca8074[] = {
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
+#if (defined(QCA_WIFI_QCA8074V2))
|
|
|
+static struct service_to_pipe target_service_to_ce_map_qca8074_v2[] = {
|
|
|
+ { 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, },
|
|
|
+ { WMI_CONTROL_SVC_WMAC1, PIPEDIR_OUT, 7},
|
|
|
+ { WMI_CONTROL_SVC_WMAC1, PIPEDIR_IN, 2},
|
|
|
+ { WMI_CONTROL_SVC_WMAC2, PIPEDIR_OUT, 9},
|
|
|
+ { WMI_CONTROL_SVC_WMAC2, PIPEDIR_IN, 2},
|
|
|
+ { HTC_CTRL_RSVD_SVC, PIPEDIR_OUT, 0, },
|
|
|
+ { HTC_CTRL_RSVD_SVC, PIPEDIR_IN, 1, },
|
|
|
+ { HTC_RAW_STREAMS_SVC, PIPEDIR_OUT, 0},
|
|
|
+ { HTC_RAW_STREAMS_SVC, PIPEDIR_IN, 1 },
|
|
|
+ { 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_qca8074_v2[] = {
|
|
|
+};
|
|
|
+#endif
|
|
|
+
|
|
|
/* PIPEDIR_OUT = HOST to Target */
|
|
|
/* PIPEDIR_IN = TARGET to HOST */
|
|
|
#ifdef QCN7605_SUPPORT
|
|
@@ -718,11 +749,16 @@ static void hif_select_service_to_pipe_map(struct hif_softc *scn,
|
|
|
sizeof(target_service_to_ce_map_qca6390);
|
|
|
break;
|
|
|
case TARGET_TYPE_QCA8074:
|
|
|
- case TARGET_TYPE_QCA8074V2:
|
|
|
*tgt_svc_map_to_use = target_service_to_ce_map_qca8074;
|
|
|
*sz_tgt_svc_map_to_use =
|
|
|
sizeof(target_service_to_ce_map_qca8074);
|
|
|
break;
|
|
|
+ case TARGET_TYPE_QCA8074V2:
|
|
|
+ *tgt_svc_map_to_use =
|
|
|
+ target_service_to_ce_map_qca8074_v2;
|
|
|
+ *sz_tgt_svc_map_to_use =
|
|
|
+ sizeof(target_service_to_ce_map_qca8074_v2);
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
}
|