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
713f5945
Commit
713f5945
authored
4 years ago
by
Nevadita
Browse files
Options
Downloads
Patches
Plain Diff
map-controller: Added code for TLV CAC status for TLV CAC report
parent
bd7ad889
Branches
Branches containing commit
No related tags found
1 merge request
!2
Added Changes for ticket 3595 section 8.1
Pipeline
#6598
failed
4 years ago
Stage: static_code_analysis
Stage: checkpatch
Stage: functional_test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/cntlr_map_debug.c
+72
-1
72 additions, 1 deletion
src/core/cntlr_map_debug.c
with
72 additions
and
1 deletion
src/core/cntlr_map_debug.c
+
72
−
1
View file @
713f5945
...
@@ -209,7 +209,7 @@ int debug_channel_pref_report(void *cntlr, struct cmdu_cstruct *cmdu)
...
@@ -209,7 +209,7 @@ int debug_channel_pref_report(void *cntlr, struct cmdu_cstruct *cmdu)
}
}
case
MAP_TLV_RADIO_OPERATION_RESTRICTION
:
case
MAP_TLV_RADIO_OPERATION_RESTRICTION
:
{
{
struct
tlv_radio_oper_restrict
*
p
=
struct
tlv_radio_oper_restrict
*
p
=
(
struct
tlv_radio_oper_restrict
*
)
tlv
;
(
struct
tlv_radio_oper_restrict
*
)
tlv
;
trace
(
"
\t
radio_id: "
MACFMT
"
\n
"
,
trace
(
"
\t
radio_id: "
MACFMT
"
\n
"
,
...
@@ -232,6 +232,77 @@ int debug_channel_pref_report(void *cntlr, struct cmdu_cstruct *cmdu)
...
@@ -232,6 +232,77 @@ int debug_channel_pref_report(void *cntlr, struct cmdu_cstruct *cmdu)
}
}
break
;
break
;
}
}
case
MAP_TLV_CAC_COMPLETION_REPORT
:
{
struct
tlv_cac_comp_report
*
p
=
(
struct
tlv_cac_comp_report
*
)
tlv
;
trace
(
"
\t
nbr_radios: %d
\n
"
,
p
->
nbr_radios
);
for
(
j
=
0
;
j
<
p
->
nbr_radios
;
j
++
)
{
trace
(
"
\t\t
radio_id: "
MACFMT
"
\n
"
,
MAC2STR
(
p
->
radio_data
[
j
].
radio_id
));
trace
(
"
\t\t
op_class: %d
\n
"
,
p
->
radio_data
[
j
].
op_class
);
trace
(
"
\t\t
channel: %d
\n
"
,
p
->
radio_data
[
j
].
ch
);
trace
(
"
\t\t
completion_status %d
\n
"
,
p
->
radio_data
[
j
].
completion_status
);
trace
(
"
\t\t
nbr_pairs %d
\n
"
,
p
->
radio_data
[
j
].
nbr_pairs
);
for
(
k
=
0
;
k
<
p
->
radio_data
[
j
].
nbr_pairs
;
k
++
)
{
trace
(
"
\t\t\t
op_class_detected: %d
\n
"
,
p
->
radio_data
[
j
].
pair_data
[
k
].
op_class_detected
);
trace
(
"
\t\t\t
ch_detected: %d
\n
"
,
p
->
radio_data
[
j
].
pair_data
[
k
].
ch_detected
);
}
}
break
;
}
case
MAP_TLV_CAC_STATUS_REPORT
:
{
struct
tlv_cac_status_report
*
p
=
(
struct
tlv_cac_status_report
*
)
tlv
;
trace
(
"
\t
nbr_available_ch: %d
\n
"
,
p
->
nbr_available_ch
);
for
(
j
=
0
;
j
<
p
->
nbr_available_ch
;
j
++
)
{
trace
(
"
\t\t
op_class: %d
\n
"
,
p
->
ch_data
[
j
].
op_class
);
trace
(
"
\t\t
channel: %d
\n
"
,
p
->
ch_data
[
j
].
ch
);
trace
(
"
\t\t
time: %d
\n
"
,
p
->
ch_data
[
j
].
time
);
}
trace
(
"
\t
nbr_pairs_duration: %d
\n
"
,
p
->
nbr_pairs_duration
);
for
(
j
=
0
;
j
<
p
->
nbr_pairs_duration
;
j
++
)
{
trace
(
"
\t\t
op_class: %d
\n
"
,
p
->
duration_pair_data
[
j
].
op_class
);
trace
(
"
\t\t
channel: %d
\n
"
,
p
->
duration_pair_data
[
j
].
ch
);
trace
(
"
\t\t
time: %d
\n
"
,
p
->
duration_pair_data
[
j
].
time
);
}
trace
(
"
\t
nbr_pairs_coundown: %d
\n
"
,
p
->
nbr_pairs_coundown
);
for
(
j
=
0
;
j
<
p
->
nbr_pairs_coundown
;
j
++
)
{
trace
(
"
\t\t
op_class: %d
\n
"
,
p
->
count_pair_data
[
j
].
op_class
);
trace
(
"
\t\t
channel: %d
\n
"
,
p
->
count_pair_data
[
j
].
ch
);
trace
(
"
\t\t
time: %d
\n
"
,
p
->
count_pair_data
[
j
].
time
);
}
break
;
}
default:
default:
fprintf
(
stdout
,
"unknown TLV in CMDU:|%s|"
,
fprintf
(
stdout
,
"unknown TLV in CMDU:|%s|"
,
map_stringify_cmdu_type
(
cmdu
->
message_type
));
map_stringify_cmdu_type
(
cmdu
->
message_type
));
...
...
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