Skip to content
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

wifi: Scan extensions #12008

Merged
merged 12 commits into from
Aug 24, 2023
Merged

wifi: Scan extensions #12008

merged 12 commits into from
Aug 24, 2023

Conversation

sachinthegreen
Copy link
Contributor

Add support for Wi-Fi scan extensions.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 10, 2023

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@78106c7 nrfconnect/sdk-zephyr@582837b (main) nrfconnect/sdk-zephyr@78106c74..582837b2

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 10, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
desktop52_verification X
test-fw-nrfconnect-ble X
test-fw-nrfconnect-ble_samples X
test-fw-nrfconnect-chip X
test-fw-nrfconnect-fem X
test-fw-nrfconnect-nfc X
test-fw-nrfconnect-nrf-iot_cloud X
test-fw-nrfconnect-nrf-iot_mosh X
test-fw-nrfconnect-nrf-iot_positioning X
test-fw-nrfconnect-nrf-iot_samples X
test-fw-nrfconnect-nrf-iot_thingy91 X
test-fw-nrfconnect-nrf_crypto X
test-fw-nrfconnect-rpc X
test-fw-nrfconnect-rs X
test-fw-nrfconnect-tfm X
test-fw-nrfconnect-thread X
test-sdk-find-my X
test-sdk-wifi X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

samples/wifi/shell/prj.conf Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c Outdated Show resolved Hide resolved
@sachinthegreen sachinthegreen force-pushed the nrf700x-scan-ext branch 4 times, most recently from 12205c1 to 69a31ab Compare August 11, 2023 14:23
@NordicBuilder
Copy link
Contributor

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.

@sachinthegreen sachinthegreen force-pushed the nrf700x-scan-ext branch 4 times, most recently from d9e8c93 to c3c037d Compare August 23, 2023 07:05
@doublemis1
Copy link
Contributor

matter/chip plan failed at connecting to wifi network

D: 13532 [DL]Connecting to WiFi network: router-node-test-119
E: wifi_nrf_disp_scan_zep: Unsupported band

E: 13542 [DL]Scan request failed -16
D: 16020 [DL]Sending indication for CHIPoBLE TX characteristic (ConnId 00, len 3)
D: 16114 [DL]Indication for CHIPoBLE TX characteristic done (ConnId 0x00, result 0x00)
D: 18589 [DL]Write request received for CHIPoBLE RX characteristic (ConnId 0x00)
D: 21096 [DL]Sending indication for CHIPoBLE TX characteristic (ConnId 00, len 3)
D: 21154 [DL]Indication for CHIPoBLE TX characteristic done (ConnId 0x00, result 0x00)
E: wifi_nrf_disp_scan_zep: Unsupported band

E: 21550 [DL]Scan request failed -16
E: 21553 [DL]WiFi driver does not respond, resetting the device...

west.yml Outdated Show resolved Hide resolved
sachinthegreen and others added 12 commits August 24, 2023 14:01
Pull in Zephyr changes for Wi-Fi scan extensions feature.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
PHY:
[SHEL-1870]: Coexistence manager to decline all the priority window
requests received from SR device.
Removed BT request call. Expect LMAC to take care.
LMAC:
[SHEL-1870]: Wlan BT request call added before calling channel switch
and PHY open calls.
UMAC:
[SHEL-1661]: Modifying scan command in accordance with new scan API
extensions.
Driver:
[SHEL-1782]: Host changes according to new scan command.

Signed-off-by: srinivasa raju chintalapati <srinivasaraju.chintalapati@nordicsemi.no>
Add support for scanning supported individual Wi-Fi frequency bands or
combinations thereof.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Add scan extension to control time spent on active scan channels.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Add scan extension to control scanning time spent on channels where
passive scanning is used.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
The NRF700x_SCAN_LIMIT Kconfig parameter is now renamed as
WIFI_MGMT_SCAN_MAX_BSS_CNT and moved to the Wi-fi sub-system Kconfig.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Override the Wi-Fi sub-system Kconfig parameter
WIFI_MGMT_SCAN_SSID_FILT_MAX with our maximum supported value i.e. 2.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Add scan extension to scan only for specific SSIDs.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Add scan extension to scan only on specific channels. Only 20 MHz
channels are supported for now.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
- Update Wi-Fi shell readme with details about scan extensions.
- Update changelog with a note regarding addition of scan extensions.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Add scan extension to force passive scan.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
Wi-Fi shell now uses getopt from Zephyr which needs an additional header
to be included as modem shell uses FreeBSD's port of getopt (downstream
only).

For Wi-Fi switch to using Zephyr's getopt and include the necessary
header file.

Signed-off-by: Sachin D Kulkarni <sachin.kulkarni@nordicsemi.no>
@NordicBuilder NordicBuilder removed the DNM label Aug 24, 2023
@rlubos rlubos merged commit acc4efc into nrfconnect:main Aug 24, 2023
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required PR must not be merged without tech writer approval. manifest manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.