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
e0323739
Commit
e0323739
authored
2 years ago
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
dpp: deprecate channel selection req upon URI recieval
parent
8723e715
Branches
Branches containing commit
No related tags found
1 merge request
!240
Dpp cleanup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/dpp.c
+2
-24
2 additions, 24 deletions
src/dpp.c
with
2 additions
and
24 deletions
src/dpp.c
+
2
−
24
View file @
e0323739
...
...
@@ -706,32 +706,10 @@ struct dpp_enrollee *dpp_process_new_uri(struct controller *c, char *uri)
return
NULL
;
}
if
(
e
->
num_chan
)
{
struct
node
*
n
=
NULL
;
e
->
band
=
wifi_channel_to_band
(
e
->
chan
[
0
].
channel
);
/* need to
swap to a channel that is
supported
in chanlis
t
*
off-operating channel dpp_listen is not support
ed
/* need to
off-channel listen not yet
supported
by curren
t
*
hostapd version us
ed
*/
// TODO: algorithm
list_for_each_entry
(
n
,
&
c
->
nodelist
,
list
)
{
struct
netif_radio
*
r
=
NULL
;
list_for_each_entry
(
r
,
&
n
->
radiolist
,
list
)
{
if
(
r
->
radio_el
->
band
==
e
->
band
)
{
cntrl_send_channel_selection
(
c
,
n
->
alid
,
r
->
radio_el
->
macaddr
,
e
->
chan
[
0
].
channel
,
e
->
chan
[
0
].
opclass
,
15
);
}
}
}
// announce channel swap via CMDU
// trigger ubus API to swap to first commonly supported channel -- done
// prevent any further channel swaps within arbitrary time (1 minute?)
// some kind of check after 1 minute, swap to first any non-onboarded enrollee ch?
}
...
...
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