Commit Graph

422 Commits

Author SHA1 Message Date
jgujarathi
e803554654 wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-05-05 10:13:17 +05:30
Guillaume Souchere
c84f0b25ac console: Fix building issue when serial JTAG is set
Closes https://github.com/espressif/esp-idf/issues/10707
2023-04-27 15:28:23 +08:00
Xu Xiao
2f20406202 esp_wifi: itwt support light sleep 2023-04-06 10:46:32 +08:00
Shyamal Khachane
2f6517b44b Modify API esp_wifi_nan_datapath_req() to return ndp_id after datapath is accepted/rejected 2023-03-24 12:52:02 +05:30
muhaidong
610cc41847 esp_wifi: fix pre commit issue 2023-03-14 16:06:41 +08:00
xiehanxin
3f544d76ff add enum type for antenna number 2023-03-14 15:54:50 +08:00
xiehanxin
752d70bf92 add multiple antenna test example 2023-03-14 15:54:50 +08:00
Nachiket Kukade
4c76af3f68 esp_wifi: Add support for NAN Discovery and Datapath
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's

In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
   for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management

Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30
Kapil Gupta
80be82eca2 Merge branch 'bugfix/wifi_enterprise_example_typo' into 'master'
esp_wifi: fix typo in wifi_enterprise example README

Closes IDFGH-8595

See merge request espressif/esp-idf!22462
2023-03-08 12:13:06 +08:00
Jiang Jiang Jian
d1adc453b0 Merge branch 'bugfix/some_small_fix_for_sleep_examples' into 'master'
examples: some small fix for sleep examples

See merge request espressif/esp-idf!19052
2023-03-07 13:07:10 +08:00
gauri patankar
6f7cf98ffe esp_wifi: SAE Password Identifier support 2023-03-06 11:04:20 +05:30
jingli
c8be36c3f4 examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold 2023-03-06 10:58:18 +08:00
wuzhenghui
45c2900ec0 resolve WIFI-5150
bugfix: Don't hold CS pin when VDDSDIO is power down to reduce the base current
2023-03-04 00:17:40 +08:00
Li Shuai
7ee1b09433 power save: wifi beacon monitor support for esp32c6
power save: fix multicast more data always true cause wifi goto sleep fail
2023-03-04 00:17:40 +08:00
wuzhenghui
186da9af93 codeclean: rename sleep_periph to sleep_sys_periph 2023-03-04 00:17:40 +08:00
Shreyas Sheth
2b8e40e760 esp_wifi: WPA3-SAE support for softAP 2023-02-28 12:25:05 +08:00
Jiang Jiang Jian
e8b38e141d Merge branch 'bugfix/wifi_config_fixes' into 'master'
esp_wifi: Update some wifi config options

See merge request espressif/esp-idf!22397
2023-02-26 14:57:25 +08:00
aditi_lonkar
6b95b4ffd7 esp_wifi: Update some wifi config options
1) Update sta_config_t options.
        2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
jingli
8f415a7f44 refactor: power management component use unified esp_pm_config_t 2023-02-23 11:36:07 +08:00
Sarvesh Bodakhe
5b6676da21 esp_wifi: fix typo in wifi_enterprise example README
Closes https://github.com/espressif/esp-idf/issues/10042
2023-02-22 12:36:06 +05:30
Omar Chebib
5e5343d429 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
Wu Zheng Hui
33ae2e1073 Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
esp32c6: support light_sleep (Stage 1: support CPU power down)

See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
Li Shuai
0f6cda1dd3 Power Management: support DFS 2023-01-31 22:12:27 +08:00
Jiang Jiang Jian
6d7282eebd Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master_2' into 'master'
esp_wifi: add txop limit support, sync header

See merge request espressif/esp-idf!21913
2023-01-31 19:41:50 +08:00
Ondrej Kosta
5da702bab3 Merge branch 'feature/iperf_pytest_migration' into 'master'
iperf pytest migration

Closes IDFCI-1143

