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

drivers: wifi: add nxp wifi shim driver support #69541

Closed

Conversation

fengming-ye
Copy link
Contributor

No description provided.

Copy link
Collaborator

@danieldegrasse danieldegrasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comment here- we should add some form of support to a board in tree (I'd suggest the RT1170 EVKB or RT1060 EVKB) to move this PR forwards. I'm also aware we will need to add HAL side support for this driver in order to enable it to merge, so I am going to mark this PR as DMN until that point

config NET_SOCKETS_POLL_MAX
default 8

config ZEPHYR
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to drop this Kconfig, and rely on __ZEPHYR__ in modules that need to identify they are compiling targeting Zephyr

default y

config NXP_WIFI_CUSTOM
bool "Custom NXP Wi-Fi part"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a help string here expanding on when this feature would be used?

endchoice

config NXP_WIFI_SHELL
bool "nxpWiFi shell"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bool "nxpWiFi shell"
bool "NXP WiFi shell"


config NXP_WIFI_SHELL
bool "nxpWiFi shell"
default n
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default n is redundant, please remove

default n
depends on SHELL
help
Enable nxpWiFi shell
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add more help text here specifying what will be added when the user enables CONFIG_NXP_WIFI_SHELL

bool
prompt "Debug build"
depends on WIFI_LOG_LEVEL_DBG
default n
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default n

bool
prompt "OS debug"
depends on NXP_WIFI_DEBUG_BUILD
default n
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default n

bool
prompt "NET debug"
depends on NXP_WIFI_DEBUG_BUILD
default n
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default n

}
#if (CONFIG_WIFI_MGMT_SCAN_SSID_FILT_MAX > 0)
if (params->ssids[0]) {
strcpy(wlan_scan_params_v2.ssid[0], params->ssids[0]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a general comment, but can we use strncpy to avoid potential issues if one of these strings is not null terminated?

drivers/wifi/nxp/nxp_wifi_drv.c Outdated Show resolved Hide resolved
@danieldegrasse danieldegrasse added the DNM This PR should not be merged (Do Not Merge) label Feb 28, 2024
@dleach02 dleach02 marked this pull request as draft March 5, 2024 19:19
@fengming-ye fengming-ye force-pushed the feature/nxp_wifi_driver branch 3 times, most recently from e4c7e9d to 50460b4 Compare March 11, 2024 02:06
@fengming-ye fengming-ye deleted the feature/nxp_wifi_driver branch April 23, 2024 03:19
@zephyrbot
Copy link
Collaborator

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

Name Old Revision New Revision Diff
babblesim_base BabbleSim/base@19d6242 BabbleSim/base@4bd907b BabbleSim/[email protected]
babblesim_ext_2G4_device_playback BabbleSim/ext_2G4_device_playback@85c6459 BabbleSim/ext_2G4_device_playback@abb48cd (master) BabbleSim/[email protected]
babblesim_ext_2G4_libPhyComv1 BabbleSim/ext_2G4_libPhyComv1@9018113 BabbleSim/ext_2G4_libPhyComv1@93f5eba BabbleSim/[email protected]
babblesim_ext_2G4_modem_BLE_simple BabbleSim/ext_2G4_modem_BLE_simple@809ab07 BabbleSim/ext_2G4_modem_BLE_simple@a38d2d2 BabbleSim/[email protected]
babblesim_ext_2G4_modem_magic BabbleSim/ext_2G4_modem_magic@cb70771 BabbleSim/ext_2G4_modem_magic@edfcda2 (master) BabbleSim/[email protected]
babblesim_ext_2G4_phy_v1 BabbleSim/ext_2G4_phy_v1@d47c6dd BabbleSim/ext_2G4_phy_v1@d8302b8 BabbleSim/[email protected]
bsim zephyrproject-rtos/babblesim-manifest@384a091 (v2.1.1) zephyrproject-rtos/babblesim-manifest@68f6282 (v2.2) zephyrproject-rtos/[email protected]
hal_espressif zephyrproject-rtos/hal_espressif@67fa60b zephyrproject-rtos/hal_espressif@dddb7cf (zephyr) zephyrproject-rtos/[email protected]
hal_ethos_u zephyrproject-rtos/hal_ethos_u@90ada2e zephyrproject-rtos/hal_ethos_u@8e2cf75 (main) zephyrproject-rtos/[email protected]
hal_nordic zephyrproject-rtos/hal_nordic@daf8752 zephyrproject-rtos/hal_nordic@827224f (master) zephyrproject-rtos/[email protected]
hal_nuvoton zephyrproject-rtos/hal_nuvoton@68a91bb zephyrproject-rtos/hal_nuvoton@34efb92 (master) zephyrproject-rtos/[email protected]
hal_nxp zephyrproject-rtos/hal_nxp@ef50604 zephyrproject-rtos/hal_nxp@cd046fa (master) zephyrproject-rtos/[email protected]
hal_silabs zephyrproject-rtos/hal_silabs@59c6c6e zephyrproject-rtos/hal_silabs@442d0fb (master) zephyrproject-rtos/[email protected]
hal_st zephyrproject-rtos/hal_st@0643d20 zephyrproject-rtos/hal_st@b77157f (master) zephyrproject-rtos/[email protected]
hostap zephyrproject-rtos/hostap@dee924c zephyrproject-rtos/hostap@81bdd83 (main) zephyrproject-rtos/[email protected]
lvgl zephyrproject-rtos/lvgl@2b76c64 zephyrproject-rtos/lvgl@2b498e6 (zephyr) zephyrproject-rtos/[email protected]
mcuboot zephyrproject-rtos/mcuboot@8b4c70a zephyrproject-rtos/mcuboot@24ac8cc zephyrproject-rtos/[email protected]
net-tools zephyrproject-rtos/net-tools@3a677d3 zephyrproject-rtos/net-tools@cd2eb18 zephyrproject-rtos/[email protected]
nrf_hw_models zephyrproject-rtos/nrf_hw_models@52d0b4b zephyrproject-rtos/nrf_hw_models@123d37d zephyrproject-rtos/[email protected]
openthread zephyrproject-rtos/openthread@7761b81 zephyrproject-rtos/openthread@49c59ec (main) zephyrproject-rtos/[email protected]
percepio zephyrproject-rtos/percepio@0fbc5b7 zephyrproject-rtos/percepio@7f6fb3f (zephyr) zephyrproject-rtos/[email protected]
segger zephyrproject-rtos/segger@9d01912 zephyrproject-rtos/segger@b011c45 (master) zephyrproject-rtos/[email protected]
sof zephyrproject-rtos/sof@3e70d03 zephyrproject-rtos/sof@c11a318 (zephyr) zephyrproject-rtos/[email protected]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.