xiaoxiang781216 opened a new pull request, #21319: URL: https://github.com/apache/nuttx/pull/21319
## Summary * Add IEEE 802.11 macros, structures, and enums present in Linux but missing from the NuttX header. * Align shared frame/action field definitions and pack wire structures, preserving 2-byte frame-header alignment. * This changes public wire-structure sizes and offsets; see BREAKING CHANGE below. * Related issues: none known. ## Impact * New definitions added: YES. * User impact: YES. Structures now use Linux-compatible wire sizes and offsets. * Build impact: Existing applications must rebuild against the updated header. * Hardware/board/driver changes: NO. * Documentation update: NO. * Security impact: No known security impact. * Compatibility: BREAKING CHANGE — packing changes the size and offsets of public wire structures. Quick fix: rebuild applications and review any code depending on previous `sizeof`/`offsetof` values. * Other: This WIP PR is opened for discussion of the compatibility change; real-hardware verification is still needed. ## Testing * Build host: Linux x86_64, GCC 13.3.0. * Target: NuttX simulator `sim:nsh` (simulated; not physical hardware). * Configure: `./tools/configure.sh sim:nsh` * Build: `make -j$(nproc)` — completed successfully. * Runtime: `printf "help\\npoweroff\\n" | timeout 30 ./nuttx` — NSH help and poweroff completed successfully. * Before-change logs: not captured. * After-change logs: simulator build and smoke-test results above. * Physical hardware: not tested; required before this PR is ready to merge. ## PR verification Self-Check * [x] This PR introduces only one functional change. * [x] Required description fields are provided. * [ ] Real-world hardware testing is complete. * [x] This is a work in progress and is marked as a draft. * [ ] This PR is ready for review and can be safely merged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