See merge request espressif/esp-idf!21726
2023-01-31 18:04:59 +08:00
lvshisheng
d1230c7d9e esp32c6: add md5check, txop limit and sync header, update esp32c6 sdkconfig and itwt example 2023-01-17 20:51:51 +08:00
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Ondrej Kosta
7aa4462d0b Ethernet & WiFi iperf test migration to pytest 2023-01-16 15:45:56 +01:00
Chen Yudong
c07d237ffe examples: enable build esp32c6 for wifi and network examples 2023-01-12 14:50:06 +08:00
Chen Yudong
8aca3932b0 CI: enable more wifi cases 2023-01-06 06:03:52 +00:00
lvshisheng
bba409eec1 wifi: update wifi libs to support wifi6 features and fix build error 2022-12-29 13:13:35 +08:00
yuexia
a10779c557 esp32c6: add itwt example 2022-12-29 11:48:36 +08:00
yuexia
032ebd76cb esp32c6: support wifi 6 2022-12-29 11:48:36 +08:00
muhaidong
66465ad7d7 esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example 2022-12-23 11:05:17 +08:00
Jessy Chen
45ead31bd5 esp_wifi: upload more wifi pkt info in rx callback for espnow & csi 2022-12-05 22:30:08 +08:00
Kapil Gupta
7f3b18d454 esp_exmaples: Update ESP32C2 chip in Readme 2022-12-02 15:12:25 +05:30
Kapil Gupta
924c709efe WiFi: Add WPS softAP registrar example and events 2022-12-02 15:12:25 +05:30
alex.li
bc392a87b1 Support external coexist formal code for C2 & S3,
and optimize RX category in external coex.
2022-11-08 11:11:41 +08:00
Song Ruo Jing
2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
KonstantinKondrashov
3b4f384b69 configs: Removes leftover of CONFIG_MEMMAP_SMP 2022-10-26 19:45:42 +08:00
Marius Vikhammer
099b0b6421 Merge branch 'feature/c6_doc_build' into 'master'
docs: add support for building C6 docs

Closes IDF-5829

See merge request espressif/esp-idf!19721
2022-10-18 09:37:30 +08:00
Chen Yudong
c258ef705e CI: optimize wifi get started example test 2022-10-13 20:27:57 +08:00
Marius Vikhammer
ca4ad3ce7c docs: add support for building C6 docs 2022-10-13 04:39:16 +00:00
chenjianxing
ff217b566c esp_wifi: fix espnow example add peer fail when config channel
Closes https://github.com/espressif/esp-idf/issues/9592
2022-08-25 14:32:51 +08:00
wangziyan
7637d24d50 docs: update wifi application examples 2022-08-24 16:21:56 +08:00
simon.chupin
35dda59209 tools: remove the dependency on the future package 2022-08-09 16:46:58 +02:00
jingli
fcbaac4d42 examples/wifi/power_save: fix project kconfig file 2022-08-05 19:12:29 +08:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
Kapil Gupta
e9c18ad02f esp_wifi: set default authmode as wpa2 2022-07-30 10:43:39 +05:30
Shreyas Sheth
341a92aaa5 esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe 2022-07-22 12:23:13 +05:30
Chen Jian Xing
4808f9b725 Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue' into 'master'
Bugfix/fix write to null pointer if malloc failed issue

Closes IDFGH-7836

See merge request espressif/esp-idf!19087
2022-07-19 16:32:44 +08:00
Oleg Savchenko
656d6dac15 fix possible memory leak if report level not set 2022-07-17 11:24:12 +03:00
Oleg Savchenko
a70a1d299a fix write to null pointer if malloc failed 2022-07-15 23:55:59 +03:00
Fu Hanxi
c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
wang tao
2dbf8c9668 change esp32c2 iperf sdkconfig_defaults 2022-06-29 14:55:22 +08:00
Jiang Jiang Jian
697f9f4ba3 Merge branch 'bugfix/espnow_disconnect_optimize' into 'master'
wifi: optimize espnow when disconnect pm enable

See merge request espressif/esp-idf!18518
2022-06-22 11:04:24 +08:00
morris
ac98d89ced Merge branch 'bugfix/fix_esp32c2_does_not_support_csi_issue' into 'master'
Bugfix/fix esp32c2 does not support csi issue

Closes IDF-4216

See merge request espressif/esp-idf!18595
2022-06-21 22:04:21 +08:00
muhaidong
9a25d06b5f esp_wifi: esp32s2 esp32c3 and esp32s3 support ftm 2022-06-20 21:47:51 +08:00
Shreyas Sheth
591c7a496c esp_wifi: WPA3 SAE H2E support for station 2022-06-20 18:51:11 +05:30
Jiang Jiang Jian
4851857573 Merge branch 'bugfix/enterprise_certs' into 'master'
esp_wifi: Update wpa2 enterprise certs.

