386 Commits

Author SHA1 Message Date
2292ebcbc3 fix coexist lc protect cause memory corrupted
1. resolve coexist lc protect cause memory corrupted (29b900df)
2. fix some minor bugs in coexist module (dbb148a7)
2019-02-14 16:34:07 +08:00
5e6079b954 update wifi lib
Fix some wifi bugs (c20ae098):
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
   after reset.
2019-01-31 21:41:26 +08:00
f0b869913e update wifi lib
Fix WPS thread-safe (71d67257)
2019-01-29 17:46:55 +08:00
67ba851841 update wifi lib
1. fix invalid csi data index(abdf750d)
2019-01-22 20:42:32 +08:00
9b07ca4886 fix some bugs in phy
update wifi lib
1. fix the phy function called in ISR but cache is disabled.
2. fix task watchdog when wifi change channel (4d5aba3)
3. disable/enable agc to mac deinit/init (3c43a41)

update PHY lib to 4007
2019-01-16 22:20:39 +08:00
f5ce27713b update wifi lib
1. fix the incorrect tx complete state issue(22ffa867)
2019-01-12 02:13:13 +08:00
1f7080f350 update wifi lib
Fix the wrongly delete hardware BA index bug (b4cd704b)
2019-01-11 16:47:26 +08:00
c8a14f36ff update wifi lib
1. Defragmentation only for data frame(83930946)
2019-01-09 16:08:56 +08:00
80b10178fa update wifi lib
1. unforce wifi if no data is buffered in beacon(ca23d0d9)
2019-01-07 16:43:19 +08:00
2d563a67b0 update wifi lib
fix the bug that STA can scan the channel out of the country regdomain range(bfe5ceb5)
2019-01-03 18:08:43 +08:00
255e0b2118 update wifi lib
Fix the bug caused by wifi stop in WiFi/BT coexist mode (d5da5a5)
2018-12-17 20:37:49 +08:00
283e9a477f fix two bluetooth bugs that caused by coexist module
1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr" (60312e9)
2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222 (6920a9d)
3. update libcoexist.a version to v1.1.2
2018-12-03 22:04:28 +08:00
8e105b14a0 update wifi lib
Fix some wifi bugs(a063b8cf)
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID
2018-11-21 15:23:05 +08:00
35de296fdb Update wifi lib(fcafe12)
fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
when disable sniffer, station will never enable phy and rf again.
2018-11-16 20:14:00 +08:00
2f8ef57123 update wifi lib
Fix following WiFi bugs (8f35e403):
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:58:24 +08:00
1eed344adc update wifi lib
Fix WiFi memory leak (b2c9a19b)
2018-10-21 20:42:16 +08:00
1417a87adf update coexist version to v1.1.0 (e25cb96)
bugfix:
    1. fix the bug by resolve previous coexist hw blocking bug,
       it may cause some assert like rwble.c (64,0) 222
    2. resolve the bug reduce ble scan performance.
feature:
    1. update version to v1.1.0
2018-10-17 18:30:10 +08:00
9ff3f7a736 update wifi lib to fix WiFi timer bug
update WiFi lib to fix WiFi timer bug (fdcac86e)
2018-10-16 15:58:48 +08:00
ce9c5ad67e update wifi lib
Several bugfix/optimizations about blockack session setup (9771d183)
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 (6 or 7)
2018-10-10 14:01:15 +08:00
20507c5d44 Update wifi lib
bugfix of no disconnect event report if status code is wrong(1f25d047)
2018-09-28 13:13:40 +08:00
b8c5796b76 fix coexist hardware blocking bug (8c44f46)
fix the bug following:
1. when software coexist working, there's a little ratio cause wifi task watchdog timeout
2. when software coexist working, there's a little ratio cause bluetooth cannot receive anything.

Known issues:
1. there's still a bug occurs with a very very low ratio cause bluetooth cannot receive anything.
   The reproduce interval may great than 3days ~ 1week via 7x24 hours heavy testing.
2018-09-27 20:55:50 +08:00
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
05aa0f411d Update wifi lib
bugfix of two sceanrio may cause no disconnect event report(7f4442cb)
2018-09-21 14:17:35 +08:00
8071dade6e Update wifi lib
Fix AMPDU sequence compitability issue (d8b211c2)
2018-09-17 13:55:53 +08:00
65089cdd53 Update wifi lib
bugfix of optimize scan capability in all channel scan(7e3a527)
2018-09-14 22:20:47 +08:00
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
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
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
1373c2075a update wifi lib
1. reorder mpdu as ampdu(54ef8ed6)
2018-08-30 11:37:58 +08:00
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
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
3a316e1487 Update wifi lib
stop user scan when connecting(41e88392)
2018-08-15 11:54:23 +08:00
3a57e71988 Update wifi lib (633012a)
fix the bug for Android getting IP fail
2018-08-14 14:05:55 +08:00
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
ecd7e6ee23 Update wifi lib
fix the bug in all channel scan(202823a7)
1. enable scan threshold in all channel scan
2. Prohibit connect to open ap if set password
2018-08-06 19:47:36 +08:00
decb309e65 Update wifi lib
change wifi behavior and fix bug(080fce7d)
1. fix ap loss
2. change station state machine when receive deauth and disassoc
3. format reason code when state machine change
2018-08-05 13:34:34 +08:00
828e457736 fix bug that wifi sleep before receive beacon
update wifi lib (807e784)

it will resolve the problem:
1. when bluetooth is running (For example: a2dp sink), wifi station cannot connect to AP easily
2. improve wifi connection success ratio when coexist is working
2018-08-01 15:03:02 +08:00
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
335b4755a9 Update wifi lib
fix wifi bugs(24d554eb)
1. fix wifi ap loss bug
2. change station state machine behavior
2018-07-30 17:09:17 +08:00
147e6c20e1 Update wifi lib
add compatible to ccmp encryption(e4d8ac58)
2018-07-21 14:30:48 +08:00
a6030d0879 fix coex pause bug cause BLE connection not stable(2b4abba)
After wifi sleep, coex is paused, but not switch RF to Bluetooth sometimes. So it cause BLE connection lost
2018-07-17 21:06:26 +08:00
5542102fc7 wifi: fix ampdu duplicate issue
fix ampdu duplicate issue(8fab8d1)
2018-07-16 17:09:51 +08:00
5f68b74f20 update wifi lib
1. check WiFi library git commit id in unit test(45f60804)
2018-07-12 17:48:32 +08:00
a1f6b6716e Update wifi lib
bugfix of can not update beacon info after user scan(4c398ce0)
2018-07-11 19:46:48 +08:00
503f296754 update wifi lib
1. sync header file with idf(0b39f81a)
2018-07-11 12:09:55 +08:00
9b9a3b35f0 update wifi lib
1. Change CSI data type to signed char(7b9abd8a)
2018-07-04 11:37:29 +08:00
0bfda8bbf6 esp32: fix coex bug
update wifi library (771f1dc)
    1. fix BLE connection missing in coex mode
    2. modify other parameters to make coex priority more reasonable

    update librtc.a (V239)
2018-06-29 16:27:41 +08:00
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
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
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