qcacmn: Add ini cfg to disable invalid decap type handling

Add ini configuration to disable invalid decap type handling
during rx mon tlv processing. This is a temporary change for
debugging purpose and will be removed once HW issue is resolved.

Change-Id: I75eb53170833224ddd144baf1b1d8034f988dd3c
CRs-Fixed: 3308998
このコミットが含まれているのは:
Jeevan Kukkalli
2022-10-10 19:06:55 +05:30
committed by Madan Koyyalamudi
コミット 3bc974804e
4個のファイルの変更16行の追加2行の削除

ファイルの表示

@@ -1190,7 +1190,11 @@ uint8_t dp_rx_mon_process_tlv_status(struct dp_pdev *pdev,
qdf_frag_free(addr);
qdf_nbuf_queue_remove_last(&ppdu_info->mpdu_q[user_id]);
qdf_nbuf_free(nbuf);
/* we have freed the nbuf mark the q entry null */
/* if invalid decap type handling is disabled, assert */
if (soc->wlan_cfg_ctx->is_handle_invalid_decap_type_disabled) {
dp_mon_err("Decap type invalid");
qdf_assert_always(0);
}
return num_buf_reaped;
}