See merge request espressif/esp-idf!18515
2022-06-17 10:58:54 +08:00
Shyamal Khachane
6d55761f60 OWE support for station 2022-06-15 17:20:24 +05:30
chenjianxing
1740cbe33d wifi: optimize espnow when disconnect pm enable 2022-06-15 16:12:01 +08:00
aditi_lonkar
2a513c5531 esp_wifi: Update wpa2 enterprise certs. 2022-06-15 12:48:18 +05:30
Michael (XIAO Xufeng)
f7be540222 ci: partially enable example build for esp32c2 2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
jingli
efd5376fc0 fix power_save demo 2022-05-27 18:37:11 +08:00
Kapil Gupta
ba1daac5f0 Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
esp_wifi: Add APIs to check for BTM, RRM support of connected AP

See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Tomas Rezucha
0a511e576e Merge branch 'feature/remove_extra_components' into 'master'
examples: Use components from idf-extra-components repository

See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Kapil Gupta
ee33c6ae05 esp_wifi: Add APIs to check BTM and RRM support of connected AP 2022-05-16 15:57:59 +05:30
Fu Hanxi
38345d9cd8 Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
CI: improve build scripts for multi targets

See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Kapil Gupta
c2429f1cf9 wpa_supplicant: sync eap code with upstream 2022-05-13 12:57:47 +08:00
Fu Hanxi
52b5a8348e test: add pytest_wifi_getting_started script 2022-05-13 11:56:59 +08:00
Tomas Rezucha
4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
Kapil Gupta
805b5c9115 Merge branch 'feature/11r_changes' into 'master'
esp_wifi: Add support for FT psk

Closes WIFI-2160

See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
Jiang Jiang Jian
e4eeff87f2 Merge branch 'bugfix/enterprise_certs_ca_expired' into 'master'
esp_wifi: Fix issue of ca certificate expired

Closes WIFI-4354

See merge request espressif/esp-idf!17786
2022-05-03 15:09:45 +08:00
kapil.gupta
3d5ca7ee6e wpa_supplicant: Add support for FT psk 2022-05-01 16:16:51 +05:30
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Nachiket Kukade
bd40793771 Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
Move adding prefix/postfix of DPP key to example

Closes IDFGH-7116

See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
aditi_lonkar
72cc487aff esp_wifi: Fix issue of ca certificate expired 2022-04-18 06:24:29 +00:00
Nachiket Kukade
282d3c6188 wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
1. Move adding of prefix/postfix to the private key to example code.
   This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Kapil Gupta
62eb06e386 wpa_supplicant: Add CA certification bundle support
Add support for CA certificate bundle support for server
certificate validation
2022-04-05 10:57:09 +05:30
Ondrej Kosta
97ddccafd3 Added bandwidth limitaion option to iperf test scripts 2022-03-22 07:17:40 +00:00
Ondrej Kosta
c8b08b9a4b iperf: added Tx bandwidth limit option 2022-03-22 07:17:40 +00:00
Xue Yun Fei
b049ff915c Merge branch 'optimization/example_for_wifi_station' into 'master'
wi-fi:optimization example of wifi station

See merge request espressif/esp-idf!15457
2022-03-15 14:31:51 +08:00
David Cermak
c941e29cf6 examples: Fix implicit includes after legacy code removal 2022-03-10 10:36:38 +01:00
xueyunfei
6fe39e5dc8 wifi example:optimization example of wifi station 2022-03-10 15:20:39 +08:00
David Cermak
795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
Zim Kalinowski
0440aca4e3 Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories

See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
Mahavir Jain
9ba1b333f9 examples/wifi: add test coverage for CONFIG_WPA_DEBUG_PRINT 2022-03-07 12:17:04 +05:30
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Jiang Jiang Jian
1068c7720b Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
Always connect Station in PMF mode if possible

Closes WIFI-4320

See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Kapil Gupta
84f9aa13c9 Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
esp_example: Enable MbedTLS for DPP enrollee by default

Closes WIFI-4275

