- add ESP32-P4 and ESP32-H2 as Supported Targets to following
examples, using ESP-Hosted and Wi-Fi Remote as components:
- iperf (H2)
- getting_started/softAP
- getting_started/station
- scan
- fast_scan
- softap_sta
- updated `.build-test-rules.yml` to enable pre-commit to accept ESP-P4
and ESP-H2 as Supported Targets
- updated iperf sdkconfig.defaults for P4 to use parameters from wifi-remote
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event