qcacmn: Conditionally update BAR frame info to H.W

Host updates BAR info to H.W when out of order or 2K jump
BAR frame is received. But some AP's frequently transmitting
out of order BAR frames even before reception of all the
frames in the current window, if station updates window
and SSN based on BAR frame, RX frames sequence number in
older window range which are yet to be received suffers
REO aging timeout and causes RX packet delay to avoid
this skipping BAR update to H.W conditionally.

Change-Id: If56571ffc0dc0880d7104ea3bb193ed9766124dd
CRs-Fixed: 3015643
This commit is contained in:
Karthik Kantamneni
2021-08-26 13:00:48 +05:30
committed by Madan Koyyalamudi
parent 033605a031
commit 48b496eabd
4 changed files with 58 additions and 0 deletions

View File

@@ -8803,6 +8803,14 @@ dp_set_vdev_param(struct cdp_soc_t *cdp_soc, uint8_t vdev_id,
vdev->mesh_tid_latency_config.latency_tid
= val.cdp_vdev_param_mesh_tid;
break;
#endif
#ifdef WLAN_VENDOR_SPECIFIC_BAR_UPDATE
case CDP_SKIP_BAR_UPDATE_AP:
dp_info("vdev_id %d skip BAR update: %u", vdev_id,
val.cdp_skip_bar_update);
vdev->skip_bar_update = val.cdp_skip_bar_update;
vdev->skip_bar_update_last_ts = 0;
break;
#endif
default:
break;