See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
Nachiket Kukade
7ed8fdac59 esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Jiang Jiang Jian
1604891b27 Merge branch 'bugfix/enterprise_certs_weak_md' into 'master'
esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example.

Closes WIFI-4284

See merge request espressif/esp-idf!16978
2022-02-16 03:55:04 +00:00
Marius Vikhammer
edb76f14d6 esp_timer: remove legacy ESP32 FRC timer implementation. 2022-02-10 15:17:49 +08:00
Darian
61639fe1ec Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
FreeRTOS: Remove usage of legacy data types

Closes IDF-4566

See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
aditi_lonkar
c3a661c0fd esp_wifi: Add pmf support for softAP. 2022-02-09 18:58:37 +05:30
Kapil Gupta
f57ccaabee esp_example: Enable MbedTLS for DPP enrollee by default 2022-01-28 13:53:39 +08:00
aditi_lonkar
9fb605a9be esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example. 2022-01-27 17:17:45 +05:30
Ivan Grokhotkov
3a57dfe905 examples: wifi/ftm: make global variables static
Prevents conflict between g_ftm_report_num_entries defined in the
example and in the Wi-Fi library.
2022-01-27 11:00:09 +07:00
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Nachiket Kukade
f38144a689 esp_wifi: Miscellaneous FTM bugfixes
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example

Closes https://github.com/espressif/esp-idf/issues/8127
2021-12-30 12:22:42 +05:30
Marius Vikhammer
82325f6037 docs: update docs to be able to build with esp8684 2021-12-20 10:32:49 +08:00
Nachiket Kukade
c3d971c52e esp_wifi: Update wifi lib
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
   unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
   while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
   avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
   timeout issue in ASAP mode

Closes https://github.com/espressif/esp-idf/issues/7702

Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
Christoph Rackwitz
4af1da0f21 esp_wifi: Reset event bits in ftm example to avoid repeated failures
Closes https://github.com/espressif/esp-idf/pull/7773
2021-11-25 15:48:34 +05:30
Hrudaynath Dhabe
4cad64babf esp_wifi: Add example code for EAP-FAST. 2021-11-22 17:33:36 +05:30
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Kapil Gupta
8e211c1179 esp_example: Enable GCMP, GMAC for 192 bit config 2021-10-19 19:02:26 +05:30
Kapil Gupta
f1b4a027aa esp_examples: Update WiFi enterprise example 2021-10-12 20:48:53 +08:00
alex.li
26d8b7ee17 Add HW external coexist api.
Simplify the external coex flow.

And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
WangShichang
9f37cfc7fc add docs "How to improve Wi-Fi performance" in api-guides for esp32s3. 2021-10-11 15:08:02 +08:00
Jakob Hasse
f86e154a56 Merge branch 'feature/removed_hyphens_from_examples' into 'master'
[examples]: Project names consistent with their directories

Closes IDFGH-3673

See merge request espressif/esp-idf!13570
2021-10-11 03:43:37 +00:00
Jakob Hasse
81e9266204 [examples]: removed hyphens
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
Kapil Gupta
834afad47e esp_wifi: Add support for MBO certification 2021-10-04 15:56:14 +08:00
zhangwenxu
2be77287b3 openthread: add iperf example for ot-network test 2021-09-06 15:32:38 +08:00
morris
aafb628683 Merge branch 'examples/network_folder' into 'master'
examples: Created a new folder structure for generic network examples

Closes IDF-3311

See merge request espressif/esp-idf!14513
2021-08-25 11:45:21 +00:00
Nachiket Kukade
09ab053ea1 esp_wifi: Fix some PMF and FTM issues
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
   with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Li Shuai
4ae9428cb7 light sleep: add wifi power save example for esp32s3 2021-08-04 21:31:45 +08:00
Ondrej Kosta
4e77430107 examples: Update Ethernet examples to use new PHY LAN87xx init function
Ethernet examples device usage and Kconfig options synchronized
2021-07-28 19:34:05 +08:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
Ondrej Kosta
4ac24549ad examples: create a new folder structure for generic network examples
simple_sniffer was moved from /wifi folder to /network folder

network_tests was moved from /system to /network folder

