-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for BSSID configuration in connect call. #14654
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
05bfffa
to
c99d872
Compare
da5ce97
to
019d5b9
Compare
019d5b9
to
0c99cc2
Compare
392fccd
to
042decc
Compare
c8a94db
to
287a547
Compare
@@ -403,6 +404,25 @@ static int wpas_add_and_config_network(struct wpa_supplicant *wpa_s, | |||
} | |||
} | |||
|
|||
memcpy((void *)&mac, params->bssid, WIFI_MAC_ADDR_LEN); | |||
if (net_eth_is_addr_broadcast(&mac) || |
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.
You move this check in to the below branch (!unspecified)
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.
!unspecified checks for all 0s which is equivalent to not setting the BSSID
. That is why I am returning error only for broadcast and multicast case.
287a547
to
b57e925
Compare
b57e925
to
e927fdf
Compare
@rado17 Needs a rebase. |
Pull in changes done to support getopt for Wi-Fi connect command as well as additional support to configure BSSID in connect command. Signed-off-by: Ravi Dondaputi <[email protected]>
Support BSSID configuration while setting up the network information as part of the connect command processing. Signed-off-by: Ravi Dondaputi <[email protected]>
Calls for Wi-Fi related operations from shell are quite deep (around 7 levels) which eats up the available stack and causes stack overflow issues. Increase the SHELL_STACK_SIZE to account for this. Signed-off-by: Ravi Dondaputi <[email protected]>
e927fdf
to
263c41a
Compare
test_wifi: sdk-nrf-pr-14626