瀏覽代碼

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 年之前
父節點
當前提交
ae051ef432
共有 2 個文件被更改,包括 5 次插入4 次删除
  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;
 		return HAL_TLV_STATUS_MON_BUF_ADDR;
 	case 0:
 	case 0:
 		return HAL_TLV_STATUS_PPDU_DONE;
 		return HAL_TLV_STATUS_PPDU_DONE;
+	case WIFIRX_STATUS_BUFFER_DONE_E:
+		return HAL_TLV_STATUS_PPDU_NOT_DONE;
 
 
 	default:
 	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,
 	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) {
 	switch (other_tlv_tag) {
 	default:
 	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;
 		break;
 	}
 	}
 }
 }