Commit 871d34f
committed
wifi: nxp: add dedicated P2P (WFD) net device for Wi-Fi Direct
Register a new Zephyr net_if instance for P2P when
- Add NXP_WIFI_P2P_SUPPORT Kconfig; increase heap pool to 100 KB
- Defer wlan init via atomic counter until all net_if callbacks fire
- Add nxp_wifi_p2p_init() and register iface as WIFI_TYPE_P2P
- Add net_get_if_by_bss_type() to replace direct g_mlan/g_uap refs
- Extend net_wlan_set_mac_address() with wfd_mac parameter
- Wire up register_frame, deinit_ap, set_p2p_powersave ops
- Fix LLC-header removal: use net_pkt_data() after net_buf_pull()
Signed-off-by: Hui Bai <hui.bai@nxp.com>1 parent 6460331 commit 871d34f
6 files changed
Lines changed: 390 additions & 114 deletions
File tree
- drivers/wifi/nxp
- incl
- src
- samples/net/wifi/shell/nxp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
457 | 466 | | |
458 | 467 | | |
459 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
272 | 274 | | |
273 | 275 | | |
274 | 276 | | |
| |||
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
478 | 489 | | |
479 | 490 | | |
480 | 491 | | |
| |||
877 | 888 | | |
878 | 889 | | |
879 | 890 | | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
880 | 902 | | |
0 commit comments