add support for NXP Wifi in RW612, in an example #3269
+321,729
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are no pubic docs for the Wi-Fi hardware
There are no pubic docs for the Wi-Fi firmware
There are no pubic docs for the Wi-Fi libraries. The lowest level seems to support baremetal operation, but higher levels use some form or RTOS, be it FreeRTOS or Zephyr.
Libraries seem to be a mix of prior libraries, written for different chips/modules through the years, all intertwined together; execution jumps freely from here to there.
This has been done using FreeRTOS, and avoiding vendor overhead as much as possible.
Things to check for review (what is not vendor code):
example:
source/ : main example file, as usual
wifi/port/net/net.c : what vendor code sees as a TCP/IP stack, Mongoose-style; modified vendor code for lwIP
wifi/port/net/netif_mongoose.c : the interface to vendor code, Mongoose-style; based on vendor example code
mongoose:
src/driver/nxp_wifi.*: a thin layer over the above, to avoid static -> global and keep sanity. Most work is not here, as everything depends tightly on vendor code
NOTE: Cube tests failure --> deploy new Wizard code required
NOTE: Pico W and Pico 2 W tests failure --> #3266