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
046b3d7b
Verified
Commit
046b3d7b
authored
6 months ago
by
Balalakshmi Arunachalam Rajendran
Committed by
IOPSYS Dev
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
add fronthauls to ieee1905 traffic exclusion list
parent
28bc2144
No related branches found
No related tags found
1 merge request
!629
Add FH interfaces to exclude i1905 traffic
Pipeline
#190870
passed
6 months ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/script/multiap
+31
-0
31 additions, 0 deletions
src/script/multiap
with
31 additions
and
0 deletions
src/script/multiap
+
31
−
0
View file @
046b3d7b
...
...
@@ -84,6 +84,19 @@ bsta_disable() {
sync_credentials
()
{
bands
=
""
json_init
get_mld_ifname
()
{
local
mld_section
=
$1
local
reqd_mld_id
=
$2
local
mld_id mld_ifname
config_get mld_id
$mld_section
id
config_get mld_ifname
$mld_section
ifname
if
[
"
$mld_id
"
==
"
$reqd_mld_id
"
]
;
then
echo
$mld_ifname
fi
}
mapagent_process_fh
()
{
local
section
=
$1
local
dev
=
$2
...
...
@@ -91,6 +104,22 @@ sync_credentials() {
multi_ap
=
$(
get_type_by_section
$section
)
[
"
$multi_ap
"
==
"0"
]
&&
return
config_get enabled
$section
enabled
if
[
"
$enabled
"
==
"1"
]
&&
[
"
$multi_ap
"
==
"2"
]
;
then
config_get mld_id
$section
mld_id
if
[
-n
"
$mld_id
"
]
;
then
local
mld_ifname
mld_ifname
=
$(
config_foreach get_mld_ifname mld
$mld_id
)
ifname
=
$mld_ifname
else
config_get ifname
$section
ifname
fi
if
[
-n
"
$ifname
"
]
&&
!
echo
"
$(
uci get ieee1905.@al-iface[0].exclude_ifname 2>/dev/null
)
"
|
grep
-wq
"
$ifname
"
;
then
uci
-q
add_list ieee1905.@al-iface[0].exclude_ifname
=
"
$ifname
"
fi
fi
config_get device
$section
device
[
"
$dev
"
!=
"
$device
"
]
&&
return
...
...
@@ -183,6 +212,7 @@ sync_credentials() {
config_foreach mapagent_process_radio radio
uci commit ieee1905
kill
-SIGHUP
`
pidof ieee1905d
`
json_cleanup
}
...
...
@@ -675,6 +705,7 @@ teardown_iface() {
uci
-q
delete wireless.
${
section
}
.multi_ap_backhaul_ssid
uci
-q
delete wireless.
${
section
}
.multi_ap_backhaul_key
uci
-q
delete wireless.
${
section
}
.mld
uci
-q
del_list ieee1905.@al-iface[0].exclude_ifname
=
$2
}
config_load wireless
...
...
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