qcacld-3.0: Do not allow 6 GHz SAP in non-WPA3

Reject the SAP if the frequency is 6 GHz and
the security is non-WPA3 AKM suite.

Also, use the ini "check_6ghz_security" to
allow the 6 GHz SAP to be operational on an
open security mode for test purposes.

Change-Id: Ifc57656a556ef5b6829ed56bb1ec360b5b84379e
CRs-Fixed: 3176629
This commit is contained in:
Surya Prakash Sivaraj
2022-07-08 19:02:52 +05:30
committed by Madan Koyyalamudi
parent 351b51c759
commit 3c1e1b799d
2 changed files with 15 additions and 5 deletions

View File

@@ -2971,6 +2971,9 @@ static QDF_STATUS sap_goto_starting(struct sap_context *sap_ctx,
qdf_status = sap_validate_dfs_nol(sap_ctx, mac_ctx);
if (!QDF_IS_STATUS_SUCCESS(qdf_status))
return qdf_status;
} else if (!policy_mgr_get_ap_6ghz_capable(mac_ctx->psoc,
sap_ctx->sessionId, NULL)) {
return QDF_STATUS_E_FAILURE;
}
/*