zephyr/drivers/wifi
Bjarki Arge Andreasen a4afcf8c93 drivers/modem/modem_iface_uart: Update API
The UART IFACE API currently exposes the context struct
modem_iface_uart_data, expecting the user to fill in some
of the fields, with no documentation specifying which fields
and what they mean.

This API update moves all user configurable values in the context
out into a config struct, modem_iface_uart_config, within which
members are documented.

This prevents the user from interacting directly with the context
making use of the library safer and more readable.

The config structure helps make code readable by using "named args"
in a const struct instead of a long, nameless, parameter list passed
to the modem_iface_uart_init function.

The new API function modem_iface_uart_rx_wait is added to prevent the
user from having to interact with the rx sem in the context directly.

The context can now be safely interated with without direct access to
any of its members.

Pointers to the ring buffer params in the context have been moved to
config struct, as these are only useful during initialization of the
context.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
2023-04-11 11:42:00 +02:00
..
esp32 drivers: wifi: esp32: register rxcb after wifi init 2023-03-20 11:43:49 +01:00
esp_at drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
eswifi wifi: eswifi: Add support for wifi mgmt status command 2023-04-07 13:27:12 +02:00
simplelink net: dummy L2 for offloaded ifaces 2023-03-20 09:53:25 +01:00
winc1500 net: dummy L2 for offloaded ifaces 2023-03-20 09:53:25 +01:00
CMakeLists.txt drivers: wifi: build as static library 2021-08-17 06:06:03 -04:00
Kconfig drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00