Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
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
4 changes: 2 additions & 2 deletions west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ manifest:
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
- name: zephyr
repo-path: sdk-zephyr
revision: 2c6007378cbf84131179879ea677ac3441e02020
revision: pull/3452/head
import:
# In addition to the zephyr repository itself, NCS also
# imports the contents of zephyr/west.yml at the above
Expand Down Expand Up @@ -145,7 +145,7 @@ manifest:
- name: nrfxlib
repo-path: sdk-nrfxlib
path: nrfxlib
revision: 36ba54ade9f72909dff5fc1268eb59eb6e289f2d
revision: pull/1902/head
- name: trusted-firmware-m
repo-path: sdk-trusted-firmware-m
path: modules/tee/tf-m/trusted-firmware-m
Expand Down