Commit Graph

105 Commits

Author SHA1 Message Date
Liu Zhi Fu
b9b1d79975 update wifi lib
Fix some WiFi bugs (5bb80782):
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug
2018-10-25 11:53:21 +08:00
Liu Zhi Fu
c52f13bb77 update wifi lib
Fix WiFi memory leak (3f769b91)
2018-10-21 20:35:52 +08:00
qiyuexia
5b468952c7 mesh: fix a bug in generating ESP-SSID IE (6c35f9)
MR !573
1. wifi: if Wi-Fi is not scanning, ignore beacons from different channels.
2018-10-17 17:41:39 +08:00
Liu Zhi Fu
2f5fc77efd update wifi lib
Update WiFi lib to fix WiFi Timer bug (b0bccfae)
2018-10-17 09:45:17 +08:00
Liu Zhi Fu
9790499df4 update wifi lib
Several bugfix/optimizations about blockack session setup (a3be6390)
1. Fix the bug that ESP32 will reject the retry AddBA request frame
   if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID
2018-10-09 12:05:43 +08:00
qiyuexia
912dedb942 mesh: decoupling (9ac9f5)
MR !560
Remove dependencies which cause mesh code to be linked even if mesh is not used.
2018-09-25 23:48:14 +08:00
XiaXiaotian
c5cc689830 update wifi lib
1. esptouch supports both multicast and broadcast packets(7777e951)
2018-09-25 10:36:59 +08:00
qiyuexia
2f74d17a63 mesh: bugfix (e27cdc)
MR !565
1. suppport mesh type, mesh ID, router and IE crypt func&key at any time after mesh is initalized.
2. support modify parent at any time after mesh is configured.
3. fix issues in root conflicts handling.
4. modify mesh nvs storage type same as Wi-Fi.
5. add max length of beacon to menuconfig.
6. add check for the channel value in the received beacon to filter out APs without DSSS.
2018-09-23 21:05:54 +08:00
Liu Zhi Fu
8071dade6e Update wifi lib
Fix AMPDU sequence compitability issue (d8b211c2)
2018-09-17 13:55:53 +08:00
Liu Zhi Fu
4b0f2d2582 update wifi lib
fix some modem sleep bugs(f9a3bf511)

1. set wait beacon flag at TBTT no matter which state it is on.

2. send wake null data before sending data on dream and sleep state.

3. decrease wake ahead time to 1ms
2018-09-13 11:33:54 +08:00
XiaXiaotian
41fa9a1ed0 update wifi lib
1. update api to set csi channel filter and ht_ltf data generating
method(d5562815)

update phy lib to v4000(37ebdfac)

2. Add filter reset to do RXIQ

3. Change freq_offset step from 16k to 4k

4. void phy_chan_filt_set(bool filt_en, bool merge_en)

5. Add chan14_mic_enable(bool en, s8 most_pwr)

