Skip to content

Commit e2adce6

Browse files
committed
[nrf fromlist] doc: networking: Add Wi-Fi P2P info
Add Wi-Fi P2P mode build command and info. Upstream PR #: 97183 Signed-off-by: Kapil Bhatt <[email protected]>
1 parent d134c5d commit e2adce6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

doc/connectivity/networking/api/wifi.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The Wi-Fi management API is used to manage Wi-Fi networks. It supports below mod
1010

1111
* IEEE802.11 Station (STA)
1212
* IEEE802.11 Access Point (AP)
13+
* IEEE802.11 P2P (Wi-Fi Direct)
1314

1415
Only personal mode security is supported with below types:
1516

@@ -215,6 +216,19 @@ The test certificates in ``samples/net/wifi/test_certs/rsa2k`` are generated usi
215216
.. note::
216217
These certificates are for testing only and should not be used in production.
217218

219+
Wi-Fi P2P (Wi-Fi Direct)
220+
************************
221+
222+
Wi-Fi P2P or Wi-Fi Direct enables devices to communicate directly with each other without requiring
223+
a traditional access point. This feature is particularly useful for device-to-device communication
224+
scenarios.
225+
226+
To enable and build with Wi-Fi P2P support:
227+
228+
.. code-block:: bash
229+
230+
$ west build -p -b <board> samples/net/wifi/shell -- -DCONFIG_WIFI_NM_WPA_SUPPLICANT_P2P=y
231+
218232
API Reference
219233
*************
220234

doc/releases/release-notes-4.4.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ New APIs and options
109109
* :kconfig:option:`CONFIG_NVMEM_FLASH`
110110
* :kconfig:option:`CONFIG_NVMEM_FLASH_WRITE`
111111

112+
* Networking
113+
114+
* Wi-Fi
115+
116+
* Add support for Wi-Fi Direct (P2P) mode.
117+
112118
* Settings
113119

114120
* :kconfig:option:`CONFIG_SETTINGS_SAVE_SINGLE_SUBTREE_WITHOUT_MODIFICATION`

0 commit comments

Comments
 (0)