qcacld-3.0: Configuration support for VHT in 2.4G band
Add support to configure VHT support in 2.4G band. Change-Id: If3e94db7b4b8a84522b395bd2f33a52ccf42d053 CRs-Fixed: 2414930
This commit is contained in:

committed by
nshrivas

parent
921b5a5213
commit
a1c29ecc16
@@ -5361,6 +5361,8 @@ wlan_hdd_wifi_test_config_policy[
|
||||
.type = NLA_U8},
|
||||
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_SET_HE_TESTBED_DEFAULTS]
|
||||
= {.type = NLA_U8},
|
||||
[QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ENABLE_2G_VHT] = {
|
||||
.type = NLA_U8},
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -7135,6 +7137,14 @@ __wlan_hdd_cfg80211_set_wifi_test_config(struct wiphy *wiphy,
|
||||
sme_config_su_ppdu_queue(adapter->vdev_id, false);
|
||||
}
|
||||
|
||||
cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ENABLE_2G_VHT;
|
||||
if (tb[cmd_id]) {
|
||||
cfg_val = nla_get_u8(tb[cmd_id]);
|
||||
hdd_debug("Configure 2G VHT support %d", cfg_val);
|
||||
ucfg_mlme_set_vht_for_24ghz(hdd_ctx->psoc,
|
||||
(cfg_val ? true : false));
|
||||
}
|
||||
|
||||
cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_HTC_HE_SUPP;
|
||||
if (tb[cmd_id]) {
|
||||
cfg_val = nla_get_u8(tb[cmd_id]);
|
||||
|
Reference in New Issue
Block a user