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
c8b8477f
Commit
c8b8477f
authored
4 years ago
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
map-controller: remove some old code
parent
30a6f482
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20618
failed
4 years ago
Stage: static_code_analysis
Stage: checkpatch
Stage: functional_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/cntlr.c
+0
-15
0 additions, 15 deletions
src/core/cntlr.c
with
0 additions
and
15 deletions
src/core/cntlr.c
+
0
−
15
View file @
c8b8477f
...
@@ -2150,15 +2150,6 @@ static int mapclient_subscribe(struct controller *a, uint32_t oid)
...
@@ -2150,15 +2150,6 @@ static int mapclient_subscribe(struct controller *a, uint32_t oid)
return
0
;
return
0
;
}
}
typedef
uint32_t
mapmodule_object_t
;
struct
map_module_unish
{
mapmodule_object_t
id
;
uint32_t
cmdu_mask
;
char
process_cmdu_funcname
[
64
];
};
static
void
register_cb
(
struct
ubus_request
*
req
,
int
type
,
struct
blob_attr
*
msg
)
static
void
register_cb
(
struct
ubus_request
*
req
,
int
type
,
struct
blob_attr
*
msg
)
{
{
struct
controller
*
priv
=
(
struct
controller
*
)
req
->
priv
;
struct
controller
*
priv
=
(
struct
controller
*
)
req
->
priv
;
...
@@ -2178,10 +2169,6 @@ static void register_cb(struct ubus_request *req, int type, struct blob_attr *ms
...
@@ -2178,10 +2169,6 @@ static void register_cb(struct ubus_request *req, int type, struct blob_attr *ms
}
}
}
}
#ifndef BITx
#define BITx(n) (1U << (n))
#endif
static
void
mapclient_subscribe_for_cmdus
(
struct
controller
*
c
)
static
void
mapclient_subscribe_for_cmdus
(
struct
controller
*
c
)
{
{
char
data
[
2
*
sizeof
(
struct
map_module
)
+
1
]
=
{
0
};
char
data
[
2
*
sizeof
(
struct
map_module
)
+
1
]
=
{
0
};
...
@@ -2193,7 +2180,6 @@ static void mapclient_subscribe_for_cmdus(struct controller *c)
...
@@ -2193,7 +2180,6 @@ static void mapclient_subscribe_for_cmdus(struct controller *c)
.
process_cmdu_funcname
=
"mapclient_process_cmdu"
,
.
process_cmdu_funcname
=
"mapclient_process_cmdu"
,
};
};
map_prepare_cmdu_mask
(
m
.
cmdu_mask
,
map_prepare_cmdu_mask
(
m
.
cmdu_mask
,
CMDU_TYPE_TOPOLOGY_DISCOVERY
,
CMDU_TYPE_TOPOLOGY_DISCOVERY
,
CMDU_TYPE_TOPOLOGY_NOTIFICATION
,
CMDU_TYPE_TOPOLOGY_NOTIFICATION
,
...
@@ -2205,7 +2191,6 @@ static void mapclient_subscribe_for_cmdus(struct controller *c)
...
@@ -2205,7 +2191,6 @@ static void mapclient_subscribe_for_cmdus(struct controller *c)
CMDU_TYPE_AP_AUTOCONFIGURATION_WSC
,
CMDU_TYPE_AP_AUTOCONFIGURATION_WSC
,
-
1
);
-
1
);
trace
(
"<----------------------------------- %s
\n
"
,
__func__
);
trace
(
"<----------------------------------- %s
\n
"
,
__func__
);
for
(;;)
{
for
(;;)
{
...
...
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