6. Use esp_dport_access_reg_read() to read DPORT REG
2018-09-05 16:06:32 +08:00
zhangyanjiao
ea4bb37b0f Update wifi lib
1. fix the esp_wifi_disconnect() error when wifi is not started or inited (ece97c4)
2. make osi variable in DRAM (ece97c4)
2018-08-31 10:20:46 +08:00
XiaXiaotian
1373c2075a update wifi lib
1. reorder mpdu as ampdu(54ef8ed6)
2018-08-30 11:37:58 +08:00
qiyuexia
4c69c1ad8d mesh: bugfix and two new APIs(c508db)
MR !548
1. fix hard to find the parent during connect.
2. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
3. disable Wi-Fi channel switch function.
4. fix set an error password for switch candidate.
5. fix root_cap incorrect if root has no child associated
2018-08-27 19:07:25 +08:00
Liu Zhi Fu
2cb4ce3da5 Update wifi lib
Update WiFi lib to fix several WiFi bugs(d9df9432)
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame
2018-08-26 12:35:24 +08:00
zhangyanjiao
3a57e71988 Update wifi lib (633012a)
fix the bug for Android getting IP fail
2018-08-14 14:05:55 +08:00
qiyuexia
acade41cab mesh: modify parent switch mechanism (7aac1f)
MR !531
1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.
2018-08-08 13:21:05 +08:00
Liu Zhi Fu
0fcb4e42f6 Update wifi lib
Fix several wpa2 enterprise issues(c6717b46)
1. Fix heap corrupted bug
2. Fix memory leak bug
3. Make wpa2 enterprise thread-safe
2018-07-31 15:43:29 +08:00
chenyudong
5542102fc7 wifi: fix ampdu duplicate issue
fix ampdu duplicate issue(8fab8d1)
2018-07-16 17:09:51 +08:00
XiaXiaotian
5f68b74f20 update wifi lib
1. check WiFi library git commit id in unit test(45f60804)
2018-07-12 17:48:32 +08:00
XiaXiaotian
503f296754 update wifi lib
1. sync header file with idf(0b39f81a)
2018-07-11 12:09:55 +08:00
XiaXiaotian
9b9a3b35f0 update wifi lib
1. Change CSI data type to signed char(7b9abd8a)
2018-07-04 11:37:29 +08:00
Liu Zhi Fu
534a9b1410 update wifi lib
optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space
2018-06-28 21:22:19 +08:00
Liu Zhi Fu
9e3d638c7d update wifi lib
Optimize WiFi memory usage (5b0c84c3ef)
1. Reduce WiFi task stack size by 512 Bytes
2. Modify NVS configuration array from static to dynamic
3. Bss segment optimization of WiFi lib
2018-06-28 10:40:46 +08:00
qiyueixa
1f2b30fc41 mesh: bugfix(a7a46e)
!MR511
1. increase max layer limit from 15 to 25.
2. add esp_mesh_set_6m_rate() to set minium rate to 6Mbps for data packets.
3. modify only root saves settings to nvs.
4. fix ap_loss.
2018-06-25 21:45:59 +08:00
qiyueixa
7031ad4fbf mesh: bugfix(0d5fbb)
!MR511
1. increase max layer limit from 15 to 25.
2. add esp_mesh_set_6m_rate() to set minium rate to 6Mbps for data packets.
3. modify only root saves settings to nvs.
2018-06-21 16:59:27 +08:00
XiaXiaotian
67fe3bdfb2 update wifi lib
1. support WiFi null mode again(4fd6a2c1)
2018-06-20 16:44:00 +08:00
qiyueixa
e5f0e45e97 mesh: bugfix(b65dd0)
!MR507

1. fix osi bug causes esp_mesh_send() never return when TOS is set.
2. fix in self-healing, devices never reconnect or scan a parent.
3. modify short annonce interval from 300ms to 500ms.
4. fix parent switch issue.
5. use the same coreID as wifi.
2018-06-15 20:30:40 +08:00
zhangyanjiao
166c7dca97 Update wifi lib:
WLOGE, WLOGW, WLOGI, WLOGD do anything when wifi is not initialized(d09d611)
2018-06-14 19:25:23 +08:00
zhangyanjiao
16777c5d1e Update wifi lib
fix espnow bug when add node in AP+STA mode(ac8d7b4)
2018-06-06 20:40:41 +08:00
XiaXiaotian
57c718617c update wifi lib
1. fix rx state parse if CSI is enabled(974aa77b)

2. make smartconfig channel timer thread safe(871ae4c8)

