embassy-rs / embassy

Modern embedded framework, using Rust and async.
https://embassy.dev
Apache License 2.0
5.56k stars 774 forks source link

Sending raw IEEE 802.11 frames. #1657

Open Frostie314159 opened 1 year ago

Frostie314159 commented 1 year ago

Is it possible to send raw IEEE 802.11 frames with the cyw43 driver?

xoviat commented 1 year ago

Yes and no. You can operate on the raw net driver but if you do that, you won't be able to use smoltcp

Dirbaio commented 1 year ago

That's raw Ethernet frames though, not 802.11. I don't know if the hardware is capable of that, and if it is it is not implemented. Pull requests welcome :)

Frostie314159 commented 1 year ago

I would guess the hardware is capable of that, since other chips like the esp32 also have it. On that note, why are there references to the awdl protocol in the events for the cyw43 driver? As far as I'm aware only Broadcom chips have that.