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
361af9f0
Commit
361af9f0
authored
3 years ago
by
Lejla Murselovic
Committed by
Jakob Olsson
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Backhaul link for R4/DE2.1
parent
70abe832
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!124
intruduce wifi_opclass
,
!123
intruduce wifi_opclass
,
!119
Backhaul link for R4/DE2.1
Pipeline
#51359
passed
3 years ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/wifi_dataelements.h
+40
-13
40 additions, 13 deletions
src/wifi_dataelements.h
with
40 additions
and
13 deletions
src/wifi_dataelements.h
+
40
−
13
View file @
361af9f0
...
...
@@ -478,20 +478,8 @@ struct wifi_sp_rule {
struct
list_head
list
;
};
enum
network_link_type
{
LINK_TYPE_NONE
=
0
,
LINK_TYPE_WIFI
=
1
,
LINK_TYPE_ETH
=
3
,
};
struct
wifi_network_device_backhaul
{
struct
wifi_backhaul_stats
{
timestamp_t
tsp
;
enum
network_link_type
linktype
;
uint8_t
bsta_macaddr
[
6
];
uint8_t
upstream_bbss_macaddr
[
6
];
uint8_t
upstream_device_macaddr
[
6
];
uint32_t
num_curr_opclass
;
struct
list_head
curr_opclasslist
;
/* list of wifi_opclass_current_element */
uint64_t
tx_bytes
;
uint64_t
rx_bytes
;
uint32_t
tx_pkts
;
...
...
@@ -509,6 +497,43 @@ struct wifi_network_tspolicy {
bool
foo
;
};
enum
network_link_type
{
LINK_TYPE_NONE
=
0
,
LINK_TYPE_WIFI
=
1
,
LINK_TYPE_ETH
=
2
,
LINK_TYPE_MOCA
=
3
,
LINK_TYPE_GHN
=
4
,
LINK_TYPE_HPNA
=
5
,
LINK_TYPE_HOME
=
6
,
LINK_TYPE_UPA
=
7
,
};
struct
wifi_network_device_backhaul
{
enum
network_link_type
linktype
;
uint8_t
bsta_macaddr
[
6
];
uint8_t
upstream_device_macaddr
[
6
];
uint8_t
upstream_bbss_macaddr
[
6
];
uint32_t
num_curr_opclass
;
struct
list_head
curr_opclasslist
;
/* list of wifi_opclass_current_element */
struct
wifi_backhaul_stats
stats
;
};
enum
operation_mode
{
NOT_SUPPORTED
=
0
,
SUPPORTED
=
1
,
RUNNING
=
2
,
};
struct
wifi_multi_ap_device
{
uint8_t
oui
[
3
];
timestamp_t
last_contacttime
;
struct
wifi_network_device
*
dev_ref
;
enum
operation_mode
controller_opmode
;
enum
operation_mode
agent_opmode
;
struct
wifi_network_device_backhaul
backhaul
;
};
struct
wifi_network_device
{
uint8_t
macaddr
[
6
];
/* unique device-id: eui-48 address */
uint8_t
map_caps
[
2
];
/* multi-ap caps */
...
...
@@ -541,6 +566,8 @@ struct wifi_network_device {
struct
list_head
cac_statuslist
;
/* list of wifi_cac_status */
struct
list_head
sp_rulelist
;
/* list of wifi_sp_rule */
struct
wifi_multi_ap_device
multi_ap_device
;
uint8_t
dscp_mapping
[
64
];
uint8_t
max_prules
;
bool
support_sp
;
...
...
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