Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
map-agent
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-agent
Commits
756ef7de
Commit
756ef7de
authored
1 year ago
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
scripts: multiap - enable network prior to backhaul steer
parent
307e4221
Branches
Branches containing commit
No related tags found
1 merge request
!484
Revert "agent: remove config syncing from bsta steer resp"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/script/multiap
+6
-3
6 additions, 3 deletions
src/script/multiap
with
6 additions
and
3 deletions
src/script/multiap
+
6
−
3
View file @
756ef7de
...
@@ -285,7 +285,12 @@ bsta_steer() {
...
@@ -285,7 +285,12 @@ bsta_steer() {
rc
=
$(
wpa_cli
-i
$ifname
set_n
$network_id
bssid
$bssid
)
rc
=
$(
wpa_cli
-i
$ifname
set_n
$network_id
bssid
$bssid
)
[
"
$rc
"
==
"FAIL"
]
&&
{
[
"
$rc
"
==
"FAIL"
]
&&
{
echo
"FAIL: wpa_cli -i
$ifname
set_n 0 bssid
$bssid
"
>
/dev/console
echo
"1"
return
;
}
rc
=
$(
wpa_cli
-i
$ifname
enable_n
$network_id
)
[
"
$rc
"
==
"FAIL"
]
&&
{
echo
"1"
echo
"1"
return
;
return
;
}
}
...
@@ -293,14 +298,12 @@ bsta_steer() {
...
@@ -293,14 +298,12 @@ bsta_steer() {
# reassociate could be used but performed worse during testing
# reassociate could be used but performed worse during testing
rc
=
$(
wpa_cli
-i
$ifname
disconnect
)
rc
=
$(
wpa_cli
-i
$ifname
disconnect
)
[
"
$rc
"
==
"FAIL"
]
&&
{
[
"
$rc
"
==
"FAIL"
]
&&
{
echo
"FAIL: wpa_cli -i
$ifname
disconnect"
>
/dev/console
echo
"1"
echo
"1"
return
;
return
;
}
}
rc
=
$(
wpa_cli
-i
$ifname
reconnect
)
rc
=
$(
wpa_cli
-i
$ifname
reconnect
)
[
"
$rc
"
==
"FAIL"
]
&&
{
[
"
$rc
"
==
"FAIL"
]
&&
{
echo
"FAIL: wpa_cli -i
$ifname
reconnect"
>
/dev/console
echo
"1"
echo
"1"
return
;
return
;
}
}
...
...
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