mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Enable SAE authentication for P2P
Enable SAE authentication for P2P. This allows to process and forward the SAE auth frames to userspace in P2P_CLI and P2P_GO modes. Change-Id: I210f6b3db4d4d0a39f1dcb7f136ec9ac7e4c34c4 CRs-Fixed: 2933379
This commit is contained in:
parent
ff0aa70e37
commit
9b2dc8a42f
3 changed files with 6 additions and 2 deletions
|
|
@ -534,6 +534,7 @@ static const struct ieee80211_txrx_stypes
|
|||
[NL80211_IFTYPE_P2P_CLIENT] = {
|
||||
.tx = 0xffff,
|
||||
.rx = BIT(SIR_MAC_MGMT_ACTION) |
|
||||
BIT(SIR_MAC_MGMT_AUTH) |
|
||||
BIT(SIR_MAC_MGMT_PROBE_REQ),
|
||||
},
|
||||
[NL80211_IFTYPE_P2P_GO] = {
|
||||
|
|
|
|||
|
|
@ -207,7 +207,9 @@ static void lim_process_sae_msg(struct mac_context *mac, struct sir_sae_msg *bod
|
|||
}
|
||||
|
||||
if (session->opmode != QDF_STA_MODE &&
|
||||
session->opmode != QDF_SAP_MODE) {
|
||||
session->opmode != QDF_SAP_MODE &&
|
||||
session->opmode != QDF_P2P_GO_MODE &&
|
||||
session->opmode != QDF_P2P_CLIENT_MODE) {
|
||||
pe_err("SAE:Not supported in this mode %d",
|
||||
session->opmode);
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -15438,7 +15438,8 @@ QDF_STATUS sme_handle_sae_msg(mac_handle_t mac_handle,
|
|||
* is meant for roaming.
|
||||
*/
|
||||
if ((csr_session->pCurRoamProfile &&
|
||||
csr_session->pCurRoamProfile->csrPersona == QDF_SAP_MODE) ||
|
||||
(csr_session->pCurRoamProfile->csrPersona == QDF_SAP_MODE ||
|
||||
csr_session->pCurRoamProfile->csrPersona == QDF_P2P_GO_MODE)) ||
|
||||
!CSR_IS_ROAM_JOINED(mac, session_id)) {
|
||||
sae_msg = qdf_mem_malloc(sizeof(*sae_msg));
|
||||
if (!sae_msg) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue