|
@@ -6998,6 +6998,8 @@ wlan_hdd_wifi_test_config_policy[
|
|
|
= {.type = NLA_U8},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_BSS_MAX_IDLE_PERIOD] = {
|
|
|
.type = NLA_U16},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_PUNCTURED_PREAMBLE_RX] = {
|
|
|
+ .type = NLA_U8},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_DISASSOC_TX] = {
|
|
|
.type = NLA_FLAG},
|
|
|
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_FT_REASSOCREQ_RSNXE_USED] = {
|
|
@@ -10334,6 +10336,17 @@ __wlan_hdd_cfg80211_set_wifi_test_config(struct wiphy *wiphy,
|
|
|
(cfg_val ? true : false));
|
|
|
}
|
|
|
|
|
|
+ cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_PUNCTURED_PREAMBLE_RX;
|
|
|
+ if (tb[cmd_id]) {
|
|
|
+ cfg_val = nla_get_u8(tb[cmd_id]);
|
|
|
+ hdd_debug("Configure Punctured preamble Rx %d", cfg_val);
|
|
|
+ ret_val = sme_update_he_capabilities(mac_handle,
|
|
|
+ adapter->vdev_id,
|
|
|
+ cfg_val, cmd_id);
|
|
|
+ if (ret_val)
|
|
|
+ sme_err("Failed to update HE cap");
|
|
|
+ }
|
|
|
+
|
|
|
cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_SET_HE_TESTBED_DEFAULTS;
|
|
|
if (tb[cmd_id]) {
|
|
|
hdd_disable_runtime_pm_for_user(hdd_ctx);
|