README's were updated accordingly to reflect new structure
2021-07-26 12:25:19 +02:00
SalimTerryLi
1abf5c861d
examples: unify iperf component 2021-07-16 11:59:52 +08:00
Omar Chebib
0fd74a43c8 console: re-use the available REPL console API and improve linenoise
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.

Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
chenjianxing
564068d5af esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue 2021-07-06 11:38:40 +08:00
Cao Sen Miao
3aa9ac2469 usb_serial_jtag: Add blocking driver to support vfs. 2021-07-05 11:22:38 +08:00
Nachiket Kukade
eb49ee75b8 wifi/ftm: Additional FTM features implementation
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
Jiang Jiang Jian
a3197a5b1e Merge branch 'bugfix/enable_pmf_in_iperf_test' into 'master'
iperf example: set PMF capable to connect to PMF required APs

Closes TCI-675

See merge request espressif/esp-idf!13853
2021-06-10 12:21:08 +00:00
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
He Yin Ling
1a9abeda6b example: set PMF capable to connect to PMF required APs 2021-06-03 20:03:59 +08:00
Ondrej Kosta
b0f79a6ae3 wifi/simple_sniffer: Add sniffer feature for Ethernet
Extends the example by adding option to sniff traffic on Ethernet interface. User have interactive option to use either WiFi or Ethernet interface to sniff on.
2021-05-28 10:56:50 +00:00
He Yin Ling
8cc4cd775e test: support multiple targets for iperf example test 2021-05-20 16:58:38 +08:00
Jiang Jiang Jian
9afd57057d Merge branch 'bugfix/add_sniffer_fcs_filter' into 'master'
example: Add sniffer FCSFAIL filter

Closes IDFGH-4661

See merge request espressif/esp-idf!12249
2021-05-08 07:31:51 +00:00
Jiang Jiang Jian
3c0801584a Merge branch 'bugfix/update_esp32c3_docs' into 'master'
Bugfix/update esp32c3 wifi driver docs

See merge request espressif/esp-idf!13274
2021-04-28 07:40:20 +00:00
xiehang
91e019ea97 example: Add sniffer FCSFAIL filter
Closes https://github.com/espressif/esp-idf/issues/6473
2021-04-27 11:56:30 +00:00
chenjianxing
c66b1aeda7 update esp32c3 iperf config 2021-04-27 14:41:08 +08:00
laokaiyao
92670e499c examples/simple_sniffer: add SPI work mode to SD card to support all chips 2021-04-22 19:52:41 +08:00
Ivan Grokhotkov
08f7ac962c examples/simple_sniffer: only enable apptrace if JTAG is selected
Fixes compilation of this example on esp32c3, where apptrace is not
yet supported.
2021-04-22 11:39:11 +08:00
Nachiket Kukade
c93907fb27 wifi/ftm: Move FTM report logging into application and some bugfixes
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled

Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
pedro.minatel
da471dfcd1 Examples README's updated on peripherals, system and wifi
Updated main examples README to add missing examples folders and Getting Started links
Updated wifi/fastscan example README
Updated wifi examples README
Updated wifi main examples README
Added instructions and removed obviousness from examples README
Updates on example README in peripherals, system and wifi
Updates on example README in peripherals and added wave form pictures on wave_gen example
Updates and review on example README
Revision on unit style convention
Added the getting started link for each supported version
Readme review and recommended enhancements
Added the default note on the wave form option info
Added the ESP32-C3 support information on the temperature sensor example README
Added Getting Started information for ESP32-S2 and ESP32-C3
Issue fixed on the supported target on README
Resolved merge conflict
2021-04-07 14:24:38 +00:00
Marius Vikhammer
04df1f3a42 CI: enable example builds for C3
Enables building C3 examples in CI.

Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
dongyou
543664f247 add exception handling for iperf example's scan when no ap was found 2021-02-04 08:40:10 +00:00
Jiang Jiang Jian
46b3cde07b Merge branch 'bugfix/fix_espnow_example_issue' into 'master'
espnow example: Fix the issue of restart in espnow blocking system

See merge request espressif/esp-idf!12084
2021-02-04 16:22:02 +08:00
Nachiket Kukade
8de3b31d2d FTM support for ESP32-C3 and connectionless mode
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Nachiket Kukade
a71976ab54 wifi/ftm: Stability fixes, raw FTM data in event
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event

Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409 Add support for FTM operation
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Fu Hanxi
0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
Nachiket Kukade
76b2cb28d2 Add DPP Enrollee example
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations

Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30