Bläddra i källkod

qcacmn: Handle Status buffer done tlv for monitor mode

WIFIRX_STATUS_BUFFER_DONE_E tlv indicates the dma
to monitor status ring is complete. Currently this
tlv is unhandled and the logs are flooded with error
message for this TLV being unhandled.

Handle the status buffer done tlv to remove the
unnecssary logging onto the console.

Change-Id: Ie1ac6adf46092ba7bff3ee4a3262fc98c8a6eb3d
CRs-Fixed: 3208659
Rakesh Pillai 3 år sedan
förälder
incheckning
ae051ef432
2 ändrade filer med 5 tillägg och 4 borttagningar
  1. 3 1
      hal/wifi3.0/be/hal_be_api_mon.h
  2. 2 3
      hal/wifi3.0/kiwi/hal_kiwi.c

+ 3 - 1
hal/wifi3.0/be/hal_be_api_mon.h

@@ -2924,9 +2924,11 @@ hal_rx_status_get_tlv_info_generic_be(void *rx_tlv_hdr, void *ppduinfo,
 		return HAL_TLV_STATUS_MON_BUF_ADDR;
 	case 0:
 		return HAL_TLV_STATUS_PPDU_DONE;
+	case WIFIRX_STATUS_BUFFER_DONE_E:
+		return HAL_TLV_STATUS_PPDU_NOT_DONE;
 
 	default:
-		qdf_debug("unhandled tlv tag %d", tlv_tag);
+		hal_debug("unhandled tlv tag %d", tlv_tag);
 	}
 
 	qdf_trace_hex_dump(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,

+ 2 - 3
hal/wifi3.0/kiwi/hal_kiwi.c

@@ -1232,9 +1232,8 @@ void hal_rx_proc_phyrx_other_receive_info_tlv_kiwi(void *rx_tlv_hdr,
 
 	switch (other_tlv_tag) {
 	default:
-		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			  "%s unhandled TLV type: %d, TLV len:%d",
-			  __func__, other_tlv_tag, other_tlv_len);
+		hal_err_rl("unhandled TLV type: %d, TLV len:%d",
+			   other_tlv_tag, other_tlv_len);
 		break;
 	}
 }