3. fix sniffer filter mask to keep the same as IDF(a1ee8005)
2018-06-01 14:23:18 +08:00
Liu Zhi Fu
37f7289daf update wifi lib
Fix some bugs introduced by WiFi OS adapter (53556e42a1):
1. Fix WiFi/BT coexist not work bug
2. Add size/version check for crypto struct
3. Add MD5 check for crypto header files
2018-05-31 17:05:44 +08:00
zhangyanjiao
13a07ae99e Update wifi lib
fix espnow watchdog when modify(892ae94)
2018-05-30 17:16:56 +08:00
jack
f56b7bd412 Update wifi lib
add os adapter func(1fd3f439)
2018-05-26 16:49:43 +08:00
qiyueixa
8b6d5837a4 mesh: add manual networking function(4ae09c9551ae)
MR!495
1. add MESH_EVENT_SCAN_DONE event.
2. add APIs esp_mesh_scan_get_ap_record() and
esp_mesh_scan_get_ap_ie_len() to get scan results.
3. modify API esp_mesh_set_self_organized() by adding parameter
"select_parent".
4. modify API esp_mesh_set_parent() by adding parameter
"parent_mesh_id".
5. if self is set as Root-Fixed, ignore root conflicts.
2018-05-22 23:26:56 +08:00
Liu Zhi Fu
963fb2baa4 update wifi lib
1. Add multiple antenna (ed24c2085)
2. Update libphy.a to v3910 (submodule commit ID: ceb07020e4)
2018-05-21 22:55:01 +08:00
qiyueixa
0503727b12 mesh: fix esp_mesh_waive_root()
MR!494
1. use pbkdf2_sha1() to transform mesh ie plain key.
2. fix esp_mesh_stop().
3. fix bugs in xon.
2018-05-20 15:26:48 +08:00
Liu Zhi Fu
c1d0ac3625 update wifi lib
add event SYSTEM_EVENT_AP_STAIPASSIGNED (d77bacbff6)
2018-05-19 13:11:23 +08:00
Liu Zhi Fu
04e656c303 Update wifi/phy/rtc lib
1. Update libphy.a to v3900 (phy submodule commit: 4c02a1dc5)
2. Update librtc.a to v238  (rct submodule commit: ba66f971)
3. Update wifi lib to include following changes (fa8f8c64)
   - add scan_method, sort_method and threshold when invoke esp_wifi_get_config()
   - add rssi of each STA in softAP list
   - add country information in scan result
   - add noise floor in rx pkt
2018-05-18 11:54:50 +08:00
Liu Zhi Fu
ba4c4ce08e update wifi lib
Support to create wifi task on any core (166536106)
2018-05-17 22:03:03 +08:00
Liu Zhi Fu
3b4ce03f46 Update wifi lib
Add API to support configuring customer WPS factory information (6ef97481)
2018-05-17 16:42:09 +08:00
Liu Zhi Fu
c581fa9bed update wifi lib
Fully support esp_wifi_80211_tx (8bd53051c)
2018-05-15 14:06:52 +08:00
Liu Zhi Fu
a93e18a06e udpate wifi lib
Add support to sniffer WiFi control packets (b2d1340dad)
2018-05-13 18:43:01 +08:00
XiaXiaotian
efae38d4d6 update wifi lib
1. refactor smartconfig: move wifi part to wifi lib and lwip part to
IDF(90cbed9e)
2018-05-11 10:45:03 +08:00
Liu Zhi Fu
e21cf48e26 update wifi lib
1. Deauth the station if soft-AP already has max WiFi connections (f0bb389d)
2. Fix the bug that WiFi receives duplicate MPDU (d0b3851d9f)
2018-05-06 17:22:29 +08:00
Liu Zhi Fu
7c8fc4a8f1 update wifi lib
Replace portENTER_CRITICAL/portEXIT_CRITICAL with semaphore lock if
the protected resource is only accessed by tasks (0bda62e1)
2018-05-03 16:24:07 +08:00
Liu Zhi Fu
8cd9fd455e udpate wifi lib
Support static allocation of freertos queue used in ISR handler (91df453adb)
2018-04-27 11:11:42 +08:00
qiyueixa
e9e4579336 mesh: add fix root function(182b8750fcb0)
1. fix a bug in connect to a different parent without removing rc.
2018-04-26 15:21:21 +08:00
Liu Zhi Fu
3ca7b8a9af update wifi lib
Fix some wifi phy mode issues (2de750712)
2018-04-24 16:20:54 +08:00
Liu Zhi Fu
0810a36f80 update wifi lib
Minor fix for WiFi TX (change ppProcessAllTxQ to ppProcessTxQ in ppTask()) (d17e64c0)
2018-04-23 19:05:46 +08:00