-
Notifications
You must be signed in to change notification settings - Fork 8.3k
wifi: esp32: add wifi station support #32081
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
wifi: esp32: add wifi station support #32081
Conversation
|
The following projects have a revision update in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
bde7b2c to
b863887
Compare
cac0be4 to
ff4520c
Compare
ff4520c to
e4f79d1
Compare
|
@mniestroj PTAL |
|
@carlescufi @tbursztyka ok, make sense. @rlubos, I'll wait some input from you as well before moving ahead. Thanks. |
There will be no shared code between both drivers. Maybe we should move |
|
Well, we don't have exactly the same case in the tree yet (unless I miss something), the closest I could find is the Since the implementations are separate here IMO the cleanest would be to move them into some subdirectories under |
I am ok with this approach. |
I don't agree about choosing driver "mode" over Kconfig. Those are two different drivers, for two different platforms. One is utilizing ESP chip connected over UART, the other runs natively on ESP. The offloaded driver doesn't even need to communicate with ESP (can be any other WiFi capable chip), as long as the other end is implementing all the AT commands documented (implemented) in ESP-AT interface. So I would consider two possibilities:
|
This sheds some new light on the topic, thanks. Based on the previous discussion I had an impression we talk about two variants of a driver for ESP chip, just integrated with the network stack at a different level. But from what you say, the offloaded driver can run on any device with ESP connected over UART/SPI, right? @tbursztyka @carlescufi Based on this feedback, do you still think it makes sense to "merge" the two drivers? |
|
@mniestroj great point. If adding as Kconfig option, it should be possible to use both simultaneously as each one implements different stuff. |
Right. Currently only UART, but potentially could be other bus as well.
Correct. I can rename |
|
@tsvehagen Including you into discussion, as the original author of ESP offloaded driver. |
No, I don't. I think that the proposal by @mniestroj makes sense. |
|
Since I use this to keep some infrastructure in subsys, I would like to mention that agreed with @mniestroj proposal. |
0a6c553 to
ccfe5a3
Compare
|
@mahavir, PTAL |
ccfe5a3 to
b733a5b
Compare
443346a to
2dc61ab
Compare
add support for esp32 wifi Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
add esp32 wifi station board example Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2dc61ab to
0797403
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the dtsi file as suggest by @galak.
Great!
This PR is part of the #29394.
It adds support for ESP32 WiFI SoC.
Note: Zephyr has no support yet for non-offloaded wifi. Once we have support for it, we shall integrate.
Closes #3723.