Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf fromlist] wifi: shell: Add band support for STA #1473

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

krish2718
Copy link
Contributor

For a Wi-Fi station the connect API supports both band and channel configuration, but for a shell command either channel or band makes sense, so, overload the channel field to support band.

Rejig the band and channel validation to support all modes.

Upstream PR: zephyrproject-rtos/zephyr#68174

subsys/net/l2/wifi/wifi_shell.c Show resolved Hide resolved
subsys/net/l2/wifi/wifi_shell.c Outdated Show resolved Hide resolved
subsys/net/l2/wifi/wifi_shell.c Outdated Show resolved Hide resolved
subsys/net/l2/wifi/wifi_shell.c Outdated Show resolved Hide resolved
For a Wi-Fi station the connect API supports both band and channel
configuration, but for a shell command either channel or band makes
sense, so, overload the channel field to support band.

Rejig the band and channel validation to support all modes.

Upstream PR: zephyrproject-rtos/zephyr#68174

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
@rlubos rlubos merged commit 6994d09 into nrfconnect:main Jan 31, 2024
8 checks passed
@krish2718 krish2718 deleted the wifi_shell_add_band branch January 31, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants