qcacld-3.0: Disable 6G security check if RF testmode is enabled

The 6GHz security check is enabled by default. Disable the check
if RF test mode is enabled.

Change-Id: Id6af514f6a31f6351b1b0d784c2b9f7d301496c0
CRs-Fixed: 3040621
This commit is contained in:
Kiran Kumar Lokere
2021-09-17 14:03:55 -07:00
committed by Madan Koyyalamudi
parent f5c868fc78
commit fb85fcd3b0
2 changed files with 6 additions and 2 deletions

View File

@@ -13707,6 +13707,10 @@ static int hdd_features_init(struct hdd_context *hdd_ctx)
wlan_cm_set_check_6ghz_security(hdd_ctx->psoc, true);
wlan_cm_set_6ghz_key_mgmt_mask(hdd_ctx->psoc,
ALLOWED_KEYMGMT_6G_MASK);
} else {
wlan_cm_set_check_6ghz_security(hdd_ctx->psoc, false);
wlan_cm_set_6ghz_key_mgmt_mask(hdd_ctx->psoc,
DEFAULT_KEYMGMT_6G_MASK);
}
hdd_thermal_stats_cmd_init(hdd_ctx);