Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
map-controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Commits
0e9e973b
Commit
0e9e973b
authored
3 years ago
by
Anjan Chanda
Committed by
Jakob Olsson
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
support SAE and WPA3-Transition encryption for AP-autoconfig
parent
dff45b7d
No related branches found
No related tags found
No related merge requests found
Pipeline
#26695
failed
3 years ago
Stage: static_code_analysis
Stage: checkpatch
Stage: functional_test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/cntlr_tlv_generator.c
+5
-1
5 additions, 1 deletion
src/core/cntlr_tlv_generator.c
src/core/config.c
+6
-1
6 additions, 1 deletion
src/core/config.c
with
11 additions
and
2 deletions
src/core/cntlr_tlv_generator.c
+
5
−
1
View file @
0e9e973b
...
@@ -67,7 +67,11 @@ uint16_t wifi_sec_to_auth_types(enum wifi_security sec)
...
@@ -67,7 +67,11 @@ uint16_t wifi_sec_to_auth_types(enum wifi_security sec)
auth_type
|=
WPS_AUTH_WPA2
;
auth_type
|=
WPS_AUTH_WPA2
;
}
}
}
else
if
(
sec
>=
WIFI_SECURITY_WPAPSK
)
{
}
else
if
(
sec
>=
WIFI_SECURITY_WPAPSK
)
{
if
(
sec
==
WIFI_SECURITY_WPA2PSK
)
{
if
(
sec
==
WIFI_SECURITY_WPA3PSK
)
{
auth_type
=
WPS_AUTH_SAE
;
}
else
if
(
sec
==
WIFI_SECURITY_WPA3PSK_T
)
{
auth_type
=
WPS_AUTH_WPA3_T
;
}
else
if
(
sec
==
WIFI_SECURITY_WPA2PSK
)
{
auth_type
=
WPS_AUTH_WPA2PSK
;
auth_type
=
WPS_AUTH_WPA2PSK
;
}
else
if
(
sec
==
WIFI_SECURITY_WPAPSK
)
{
}
else
if
(
sec
==
WIFI_SECURITY_WPAPSK
)
{
auth_type
=
WPS_AUTH_WPAPSK
;
auth_type
=
WPS_AUTH_WPAPSK
;
...
...
This diff is collapsed.
Click to expand it.
src/core/config.c
+
6
−
1
View file @
0e9e973b
...
@@ -541,7 +541,12 @@ static int cntlr_config_get_credentials(struct controller_config *c,
...
@@ -541,7 +541,12 @@ static int cntlr_config_get_credentials(struct controller_config *c,
if
(
tb
[
CRED_SEC
])
{
if
(
tb
[
CRED_SEC
])
{
const
char
*
sec
=
tb
[
CRED_SEC
]
->
v
.
string
;
const
char
*
sec
=
tb
[
CRED_SEC
]
->
v
.
string
;
if
(
!
strncmp
(
sec
,
"psk-mixed"
,
9
))
{
if
(
!
strncmp
(
sec
,
"sae-mixed"
,
9
))
{
cred
->
sec
|=
WIFI_SECURITY_WPA3PSK
;
cred
->
sec
|=
WIFI_SECURITY_WPA3PSK_T
;
}
else
if
(
!
strncmp
(
sec
,
"sae"
,
3
))
{
cred
->
sec
|=
WIFI_SECURITY_WPA3PSK
;
}
else
if
(
!
strncmp
(
sec
,
"psk-mixed"
,
9
))
{
cred
->
sec
|=
WIFI_SECURITY_WPAPSK
;
cred
->
sec
|=
WIFI_SECURITY_WPAPSK
;
cred
->
sec
|=
WIFI_SECURITY_WPA2PSK
;
cred
->
sec
|=
WIFI_SECURITY_WPA2PSK
;
}
else
if
(
!
strncmp
(
sec
,
"psk2"
,
4
))
{
}
else
if
(
!
strncmp
(
sec
,
"psk2"
,
4
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment