@@ -507,6 +507,108 @@ const struct service_to_pipe ath11k_target_service_to_ce_map_wlan_ipq8074[] = {
507507 { /* terminator entry */ }
508508};
509509
510+ const struct service_to_pipe ath11k_target_service_to_ce_map_wlan_ipq6018 [] = {
511+ {
512+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_VO ),
513+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
514+ .pipenum = __cpu_to_le32 (3 ),
515+ },
516+ {
517+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_VO ),
518+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
519+ .pipenum = __cpu_to_le32 (2 ),
520+ },
521+ {
522+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_BK ),
523+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
524+ .pipenum = __cpu_to_le32 (3 ),
525+ },
526+ {
527+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_BK ),
528+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
529+ .pipenum = __cpu_to_le32 (2 ),
530+ },
531+ {
532+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_BE ),
533+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
534+ .pipenum = __cpu_to_le32 (3 ),
535+ },
536+ {
537+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_BE ),
538+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
539+ .pipenum = __cpu_to_le32 (2 ),
540+ },
541+ {
542+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_VI ),
543+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
544+ .pipenum = __cpu_to_le32 (3 ),
545+ },
546+ {
547+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_DATA_VI ),
548+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
549+ .pipenum = __cpu_to_le32 (2 ),
550+ },
551+ {
552+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_CONTROL ),
553+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
554+ .pipenum = __cpu_to_le32 (3 ),
555+ },
556+ {
557+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_CONTROL ),
558+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
559+ .pipenum = __cpu_to_le32 (2 ),
560+ },
561+ {
562+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC1 ),
563+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
564+ .pipenum = __cpu_to_le32 (7 ),
565+ },
566+ {
567+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_WMI_CONTROL_MAC1 ),
568+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
569+ .pipenum = __cpu_to_le32 (2 ),
570+ },
571+ {
572+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_RSVD_CTRL ),
573+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
574+ .pipenum = __cpu_to_le32 (0 ),
575+ },
576+ {
577+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_RSVD_CTRL ),
578+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
579+ .pipenum = __cpu_to_le32 (1 ),
580+ },
581+ { /* not used */
582+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_TEST_RAW_STREAMS ),
583+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
584+ .pipenum = __cpu_to_le32 (0 ),
585+ },
586+ { /* not used */
587+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_TEST_RAW_STREAMS ),
588+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
589+ .pipenum = __cpu_to_le32 (1 ),
590+ },
591+ {
592+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_HTT_DATA_MSG ),
593+ .pipedir = __cpu_to_le32 (PIPEDIR_OUT ), /* out = UL = host -> target */
594+ .pipenum = __cpu_to_le32 (4 ),
595+ },
596+ {
597+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_HTT_DATA_MSG ),
598+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
599+ .pipenum = __cpu_to_le32 (1 ),
600+ },
601+ {
602+ .service_id = __cpu_to_le32 (ATH11K_HTC_SVC_ID_PKT_LOG ),
603+ .pipedir = __cpu_to_le32 (PIPEDIR_IN ), /* in = DL = target -> host */
604+ .pipenum = __cpu_to_le32 (5 ),
605+ },
606+
607+ /* (Additions here) */
608+
609+ { /* terminator entry */ }
610+ };
611+
510612/* Target firmware's Copy Engine configuration. */
511613const struct ce_pipe_config ath11k_target_ce_config_wlan_qca6390 [] = {
512614 /* CE0: host->target HTC control and raw streams */
0 commit comments