From 5dd21b7fc381f04850283b05979e574aeda9f984 Mon Sep 17 00:00:00 2001 From: Balaji Pothunoori Date: Tue, 12 Jan 2021 10:40:56 +0530 Subject: [PATCH] qcacmn: aggr ba enable set for firmware compatibility firmware will honor ADDBA aggr size config from host if host set aggr_ba_enable else default behavior intact. Change-Id: Iaaf929a74b44ac94370f1d98b7aef7aaec308eff CRs-Fixed: 2852999 --- .../vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h | 3 ++- wmi/src/wmi_unified_tlv.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h b/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h index c91643829a97..e784d15e819d 100644 --- a/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h +++ b/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h @@ -388,7 +388,8 @@ struct set_custom_aggr_size_params { tx_aggr_size_disable:1, rx_aggr_size_disable:1, tx_ac_enable:1, - reserved:26; + aggr_ba_enable:1, + reserved:25; }; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 7994545aa238..219ab064113c 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -6389,6 +6389,8 @@ static inline void copy_custom_aggr_bitmap( param->rx_aggr_size_disable); WMI_VDEV_CUSTOM_TX_AC_EN_SET(cmd->enable_bitmap, param->tx_ac_enable); + WMI_VDEV_CUSTOM_AGGR_256_BA_EN_SET(cmd->enable_bitmap, + param->aggr_ba_enable); } /**