Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Commits
c1dfc6b2
Commit
c1dfc6b2
authored
Sep 12, 2023
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
dpp: allocate larger frame for proxied encap cmdu
parent
fe816861
Branches
stan-traffic-separation
No related tags found
1 merge request
!276
Dpp wip
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cntlr_cmdu.c
+5
-2
5 additions, 2 deletions
src/cntlr_cmdu.c
src/cntlr_tlv.c
+1
-1
1 addition, 1 deletion
src/cntlr_tlv.c
with
6 additions
and
3 deletions
src/cntlr_cmdu.c
+
5
−
2
View file @
c1dfc6b2
...
@@ -1127,11 +1127,14 @@ struct cmdu_buff *cntlr_gen_proxied_encap_dpp(struct controller *c,
...
@@ -1127,11 +1127,14 @@ struct cmdu_buff *cntlr_gen_proxied_encap_dpp(struct controller *c,
/* TODO: Pass proxied_encap_dpp_data parameter */
/* TODO: Pass proxied_encap_dpp_data parameter */
frm
=
cmdu_alloc_
simple
(
CMDU_PROXIED_ENCAP_DPP
,
&
mid
);
frm
=
cmdu_alloc_
frame
(
5000
);
if
(
!
frm
)
{
if
(
!
frm
)
{
dbg
(
"%s: -ENOMEM
\n
"
,
__func__
);
trace
(
"%s: -ENOMEM
\n
"
,
__func__
);
return
NULL
;
return
NULL
;
}
}
cmdu_set_type
(
frm
,
CMDU_PROXIED_ENCAP_DPP
);
cmdu_set_mid
(
frm
,
mid
);
/* One 1905 Encap DPP TLV */
/* One 1905 Encap DPP TLV */
if
(
cntlr_gen_1905_encap_dpp_tlv
(
c
,
frm
,
enrollee
,
if
(
cntlr_gen_1905_encap_dpp_tlv
(
c
,
frm
,
enrollee
,
...
...
...
...
This diff is collapsed.
Click to expand it.
src/cntlr_tlv.c
+
1
−
1
View file @
c1dfc6b2
...
@@ -1769,7 +1769,7 @@ int cntlr_gen_1905_encap_dpp_tlv(struct controller *c, struct cmdu_buff *frm,
...
@@ -1769,7 +1769,7 @@ int cntlr_gen_1905_encap_dpp_tlv(struct controller *c, struct cmdu_buff *frm,
int
offset
=
0
;
int
offset
=
0
;
uint8_t
flags
=
0x0
;
uint8_t
flags
=
0x0
;
t
=
cmdu_reserve_tlv
(
frm
,
12
00
);
t
=
cmdu_reserve_tlv
(
frm
,
47
00
);
if
(
!
t
)
if
(
!
t
)
return
-
1
;
return
-
1
;
...
...
...
...
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
sign in
to comment