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
3bfe3fed
Commit
3bfe3fed
authored
4 months ago
by
Anjan Chanda
Browse files
Options
Downloads
Patches
Plain Diff
steer: rcpi: set SKIP_OFFCHANNEL_BEACON_REQUEST to skip off-channel requests
parent
5560b1bc
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#200043
passed
4 months ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/steer/rcpi/rcpi.c
+6
-1
6 additions, 1 deletion
src/plugins/steer/rcpi/rcpi.c
with
6 additions
and
1 deletion
src/plugins/steer/rcpi/rcpi.c
+
6
−
1
View file @
3bfe3fed
...
...
@@ -67,6 +67,9 @@ enum {
#define USTA_RESPONSE_TIMEOUT 5
/* in seconds */
#define BEACON_RESPONSE_TIMEOUT 10
/* in seconds */
//#define SKIP_OFFCHANNEL_BEACON_REQUEST 1
enum
rcpi_trigger_type
{
RCPI_TRIGGER_NONE
=
0
,
RCPI_TRIGGER_LOW
=
-
1
,
...
...
@@ -625,9 +628,11 @@ int rcpi_query_beacon_metrics(struct rcpi_steer_control *sc, struct rcpi_steer_s
cntlr_dbg
(
LOG_STEER
,
"%s: Nbr-AP "
MACFMT
", opclass = %d, channel = %d
\n
"
,
__func__
,
MAC2STR
(
nbr
->
bssid
),
nbr
->
opclass
,
nbr
->
channel
);
/* skip off-channel request now */
#ifdef SKIP_OFFCHANNEL_BEACON_REQUEST
/* skip off-channel request */
if
(
s
->
bss
.
channel
!=
nbr
->
channel
)
continue
;
#endif
blob_buf_init
(
&
bi
,
0
);
blob_buf_init
(
&
bo
,
0
);
...
...
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