Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions snippets/wifi-p2p/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. _snippet-wifi-p2p:

Wi-Fi P2P Snippet (wifi-p2p)
##########################################
Comment on lines +3 to +4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Wi-Fi P2P Snippet (wifi-p2p)
##########################################
Wi-Fi P2P Snippet (wifi-p2p)
############################


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some description.

.. code-block:: console

west build -S wifi-p2p [...]

Overview
********

This snippet enables Wi-Fi P2P support in supported networking samples.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything else to add?

Suggested change
This snippet enables Wi-Fi P2P support in supported networking samples.
This snippet enables Wi-Fi P2P support in supported networking samples.


Requirements
************

Hardware support for:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some intro text.

Suggested change
Hardware support for:
Hardware support for:


- :kconfig:option:`CONFIG_WIFI`
- :kconfig:option:`CONFIG_WIFI_USE_NATIVE_NETWORKING`
- :kconfig:option:`CONFIG_WIFI_NM_WPA_SUPPLICANT`
3 changes: 3 additions & 0 deletions snippets/wifi-p2p/snippet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: wifi-p2p
append:
EXTRA_CONF_FILE: wifi-p2p.conf
6 changes: 6 additions & 0 deletions snippets/wifi-p2p/wifi-p2p.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_NRF70_P2P_MODE=y
CONFIG_WIFI_NM_WPA_SUPPLICANT_P2P=y
CONFIG_WPA_CLI=y
CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y
CONFIG_LTO=y
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a comment as to why this is needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and why is this needed? Also why is the log level changed?

CONFIG_ISR_TABLES_LOCAL_DECLARATION=y