drivers: wifi: nxp: add Wi-Fi thread configurations
Support configuring Wi-Fi threads stack size and priority through Kconfig. Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
This commit is contained in:
parent
3a69ed6c02
commit
c007ac4577
2 changed files with 49 additions and 3 deletions
|
@ -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
|
||||
default 3072
|
||||
help
|
||||
This option specifies the size of the stack used by the mon task.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
|
2
west.yml
2
west.yml
|
@ -199,7 +199,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_nxp
|
||||
revision: d291bdcc4a59bace5ae7453e777e06080ccda8ce
|
||||
revision: 97855e494cad74d567c1937b22e0930584ab7025
|
||||
path: modules/hal/nxp
|
||||
groups:
|
||||
- hal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue