zephyr/drivers/wifi
Marcin Niestroj 03ce61004b drivers: wifi: esp: control CWMODE depending on current needs
So far ESP chip was configured directly into STA mode. This works fine,
but consumes lots of power because of enabled WiFi radio, even when it
is not actively used.

Enter NONE mode during initialization, so WiFi radio will be
disabled. Switch between NONE, STA, AP and STA+AP modes depending on
what driver is currently doing (e.g. enable STA only when scanning,
connecting and being connected to AP).

AT+CWAUTOCONN=0 command fails when in NONE mode, so workaround that by
entering temporarily into STA and then switching back to NONE.

Add also a warning log when switching mode was not successful, to ease
debugging possible issues.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-12-01 11:16:36 -05:00
..
esp drivers: wifi: esp: control CWMODE depending on current needs 2020-12-01 11:16:36 -05:00
eswifi drivers: wifi: eswifi: Add uart bus interface 2020-11-03 11:05:43 +01:00
simplelink drivers: wifi: fix simplelink driver to use zsock_ functions 2020-10-01 17:35:45 +03:00
winc1500 drivers: wifi: winc1500: remove unused send_cb and send_user_data 2020-12-01 10:06:43 +02:00
CMakeLists.txt
Kconfig drivers: wifi: rename WiFi kconfig prompt 2020-11-03 19:18:37 +02:00