-
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
base: main
Are you sure you want to change the base?
P2P support #25346
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 2 projects with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:hal_nordic: PR head: 979a58d0829108b57f10e90b6c3fc35ab6206e4b more detailshal_nordic:
sdk-nrf:
nrfxlib:
hostap:
zephyr:
Github labels
List of changed files detected by CI (43)Outputs:ToolchainVersion: df3cc9d822 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
3ca0910 to
d2098af
Compare
| @@ -0,0 +1,170 @@ | |||
| .. _ug_wifi_direct: | |||
|
|
|||
| Wi-Fi Direct (P2P mode) | |||
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.
this should ideally be an upstream docs as this is not specific to nRF70.
| CONFIG_WIFI_NM_WPA_SUPPLICANT_P2P=y | ||
| CONFIG_WPA_CLI=y | ||
| CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y | ||
| CONFIG_LTO=y |
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.
add a comment as to why this is needed.
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
There is no doc build, please check. |
richabp
left a comment
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.
Needs a Changelog entry for both the docs.
| Wi-Fi P2P Snippet (wifi-p2p) | ||
| ########################################## |
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.
| Wi-Fi P2P Snippet (wifi-p2p) | |
| ########################################## | |
| Wi-Fi P2P Snippet (wifi-p2p) | |
| ############################ |
|
|
||
| Wi-Fi P2P Snippet (wifi-p2p) | ||
| ########################################## | ||
|
|
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.
Please add some description.
| Overview | ||
| ******** | ||
|
|
||
| This snippet enables Wi-Fi P2P support in supported networking samples. |
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.
Is there anything else to add?
| 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: |
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.
Please add some intro text.
| Hardware support for: | |
| Hardware support for: |
| CONFIG_WIFI_NM_WPA_SUPPLICANT_P2P=y | ||
| CONFIG_WPA_CLI=y | ||
| CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y | ||
| CONFIG_LTO=y |
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.
and why is this needed? Also why is the log level changed?
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
You can find the documentation preview for this PR here. Preview links for modified nRF Connect SDK documents: https://ncsdoc.z6.web.core.windows.net/PR-25346/nrf/protocols/wifi/index.html |
Pull Wi-Fi P2P support. Signed-off-by: Ravi Dondaputi <[email protected]>
Pull in changes done to support WPS connection and allowing probe request to be sent to supplicant. Signed-off-by: Ravi Dondaputi <[email protected]>
Create snippet for P2P build. Signed-off-by: Ravi Dondaputi <[email protected]>
Add Wi-Fi direct (p2p mode) document. Signed-off-by: Kapil Bhatt <[email protected]>
|
|
||
| wpa_cli p2p_connect D2:39:FA:43:23:C1 pin go_intent=0 | ||
|
|
||
| The command outputs a PIN (for example, ``88282282``), which must should be entered on the peer device to complete the connection. |
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.
| The command outputs a PIN (for example, ``88282282``), which must should be entered on the peer device to complete the connection. | |
| The command outputs a PIN (for example, ``88282282``), which must be entered on the peer device to complete the connection. |
| * ``<pbc|pin>`` - WPS provisioning method: | ||
|
|
||
| * ``pin`` - Uses PIN-based WPS authentication. | ||
| The command returns a PIN (for example, ``88282282``) that must be entered on the peer device. |
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.
| The command returns a PIN (for example, ``88282282``) that must be entered on the peer device. | |
| The command returns a PIN (for example, ``88282282``), which must be entered on the peer device. |
|
|
||
| wifi p2p connect D2:39:FA:43:23:C1 pin -g 0 | ||
|
|
||
| **``wpa_cli`` command:** |
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.
| **``wpa_cli`` command:** | |
| ``wpa_cli`` command: |
|
|
||
| Example connection using the PIN method: | ||
|
|
||
| **Wi-Fi shell command:** |
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.
| **Wi-Fi shell command:** | |
| Wi-Fi shell command: |
No description provided.