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
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
xiehang
d331d7f2a6
example: Fix espnow stuck issue
2021-01-21 11:37:10 +08:00
Li Shuai
355dd10257
light sleep: dfs support for esp32c3
2021-01-19 14:50:58 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
xiehang
d9e1d51ec8
example: Scan failure should not cause system crash
2021-01-15 11:45:23 +00:00
Jiang Jiang Jian
9ff1609a20
Merge branch 'feature/add_esptouch_v2' into 'master'
...
WiFi: add ESPTouch v2
Closes WIFI-942 and WIFI-2619
See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
ninh
27aa6c289f
components/pm: Add slp gpio configure workaround
2021-01-15 15:34:45 +08:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
xiehang
c260c223e9
example: We should not check the return value of esp_wifi_connect() in any case
2021-01-11 14:40:18 +08:00
Yinling He
d74eaadd56
test: add softap iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
5197716d5d
test: modify bad point check logic of Wi-Fi iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
ninh
e908a32381
put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf
2021-01-06 03:40:28 +00:00
Jiang Jiang Jian
1fdd83b1da
Merge branch 'docs/wifi_wpa2-enterprise' into 'master'
...
docs:wifi: Add wifi_guide for wpa2_enterprise.
Closes WIFI-987
See merge request espressif/esp-idf!10402
2020-12-23 12:50:46 +08:00
aditi_lonkar
cd85c79d30
docs:wifi: Add wifi_guide for wpa2_enterprise.
...
Closes https://github.com/espressif/esp-idf/issues/2698
2020-12-17 10:41:41 +05:30
dongyou
65513824a7
ajust espnow channel range
...
Close https://github.com/espressif/esp-idf/issues/6276
2020-12-17 10:58:49 +08:00
Jiang Jiang Jian
0e42b856af
Merge branch 'bugfix/initialize_SO_REUSEADDR_value' into 'master'
...
[WiFi] fixed iperf example parameter opt isn't initialized bug
See merge request espressif/esp-idf!10913
2020-11-22 16:08:21 +08:00
Jiang Jiang Jian
a139bceb0a
Merge branch 'feature/11kv_roaming' into 'master'
...
esp_wifi: 11kv support for network assisted roaming
Closes WIFI-2471
See merge request espressif/esp-idf!9474
2020-11-18 20:40:36 +08:00
kapil.gupta
27101f9454
wpa_supplicant: Add initial roaming support
...
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.
Followings are added as part of this.
1. Support for sending neighbor report request and provide
the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
(triggered by the APP).
5. Support for bss transition management request and move
to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
morris
e039a28821
console: support create REPL over USB CDC
2020-11-13 10:51:40 +08:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
dongyou
b55bb0a61f
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-10-29 02:50:31 +00:00
Martin Valik
815d9ec6bd
Power consumption graphs were added to ulp and wifi power save examples
...
Closes IDF-208
2020-09-17 13:20:09 +02:00
Hrudaynath Dhabe
d7ccad371a
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
2020-07-23 11:07:14 +00:00
Nachiket Kukade
81f037a299
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
kapil.gupta
179292f9b3
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
Chen Jian Xing
ebb2caa940
esp_wifi: re-enable build wifi example
2020-06-02 17:38:22 +08:00
Jiang Jiang Jian
b1cb127e61
Merge branch 'bugfix/esp32s2_iperf_config_update' into 'master'
...
update esp32s2 iperf config
See merge request espressif/esp-idf!8461
2020-05-27 13:56:19 +08:00
Nachiket Kukade
d7edd28338
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
Jan-Hendrik Frintrop
ff9c2dfa8c
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
https://github.com/espressif/esp-idf/pull/5186
2020-05-08 14:22:39 +08:00
Nachiket Kukade
107cf56e20
esp_wifi: Enable WPA3 & PMF by default
...
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 16:02:14 +05:30
ChenJianxing
eda97d7e16
update esp32s2 iperf config
2020-04-30 14:00:34 +08:00
xiehang
2d6f7f25e3
esp_wifi:Add softap example channel configuration
2020-04-17 17:31:46 +08:00
Krzysztof Budzynski
e1ab4b6711
Merge branch 'bugfix/uart_echo_readme' into 'master'
...
example: Remove duplicate commands and invalid serial port information
Closes IDFGH-3022
See merge request espressif/esp-idf!8295
2020-04-11 01:52:01 +08:00
Jiang Jiang Jian
4d9bb3ca71
Merge branch 'bugfix/wifi_station_examples_event_error' into 'master'
...
Fix instance names for event handler unregister
Closes WIFI-2122
See merge request espressif/esp-idf!8282
2020-04-10 20:56:39 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
Roland Dobai
6adb1a0609
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-08 13:17:48 +02:00
ronghulin
f0744184f5
fix: add event unregister comment
2020-04-07 21:53:50 +08:00
Jari Jokinen
266b0c3889
Fix instance names for event handler unregister
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5064
2020-04-07 20:30:19 +08:00
Anton Maklakov
0fee085b67
Merge branch 'bugfix/update_esp32s2_iperf_config' into 'master'
...
examples: update esp32s2 config for wifi iperf
See merge request espressif/esp-idf!8084
2020-03-30 16:45:11 +08:00
Jakob Hasse
1cf2312734
Examples: some examples use new event register API
...
* getting started - station
* softap
* iperf
* fast scan
* Power save
2020-03-25 10:36:47 +08:00
ChenJianxing
fabb7e5e87
examples: update esp32s2 config for wifi iperf
2020-03-24 11:36:16 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
Jakob Hasse
bcefbb03ad
examples: using xEventGroup bits properly
...
Closes IDF-1177
* changed
../../wifi/getting_started/station/README.md
../../wifi/getting_started/station/main/station_example_main.c
2020-01-03 16:10:27 +08:00
Jiang Jiang Jian
f106e14400
Merge branch 'bugfix/iperf_example_configs' into 'master'
...
examples/wifi/iperf: fix test not finding any configs
See merge request espressif/esp-idf!6802
2019-12-18 15:35:20 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
Ivan Grokhotkov
211c54cef3
examples/wifi/iperf: fix test not finding any configs
...
Regression from ebd7004
2019-12-16 11:51:49 +00:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Hrudaynath Dhabe
cde8df7887
Minor bugfix in wpa2_enterprise_example
2019-12-02 13:54:51 +08:00
Ivan Grokhotkov
477e66103c
Merge branch 'feature/esp32s2beta_apptrace_port' into 'master'
...
esp32s2: Adds apptrace support
Closes IDF-510 and IDF-1032
See merge request espressif/esp-idf!5610
2019-11-22 05:33:35 +08:00
Ivan Grokhotkov
871ea650f6
examples: fix sdkconfig warnings
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
ebd7004a31
examples: update wifi/iperf to use the new builder
2019-11-21 15:36:06 +01:00
Hrudaynath Dhabe
504172e851
wifi: minor changes in scan example
2019-11-15 23:56:16 +08:00
Ivan Grokhotkov
9e8fa4bb18
Merge branch 'feature/esp_netif_interface_update' into 'master'
...
tcpip_adapter refactor: ready for review
Closes IDF-39
See merge request espressif/esp-idf!5373
2019-11-14 21:27:53 +08:00
Alexey Gerenkov
30ff7198b8
apptrace: Renames Kconfig options
2019-11-13 15:24:01 +03:00
David Cermak
6e0d274f58
esp_netif: example init code fixed to assert only variables, not
...
function calls so it won't be skipped if compiled without asserts
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
204492bd78
examples: wifi getting started examples to use esp_netif_init() and
...
create default netif instances for station and AP
2019-11-13 12:36:25 +01:00
David Cermak
ec9f245dd3
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
2019-11-13 12:36:25 +01:00
zhangyanjiao
b9da410cbb
espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled.
2019-11-13 16:40:30 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
Hrudaynath Dhabe
019502a36e
esp_wifi: Additional code snippets in esp_wifi_scan_example
2019-10-23 14:12:32 +08:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Hrudaynath Dhabe
ac0b4c184d
wpa_supplicant: Make hexdump logs more compact
...
When running with wpa debug prints enabled data/key hexdumps are
printed to the log in a really verbose format (one byte per line).
Make these printouts more compact. 16 bytes per line.
2019-10-14 23:37:51 +08:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
xueyunfei
fa02598b5c
lwip_2.1.2 for idf_4.0
2019-07-07 01:51:45 +00:00
Jiang Jiang Jian
f4f59964a3
Merge branch 'feature/wifi_refactor_smartconfig_to_esp_event' into 'master'
...
esp_wifi: refactor smartconfig callback to use esp event
Closes IDF-268
See merge request espressif/esp-idf!4806
2019-07-04 21:16:57 +08:00
XiaXiaotian
29d1d2bd38
esp_wifi: refactor smartconfig callback to use esp event
2019-07-04 18:00:04 +08:00
Krzysztof
8d251d7369
Implement review comments
2019-07-02 18:22:33 +08:00
fakefred
d1ceaf81ae
example/wifi/scan: fix README grammar
...
Merges https://github.com/espressif/esp-idf/pull/3678
2019-07-02 17:49:49 +08:00
Deng Xin
c139683024
supplicant/esp_wifi: move supplicant to idf
...
Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces
2019-06-29 22:46:52 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
suda-morris
d156f0fc0f
replace strncpy with strlcpy in wifi examples for safety's sake
2019-06-17 11:25:50 +08:00
suda-morris
1886d8d4ef
update ota examples to support both Wi-Fi and Ethernet
2019-05-22 17:56:10 +08:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
997b29a9ca
Rename Kconfig options (components/esptool_py)
2019-05-21 09:32:55 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
92950db44e
Rename Kconfig options (components/lwip)
2019-05-21 09:09:01 +02:00