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
Automate
Agent sessions
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
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Commits
8fbf3b37
Commit
8fbf3b37
authored
4 months ago
by
Anjan Chanda
Browse files
Options
Downloads
Patches
Plain Diff
wifi_dataelements.h: redefine *_CAP_VALID bitflags to match wifidefs.h
parent
1214b694
No related branches found
No related tags found
No related merge requests found
Pipeline
#209353
passed
4 months ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/wifi_dataelements.h
+12
-5
12 additions, 5 deletions
src/wifi_dataelements.h
with
12 additions
and
5 deletions
src/wifi_dataelements.h
+
12
−
5
View file @
8fbf3b37
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
#ifndef WIFI_DATAELEMENTS_H
#ifndef WIFI_DATAELEMENTS_H
#define WIFI_DATAELEMENTS_H
#define WIFI_DATAELEMENTS_H
#include
<libubox/list.h>
#include
<easy/easy.h>
#include
<wifidefs.h>
#include
<stdint.h>
#include
<stdint.h>
#include
<stdbool.h>
#include
<stdbool.h>
#include
<sys/time.h>
#include
<sys/time.h>
...
@@ -191,11 +195,12 @@ struct wifi_wifi7_capabilities {
...
@@ -191,11 +195,12 @@ struct wifi_wifi7_capabilities {
/* maps to capability bytes in respective TLVs */
/* maps to capability bytes in respective TLVs */
struct
wifi_caps_element
{
struct
wifi_caps_element
{
#define HT_CAP_VALID 0x01
#define HT_CAP_VALID 0x4
#define VHT_CAP_VALID 0x02
#define VHT_CAP_VALID 0x8
#define HE_CAP_VALID 0x04
#define HE_CAP_VALID 0x20
#define WIFI6_AP_CAP_VALID 0x08
#define EHT_CAP_VALID 0x40
#define WIFI6_BSTA_CAP_VALID 0x10
#define WIFI6_AP_CAP_VALID 0x80
#define WIFI6_BSTA_CAP_VALID 0x100
uint8_t
ht
;
uint8_t
ht
;
uint8_t
vht
[
6
];
uint8_t
vht
[
6
];
uint8_t
he
[
15
];
/* 1 (supp-mcs-len), 12 (Tx Rx mcs), 2 (others) */
uint8_t
he
[
15
];
/* 1 (supp-mcs-len), 12 (Tx Rx mcs), 2 (others) */
...
@@ -431,6 +436,7 @@ struct wifi_affiliated_sta_element {
...
@@ -431,6 +436,7 @@ struct wifi_affiliated_sta_element {
uint32_t
ul_rate
;
/* latest data rate in Kbps: sta -> ap */
uint32_t
ul_rate
;
/* latest data rate in Kbps: sta -> ap */
unsigned
long
ul_utilization
;
/* time in msecs for receive from sta */
unsigned
long
ul_utilization
;
/* time in msecs for receive from sta */
unsigned
long
dl_utilization
;
/* time in msecs for transmit to sta */
unsigned
long
dl_utilization
;
/* time in msecs for transmit to sta */
uint32_t
time_delta
;
/* tsp - time_delta => when dl/ul_est_thput measured */
uint32_t
dl_est_thput
;
/* in Mbps */
uint32_t
dl_est_thput
;
/* in Mbps */
uint32_t
ul_est_thput
;
/* in Mbps */
uint32_t
ul_est_thput
;
/* in Mbps */
};
};
...
@@ -446,6 +452,7 @@ struct wifi_stamld_element {
...
@@ -446,6 +452,7 @@ struct wifi_stamld_element {
struct
list_head
list
;
struct
list_head
list
;
uint8_t
mld_macaddr
[
6
];
uint8_t
mld_macaddr
[
6
];
int
invalidate
;
int
invalidate
;
time_t
last_updated
;
bool
emlmr_supported
;
bool
emlmr_supported
;
bool
emlsr_supported
;
bool
emlsr_supported
;
...
...
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