Эх сурвалжийг харах

qcacmn: Correct the HTT config parameters for Pine full monitor mode

For Pine full monitor configuration to FW, HTT config parameters are
incorrect. Make change to use correct config parameters.

Change-Id: I964c8a28cea36b4e1e93c106540412c8cbfc7f29
CRs-Fixed: 3029362
Harsh Kumar Bijlani 3 жил өмнө
parent
commit
f366355211

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

@@ -742,7 +742,7 @@ int htt_h2t_full_mon_cfg(struct htt_soc *htt_soc,
 	 * separately during the below call to qdf_nbuf_push_head.
 	 * separately during the below call to qdf_nbuf_push_head.
 	 * The contribution from the HTC header is added separately inside HTC.
 	 * The contribution from the HTC header is added separately inside HTC.
 	 */
 	 */
-	if (!qdf_nbuf_put_tail(htt_msg, HTT_RX_RING_SELECTION_CFG_SZ)) {
+	if (!qdf_nbuf_put_tail(htt_msg, HTT_RX_FULL_MONITOR_MODE_SETUP_SZ)) {
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
 		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
 			  "%s: Failed to expand head for RX Ring Cfg msg",
 			  "%s: Failed to expand head for RX Ring Cfg msg",
 			  __func__);
 			  __func__);
@@ -797,7 +797,7 @@ int htt_h2t_full_mon_cfg(struct htt_soc *htt_soc,
 
 
 	SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, htt_msg);
 	SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, htt_msg);
 	qdf_debug("config: %d", config);
 	qdf_debug("config: %d", config);
-	DP_HTT_SEND_HTC_PKT(soc, pkt, HTT_H2T_MSG_TYPE_SRING_SETUP,
+	DP_HTT_SEND_HTC_PKT(soc, pkt, HTT_H2T_MSG_TYPE_RX_FULL_MONITOR_MODE,
 			    htt_logger_bufp);
 			    htt_logger_bufp);
 	return QDF_STATUS_SUCCESS;
 	return QDF_STATUS_SUCCESS;
 fail1:
 fail1: