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: nxp: add Wi-Fi thread configurations #81693

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 48 additions & 2 deletions drivers/wifi/nxp/Kconfig.nxp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ menu "Wi-Fi driver Stack configurations"

config NXP_WIFI_MON_TASK_STACK_SIZE
int "Mon thread stack size"
default 1152
depends on NXP_RW610
MaochenWang1 marked this conversation as resolved.
Show resolved Hide resolved
default 3072
help
This option specifies the size of the stack used by the mon task.

Expand All @@ -328,7 +329,7 @@ config NXP_WIFI_WLCMGR_TASK_STACK_SIZE

config NXP_WIFI_POWERSAVE_TASK_STACK_SIZE
int "Wifi powersave task stack size"
default 512
default 1024
help
This option specifies the size of the stack used by the wifi powersave task.

Expand All @@ -353,6 +354,51 @@ config NXP_WIFI_SCAN_TASK_STACK_SIZE

endmenu

menu "Wi-Fi thread priority configurations"

config NXP_WIFI_MON_TASK_PRIO
int "Mon task priority"
depends on NXP_RW610
default 4
help
This option specifies the priority of the mon task.

config NXP_WIFI_WLCMGR_TASK_PRIO
int "Wlcmgr task priority"
default 2
help
This option specifies the priority of the wlcmgr task.

config NXP_WIFI_POWERSAVE_TASK_PRIO
int "Wifi powersave task priority"
default 4
help
This option specifies the priority of the wifi powersave task.

config NXP_WIFI_TX_TASK_PRIO
int "Wifi driver TX task priority"
default 3
depends on NXP_WIFI_WMM
help
This option specifies the priority of the wifi driver TX task,
and better to keep all the TX/RX tasks having same priority to
get higher throughput. The relative priorities of different tasks
need to remain the same as the current ones, which are tuned.

config NXP_WIFI_DRIVER_TASK_PRIO
int "Wifi driver task priority"
default 2
help
This option specifies the priority of the wifi driver task.

config NXP_WIFI_SCAN_TASK_PRIO
int "Wifi scan task priority"
default 4
help
This option specifies the priority of the wifi scan task.

endmenu

menu "Wi-Fi Station Support"

config NXP_WIFI_STA_AUTO_CONN
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ manifest:
groups:
- hal
- name: hal_nxp
revision: d291bdcc4a59bace5ae7453e777e06080ccda8ce
revision: 97855e494cad74d567c1937b22e0930584ab7025
path: modules/hal/nxp
groups:
- hal
Expand Down
Loading