|
@@ -6336,7 +6336,7 @@ wlan_hdd_wifi_test_config_policy[
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_BA_TID] = {
|
|
|
.type = NLA_U8},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE] = {
|
|
|
- .type = NLA_U8},
|
|
|
+ .type = NLA_U16},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ENABLE_NO_ACK] = {
|
|
|
.type = NLA_U8},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_NO_ACK_AC] = {
|
|
@@ -7494,7 +7494,7 @@ __wlan_hdd_cfg80211_set_wifi_test_config(struct wiphy *wiphy,
|
|
|
if (cfg_val == QCA_WLAN_ADD_BA) {
|
|
|
if (tb[
|
|
|
QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE])
|
|
|
- buff_size = nla_get_u8(tb[
|
|
|
+ buff_size = nla_get_u16(tb[
|
|
|
QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE]);
|
|
|
ret_val = sme_send_addba_req(mac_handle,
|
|
|
adapter->session_id,
|
|
@@ -7506,7 +7506,7 @@ __wlan_hdd_cfg80211_set_wifi_test_config(struct wiphy *wiphy,
|
|
|
goto send_err;
|
|
|
}
|
|
|
} else if (tb[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE]) {
|
|
|
- buff_size = nla_get_u8(tb[
|
|
|
+ buff_size = nla_get_u16(tb[
|
|
|
QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE]);
|
|
|
hdd_debug("set buff size to %d for all tids", buff_size);
|
|
|
ret_val = sme_set_ba_buff_size(mac_handle,
|