Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ieee1905
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
ieee1905
Commits
faeae54f
Commit
faeae54f
authored
1 year ago
by
Anjan Chanda
Browse files
Options
Downloads
Patches
Plain Diff
for wifi interface report highest supported standard from current oper-stds
parent
749b339e
No related branches found
No related tags found
No related merge requests found
Pipeline
#131977
passed
1 year ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/i1905_wifi.c
+7
-6
7 additions, 6 deletions
src/i1905_wifi.c
with
7 additions
and
6 deletions
src/i1905_wifi.c
+
7
−
6
View file @
faeae54f
...
@@ -180,7 +180,7 @@ int platform_wifi_get_freqband(const char *ifname, uint32_t *band)
...
@@ -180,7 +180,7 @@ int platform_wifi_get_freqband(const char *ifname, uint32_t *band)
if
(
ret
)
if
(
ret
)
return
-
1
;
return
-
1
;
info
(
"Oper-band:
%d
\n
"
,
b
);
info
(
"Oper-band:
0x%x
\n
"
,
b
);
switch
(
b
)
{
switch
(
b
)
{
case
BAND_2
:
case
BAND_2
:
*
band
=
2
;
*
band
=
2
;
...
@@ -224,15 +224,16 @@ int platform_wifi_get_standard(const char *ifname, enum i1905_mediatype *std)
...
@@ -224,15 +224,16 @@ int platform_wifi_get_standard(const char *ifname, enum i1905_mediatype *std)
if
(
ret
)
if
(
ret
)
return
-
1
;
return
-
1
;
info
(
"Oper-Standards:
%d
\n
"
,
s
);
info
(
"Oper-Standards:
0x%02x
\n
"
,
s
);
#ifdef WIFI_EASYMESH
#ifdef WIFI_EASYMESH
if
(
!!
(
s
&
WIFI_AX
))
{
/* report the highest supported standard from current oper stds */
info
(
"802.11ax
\n
"
);
if
(
!!
(
s
&
WIFI_BE
))
{
*
std
=
I1905_802_11AX
;
}
else
if
(
!!
(
s
&
WIFI_BE
))
{
info
(
"802.11be
\n
"
);
info
(
"802.11be
\n
"
);
*
std
=
I1905_802_11BE
;
*
std
=
I1905_802_11BE
;
}
else
if
(
!!
(
s
&
WIFI_AX
))
{
info
(
"802.11ax
\n
"
);
*
std
=
I1905_802_11AX
;
}
else
}
else
#endif
#endif
if
(
!!
(
s
&
WIFI_AC
))
{
if
(
!!
(
s
&
WIFI_AC
))
{
...
...
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