doc: document WIFI_USAGE_MODE

Add docs for `WIFI_USAGE_MODE` in the Wi-Fi section and release notes.

Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
Jordan Yates 2025-05-30 14:44:02 +10:00 committed by Benjamin Cabé
parent 3aa61a9503
commit a550c74da1
2 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,21 @@ Currently, two types of Wi-Fi drivers are supported:
* Networking or socket offloaded drivers
* Native L2 Ethernet drivers
Compiled Features
*****************
To support applications that only require a certain subset of Wi-Fi features, :kconfig:option:`CONFIG_WIFI_USAGE_MODE` can be used
as a hint for drivers to limit the functionality that needs to be compiled in. The following usage hints are available:
* :kconfig:option:`CONFIG_WIFI_USAGE_MODE_STA` (Connecting to an access point)
* :kconfig:option:`CONFIG_WIFI_USAGE_MODE_AP` (Being an access point)
* :kconfig:option:`CONFIG_WIFI_USAGE_MODE_STA_AP` (Both being and connecting to an access point)
* :kconfig:option:`CONFIG_WIFI_USAGE_MODE_SCAN_ONLY` (Access point SSID scanning only)
.. note::
Support for a requested usage mode is hardware dependent.
Wi-Fi PSA crypto supported build
********************************

View File

@ -186,6 +186,10 @@ New APIs and options
* :kconfig:option:`CONFIG_MQTT_VERSION_5_0`
* Wi-Fi
* :kconfig:option:`CONFIG_WIFI_USAGE_MODE`
* Power management
* :kconfig:option:`CONFIG_PM_DEVICE_RUNTIME_USE_SYSTEM_WQ`