qcacld-3.0: Set AMSDU size when AMPDU is disabled

Send unit test command to set AMSDU size to FW when
AMPDU is disabled

Change-Id: I6695a5527d89fbe131036ffa4f7a4c476994dea7
CRs-Fixed: 2221912
This commit is contained in:
Kiran Kumar Lokere 2018-04-24 18:25:28 -07:00 • committed by nshrivas
commit 015f77fbbb

View file

@ -7365,6 +7365,15 @@ __wlan_hdd_cfg80211_set_wifi_test_config(struct wiphy *wiphy,
ret_val = wma_cli_set_command(adapter->session_id,
WMI_VDEV_PARAM_BA_MODE, set_val, VDEV_CMD);
if (ret_val) {
hdd_err("Set BA operating mode failed");
goto send_err;
}
if (!cfg_val) {
ret_val = wma_cli_set_command(adapter->session_id,
WMI_VDEV_PARAM_AMSDU_AGGREGATION_SIZE_OPTIMIZATION,
0, VDEV_CMD);
}
}
if (tb[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_FRAGMENTATION]) {