Browse Source

qcacmn: Add default queue map config message handler

Add default queue map config msg handler. This msg is sent by the target
in response to a default queue map request.

Change-Id: Id08e0b175172614514b9fb2dcabcc5f7f068896f
CRs-Fixed: 3126854
Ripan Deuri 3 years ago
parent
commit
831995f9ca
1 changed files with 23 additions and 0 deletions
  1. 23 0
      dp/wifi3.0/dp_htt.c

+ 23 - 0
dp/wifi3.0/dp_htt.c

@@ -37,6 +37,9 @@
 #include "dp_ratetable.h"
 #include "dp_ratetable.h"
 #endif
 #endif
 #include <qdf_module.h>
 #include <qdf_module.h>
+#ifdef CONFIG_SAWF_DEF_QUEUEUS
+#include <dp_sawf_htt.h>
+#endif
 
 
 #define HTT_TLV_HDR_LEN HTT_T2H_EXT_STATS_CONF_TLV_HDR_SIZE
 #define HTT_TLV_HDR_LEN HTT_T2H_EXT_STATS_CONF_TLV_HDR_SIZE
 
 
@@ -2324,6 +2327,20 @@ static void dp_vdev_txrx_hw_stats_handler(struct htt_soc *soc,
 {}
 {}
 #endif
 #endif
 
 
+#ifdef CONFIG_SAWF_DEF_QEUEUES
+static void dp_sawf_def_queues_update_map_report_conf(struct htt_soc *soc,
+						      uint32_t *msg_word,
+						      qdf_nbuf_t htt_t2h_msg)
+{
+	dp_htt_sawf_def_queues_map_report_conf(soc, msg_word, htt_t2h_msg);
+}
+#else
+static void dp_sawf_def_queues_update_map_report_conf(struct htt_soc *soc,
+						      uint32_t *msg_word,
+						      qdf_nbuf_t htt_t2h_msg)
+{}
+#endif
+
 /*
 /*
  * time_allow_print() - time allow print
  * time_allow_print() - time allow print
  * @htt_ring_tt:	ringi_id array of timestamps
  * @htt_ring_tt:	ringi_id array of timestamps
@@ -3308,6 +3325,12 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
 		dp_vdev_txrx_hw_stats_handler(soc, msg_word);
 		dp_vdev_txrx_hw_stats_handler(soc, msg_word);
 		break;
 		break;
 	}
 	}
+	case HTT_T2H_SAWF_DEF_QUEUES_MAP_REPORT_CONF:
+	{
+		dp_sawf_def_queues_update_map_report_conf(soc, msg_word,
+							  htt_t2h_msg);
+		break;
+	}
 	default:
 	default:
 		break;
 		break;
 	};
 	};