-
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
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]>
|
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:sdk-nrf: PR head: 688490af968219fde2f6d00a1d7119a183e3870b more detailssdk-nrf:
nrfxlib:
hostap:
zephyr:
Github labels
List of changed files detected by CI (728)Outputs:ToolchainVersion: cfa6b06338 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.
Add Wi-Fi direct (p2p mode) document. Signed-off-by: Kapil Bhatt <[email protected]>
|
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.
| Building with Wi-Fi Direct support | ||
| *********************************** |
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.
| Building with Wi-Fi Direct support | |
| *********************************** | |
| Building with Wi-Fi Direct support | |
| ********************************** |
| Building with Wi-Fi Direct support | ||
| *********************************** | ||
|
|
||
| To build an application with Wi-Fi Direct support, use the Wi-Fi shell sample with the ``wifi-p2p`` snippet and external flash for firmware patches. |
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.
| To build an application with Wi-Fi Direct support, use the Wi-Fi shell sample with the ``wifi-p2p`` snippet and external flash for firmware patches. | |
| To build an application with Wi-Fi Direct support, use the :ref:`wifi_shell_sample` sample with the ``wifi-p2p`` snippet and external flash for firmware patches. |
| Build command | ||
| ============= | ||
|
|
||
| Use the following command to build the Wi-Fi shell sample with P2P support: |
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.
| Use the following command to build the Wi-Fi shell sample with P2P support: | |
| To build the Wi-Fi shell sample with Wi-Fi Direct (P2P) support, run the following command: |
| Wi-Fi Direct commands | ||
| ********************** |
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 Direct commands | |
| ********************** | |
| Wi-Fi Direct commands | |
| ********************* |
| ********************** | ||
|
|
||
| The following commands are available for Wi-Fi Direct operations. | ||
| Both Wi-Fi shell commands and wpa_cli commands are shown for each operation: |
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.
| Both Wi-Fi shell commands and wpa_cli commands are shown for each operation: | |
| Both Wi-Fi shell commands and ``wpa_cli`` commands are provided for each operation. |
|
|
||
| * **go_intent** - Group Owner (GO) intent value (0-15): | ||
|
|
||
| * Higher values indicate a stronger desire to become the Group Owner |
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.
| * Higher values indicate a stronger desire to become the Group Owner | |
| * Higher values indicate a stronger desire to become the Group Owner. |
| 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: |
| Where: | ||
|
|
||
| * **Num** - Sequential number of the peer in the list | ||
| * **Device Name** - Friendly name of the peer device | ||
| * **MAC Address** - MAC address of the peer device | ||
| * **RSSI** - Signal strength in dBm | ||
| * **Device Type** - WPS device type identifier | ||
| * **Config Methods** - Supported WPS configuration methods |
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.
| Where: | |
| * **Num** - Sequential number of the peer in the list | |
| * **Device Name** - Friendly name of the peer device | |
| * **MAC Address** - MAC address of the peer device | |
| * **RSSI** - Signal strength in dBm | |
| * **Device Type** - WPS device type identifier | |
| * **Config Methods** - Supported WPS configuration methods | |
| The columns in the table represent the following attributes: | |
| * ``Num`` - Sequential number of the peer in the list | |
| * ``Device Name`` - Friendly name of the peer device | |
| * ``MAC Address`` - MAC address of the peer device | |
| * ``RSSI`` - Signal strength in dBm | |
| * ``Device Type`` - WPS device type identifier | |
| * ``Config Methods`` - Supported WPS configuration methods |
| 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?
No description provided.