zephyr/drivers
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
..
adc drivers: adc: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth drivers/bluetooth: ipm_stm32: Wake up C2 at init 2020-11-19 12:35:01 +01:00
can drivers/pinmux: stm32: Provide unique API to stm32_dt_pinctrl 2020-10-20 09:09:29 -05:00
clock_control drivers: clock_control: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
console drivers: console: Fix path to mcumgr header 2020-11-27 18:18:50 +01:00
counter drivers: counter: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
crypto misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
dac drivers: dac: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
debug debug: tracing: Add Segger RTT and SystemView linker section options 2020-11-20 12:54:09 -06:00
display drivers: display: ili9xxx: add support for ILI9488 controller 2020-11-10 15:52:12 -06:00
dma drivers: dma: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
ec_host_cmd_periph ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
eeprom eeprom: at2x: Add support for at24cXX 2020-10-28 17:03:47 +01:00
entropy drivers: entropy: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
espi drivers: espi: xec: Avoid flash interrupt by ROM bootloader activity 2020-11-09 16:01:16 -08:00
ethernet drivers/pcie: Change pcie_get_mbar() to return size and flags 2020-11-20 09:36:22 +02:00
flash drivers: flash: stm32l1: add initial L1x support 2020-11-30 15:49:15 -06:00
gpio drivers: gpio: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
hwinfo drivers: hwinfo: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
i2c drivers: i2c: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
i2s drivers: i2s: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
ieee802154 drivers: ieee802154: cc13xx_cc26xx: raw mode support 2020-11-23 09:46:49 +02:00
interrupt_controller drivers: interrupt_controller: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
ipm drivers: ipm: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
kscan dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00
led drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
led_strip drivers: led_strip: APA102 use CS flags from devicetree 2020-09-14 18:35:26 -05:00
lora drivers: lora: Add CheckRfFrequency callback to SX1276 driver 2020-10-08 12:15:38 +02:00
memc drivers: memc: stm32: initial support for stm32 FMC 2020-11-24 16:33:17 +01:00
modem drivers: modem: don't clear out cmd handlers if they were not setup 2020-12-01 11:15:19 -05:00
net net: ppp: Avoid wrapping each byte in muxing headers 2020-10-19 18:29:02 +02:00
neural_net device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pcie drivers/pcie: Fix function that looks up for mbar 2020-11-27 09:58:08 -05:00
peci drivers: peci: xec: Enhance PECI bus recovery mechanism 2020-11-19 17:00:16 -05:00
pinmux include: drivers: pinmux: stm32: Add missing C linkage 2020-11-30 18:47:08 +01:00
ps2 drivers: Manual const-ification of device driver instance 2020-09-02 13:48:13 +02:00
ptp_clock device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm drivers: pwm: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
regulator drivers: regulator: avoid improper access to internal structures 2020-11-24 13:04:48 +02:00
sensor drivers: sensor: Rework fxos8700 driver to use DT_INST_FOREACH 2020-11-17 16:51:50 -05:00
serial drivers: serial: nrfx: Skip poll out when device is not active 2020-11-26 19:08:01 +02:00
spi drivers: spi: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
timer drivers: timer: stm32_lptim: use generic LL headers 2020-11-30 15:50:03 +01:00
usb drivers: usb: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
video drivers: video: mcux_csi: Fix compile error 2020-09-03 18:08:08 -04:00
watchdog drivers: iwdg: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
wifi drivers: wifi: esp: control CWMODE depending on current needs 2020-12-01 11:16:36 -05:00
CMakeLists.txt drivers: memc: stm32: initial support for stm32 FMC 2020-11-24 16:33:17 +01:00
Kconfig drivers: memc: stm32: initial support for stm32 FMC 2020-11-24 16:33:17 +01:00