qcacmn: WAR for invalid length buffers in wbm rx error path

WAR for wrong length in first msdu in wbm rx error path while
handling scatter gather buffers. Get the msdu length from the
last buffer instead.

Change-Id: I869391ef5ca7005dce972013679c2143be836ecb
This commit is contained in:
Pavankumar Nandeshwar
2022-01-29 07:44:43 -08:00
committed by Madan Koyyalamudi
parent e487cebb1b
commit d5a07afa5d
4 changed files with 28 additions and 1 deletions

View File

@@ -14637,6 +14637,7 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
soc->per_tid_basize_max_tid = 8;
soc->wbm_release_desc_rx_sg_support = 1;
soc->rxdma2sw_rings_not_supported = 1;
soc->wbm_sg_last_msdu_war = 1;
soc->ast_offload_support = AST_OFFLOAD_ENABLE_STATUS;
soc->mec_fw_offload = FW_MEC_FW_OFFLOAD_ENABLED;
soc->num_hw_dscp_tid_map = HAL_MAX_HW_DSCP_TID_V2_MAPS;