-
Notifications
You must be signed in to change notification settings - Fork 1.4k
P2P support #25346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P2P support #25346
Changes from all commits
4c4d2f1
2181ea8
0135fac
5a363da
7fc6406
c103fc1
6ccdc4f
8e82484
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,259 @@ | ||||||
| .. _ug_wifi_direct: | ||||||
|
|
||||||
| Wi-Fi Direct (P2P mode) | ||||||
| ####################### | ||||||
|
|
||||||
| .. contents:: | ||||||
| :local: | ||||||
| :depth: 2 | ||||||
|
|
||||||
| Wi-Fi Direct® (also known as Wi-Fi P2P or peer-to-peer mode) enables direct device-to-device connections without requiring a traditional access point. | ||||||
|
||||||
| Wi-Fi Direct® (also known as Wi-Fi P2P or peer-to-peer mode) enables direct device-to-device connections without requiring a traditional access point. | |
| Wi-Fi Direct® (also known as Wi-Fi P2P or peer-to-peer mode) enables direct peer-to-peer connections without requiring a traditional access point. |
kapbh marked this conversation as resolved.
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| CONFIG_NRF_WIFI_DATA_HEAP_SIZE=80000 | ||
| CONFIG_WIFI_CREDENTIALS=n | ||
| CONFIG_NRF70_RX_NUM_BUFS=16 | ||
| # Link-time optimizations to fix flash overflow | ||
| CONFIG_LTO=y | ||
| CONFIG_ISR_TABLES_LOCAL_DECLARATION=y |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -16,7 +16,7 @@ tests: | |||||
| sysbuild: true | ||||||
| build_only: true | ||||||
| extra_args: | ||||||
| - EXTRA_CONF_FILE:STRING="overlay-netusb.conf;overlay-enterprise.conf" | ||||||
| - EXTRA_CONF_FILE="overlay-netusb.conf;overlay-enterprise.conf" | ||||||
|
||||||
| - EXTRA_CONF_FILE="overlay-netusb.conf;overlay-enterprise.conf" | |
| - EXTRA_CONF_FILE:STRING="overlay-netusb.conf;overlay-enterprise.conf" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| name: wifi-p2p | ||
| append: | ||
| EXTRA_CONF_FILE: wifi-p2p.conf |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| CONFIG_NRF70_P2P_MODE=y | ||
| CONFIG_NRF70_AP_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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add a comment as to why this is needed.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -97,15 +97,21 @@ config HOSTAP_CRYPTO_ENTERPRISE | |||||||
|
|
||||||||
| endif | ||||||||
|
|
||||||||
| # PSA crypto is WPA2 only for now | ||||||||
| # PSA crypto is personal security only for now | ||||||||
| if HOSTAP_CRYPTO_ALT_PSA | ||||||||
| # PSA doesn't work with WPA3 builtin (uses bignum) | ||||||||
|
||||||||
| # PSA doesn't work with WPA3 builtin (uses bignum) | |
| # PSA doesn't work with WPA3 builtin implementation (uses bignum) | |
| # Use HOSTAP_CRYPTO_WPA3_PSA for WPA3 support with PSA |
Copilot
AI
Nov 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammatical issue: "PSA doesn't support with enterprise mode yet" should be "PSA doesn't support enterprise mode yet" (remove "with").
Corrected text: "# PSA doesn't support enterprise mode yet"
| # PSA doesn't support with enterprise mode yet | |
| # PSA doesn't support enterprise mode yet |
Copilot
AI
Nov 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Inconsistent comment formatting. The comments at lines 102-107 use inconsistent indentation (tab vs spaces) compared to the existing style in the file. The indentation should be consistent with the surrounding code.
Uh oh!
There was an error while loading. Please reload this page.