57 Commits

Author SHA1 Message Date
7519503055 esp_wifi: Update WiFi lib (0d570cc9)
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
7. Refactor wifi_interface_t
8. Faster WiFi station connect improvement, avoid 100ms passive scan
9. Add FCS failed packets filter
10. Update esp32 phy lib to v4660
11. Fix csa timer issue
12. Fix country code last byte to space instead of NULL
13. Fix softap cannot forward A-MSDU
14. fix max tx power to 20dBm
15. fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-07 16:18:25 +08:00
794a84cb63 update esp32 phy v4390 backport v4.0.(19abcd91) 2020-09-17 16:06:00 +08:00
c4ea3c63c9 update esp32 lib phy v4370 (19abcd91) 2020-09-03 19:32:55 +08:00
dff38c7da0 Put some rx code to iram and update phy4180 (96f5c57d) 2019-11-14 15:31:31 +08:00
da98b13f1d Backport some WiFi fixes 1009 (7b0c0f31)
Backport following fixes:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Small fix about WiFi lib CI
7. Fix 5.5M signal test bug
2019-11-01 22:13:59 +08:00
e386debd1f Fix the bug that WiFi deinit leads to memory leak (f0b85257) 2019-10-29 22:28:23 +08:00
7c7c2e3f97 Update phy lib:
phy change for WiFi scan BLE scan watchdog
2019-07-18 10:58:20 +08:00
11d6683dc3 Update wifi lib and phy lib:
fix the watchdog during WiFi scan and BLE scan (bbfa281d)
2019-07-12 20:21:43 +08:00
414f9b279e mesh: use new event library
mesh: use new event library (c5c8475e)
2019-07-05 21:03:34 +08:00
1706181213 update libphy.a
1. PHY4100: Disable BT TX in force wifi mode, and enable BT TX in un-force wifi
mode(7322d291)
2019-04-10 10:16:50 +08:00
7979a13169 update libphy.a
1. update phy to 4100(3b469d62)

    4100: phy_init not write txq_block reg
2019-01-29 10:52:33 +08:00
0eef73e06f fix some bugs in phy
update wifi lib
1. fix the phy function called in ISR but cache is disabled.
2. disable/enable agc to mac deinit/init (25ee3cd)

update PHY lib to 4007
2019-01-16 22:39:11 +08:00
a44e39fc0d wifi: fix wifi rx fails (caa46f6)
1. add MAC reset.
2. update libphy.a from 4000 to 4006.
2018-12-18 23:35:17 +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
62e3f71f35 Update libphy.a
Update libphy.a to v3960:
1. Decrease  phy_init time from 900us to 347us in sleep wakeup
2. Fix RX STBC initialization
3. Modify set_chan function to fix int WDT issue
2018-08-03 16:17:03 +08:00
f56b7bd412 Update wifi lib
add os adapter func(1fd3f439)
2018-05-26 16:49:43 +08:00
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
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
93e42b35fe update phy and rtc lib
1. phy: 386, delete froce XPD_SAR=0 in phy_init()(bbc39974)

2. phy: 384, CMW500 3.5 version ESP32 Signaling test 11n PASS, WT-200
can receive ESP32 TX 11b(7995461f)

3. rtc: 237, Remove codes of setting SAR_XPD 0(febd6737)
2018-04-08 20:07:47 +08:00
6657b2f40e add mesh lib(2fc15c0558f2) 2018-04-04 16:16:11 +08:00
32402930b3 update phy
1.  PHY383.0 (144a41def)
    1)add IRAM_ATTR to the API who running in interrupt.
    2) add pwdet_sar2_init() to phy_pwdet_onetime_en() for configuring SAR2 to power detect。

2.  PHY380.0 (121493c6)
    last version PHY379.0 can take watchdog.
2018-01-30 16:08:04 +08:00
b35fc86bbc update phy and rtc
1. PHY379.0 (4bdc3f76)
   Added two functions in PHY API for disable interrupts.

2. PHY378.0 (3e6afecd)
   add rfcal data checking to PHY

3. PHY377.0 (9cebd864)
   do not use some rom function which used ets_delay_us().
   add rfcal data checking API.
   add TX Power ontime tracking API.

4. RTC V236 (d616fe55)
   update VDD33 driver

5. PHY V371.0 (07188d4a)
   add rx sense API
   add multi-ant API
   fix a problem for last version PHY 366.0.
   PHY366.0 will make TX Power tracking  fail in sometime
2018-01-24 20:09:59 +08:00
b58dec0738 roll back to c19d8c7a6c8aa5884612c691262b6125327e0bca
update wifi lib

recompile wifi lib with new psram toolchain

1. wifi lib(403db1dd)

2. recompile rtc and
   phy(bugfix/recompile_rtc_phy_with_new_toolchain_v3.0, 526e9ea2)

3. rtc:v230, phy:v366

4. recompile smartconfig(master, 7137a805)
2018-01-23 19:32:07 +08:00
111e680524 test add 1 2018-01-10 16:53:56 +08:00
c19d8c7a6c update wifi lib
recompile wifi lib with new psram toolchain

1. wifi lib(403db1dd)

2. recompile rtc and phy(bugfix/recompile_rtc_phy_with_new_toolchain_v3.0, 526e9ea2)

3. rtc:v230, phy:v366

4. recompile smartconfig(master, 7137a805)
2018-01-02 14:21:10 +08:00
8d2b43535e update libphy.a
1. V366, fix a problem which initialize current can reach 800mA(867a7035)

2. V365, fix a problem for pll_cap tracking in Coexist (BT & WIFI) mode.
       The problem will make Coexist (BT & WIFI) WIFI AP mode TX Fail in
       high temperature(>70).(3d67f2e4)

3. V364, fix a bug of BT and Wifi coexist (hung in function of
        force_wifi_mode())(b1eb8d16)
2017-11-02 10:28:23 +08:00
d7c77c5ae8 update phy & rtc
RTC V230
    add BT AGC saturation protection, replace RTC V229.

PHY V362
    Power up print: "phy_version: 362.0, 61e8d92, Sep  8 2017, 18:48:13"
    1. esp_init_data_v3.bin
        modify TX target power
        modify WIFI & BT RX gain table
    2. modify phy_close_rf()
    3. add phy_set_most_tpw()
    4. 26M crystal work OK
    5. noise_check_loop ok
2017-10-17 11:25:34 +08:00
657e562fd2 update libphy and librtc
1. RTC V229: add BT AGC saturation protection

2. PHY V359: (1). esp_init_data_v2.bin -- modify WIFI and BT RX gain table Setting
             (2). modify phy_close_rf()
             (3). noisefloor add limit and no print
2017-09-05 10:55:59 +08:00
57b3072bd3 update wifi lib
1. add get wifi max tx power api(0e33beca).

2. update libphy.a(357)
2017-07-25 15:04:57 +08:00
fa073175cb update wifi lib
1. add set wifi max tx power(2ee6b41f).

2. PHY: V356: add function void phy_set_most_tpw(ebfeabe5).
2017-07-12 20:13:23 +08:00
d2fc812f7f update libphy.a fix ets_printf
boot up with print "phy: phy_version: 355.1, 59464c5, Jun 14 2017, 20:25:06, 0, 2."
2017-06-16 12:07:22 +08:00
faa413e257 fix phy init with NULL init_data
update libphy.a
boot up with print "phy: phy_version: 355.1, 59464c5, Jun 14 2017, 20:25:06, 0, 2."
2017-06-15 18:32:57 +08:00
41de1bdf45 update libphy.a
auto check dport,modify some dport reg
    Power up print: "phy_version: 355.0, 2888565, May 23 2017"
2017-06-14 11:03:32 +08:00
2d445068eb update wifi lib
1. reduce power consumption of softap for midea(80e2d1ed)
2017-06-08 17:49:04 +08:00
8047d46d83 update libphy.a
auto check dport,modify some dport reg
    Power up print: "phy_version: 355.0, 2888565, May 23 2017"
2017-05-31 20:41:36 +08:00
a197e872e0 update phy lib
1. PHY 354: add protect for dport register
2017-05-16 21:31:08 +08:00
a5287f9300 update wifi lib
1. Reset WIFI mac when wifi init(1f66f9bd)

2. roll back rx hung workaround for beacon timeout(01de55cf)

3. fix amsdu ap interface wrong issue(10db298a)

4. fix amsdu header parse error(04f6f1ef)

5. fix amsdu flag wrong issue(d6ee2c3a)

6. PHY: V350, fix BT rssi bug

7. RTC: V225, fix bt will be not work when wifi is reset
2017-03-23 14:21:50 +08:00
7b06303c0f update phy and rtc lib
1. RTC V214: modify APLL function for the chip of ECO version

2. Add API phy_close_rf()

3. RTC: V213: fix BT will not work when BT-init is called more than once
2017-02-27 16:56:18 +08:00
8bf38d1b91 update wifi lib(24ce1cae)
1. init phy and rf when start wifi or start sniffer.(301fb80d)

2. deinit phy and rf when stop wifi or stop sniffer.(301fb80d)

3. tw10007: Wifi station do not start if app_main on CPU APP(dd7a371c)
2017-02-16 18:48:31 +08:00
e8a3f4bafe update wifi lib
1. update phy to version 258wq(redefine printf)

2. default set ps type to WIFI_PS_NONE(fb5a2b07)
2016-11-29 19:37:06 +08:00
16ab5a6d5a update wifi lib
update phy to version 258wq
2016-11-29 15:06:50 +08:00
db05e57658 update wifi lib
1. Update phy to version 255, fix HT40 rx issue
2. e32568d8 - some misc fix/optimization about wifi driver:
   1. fix net80211 ioctl return value error
   2. add RX_DONE/TX_DONE/Lock-free optimization code
2016-11-28 18:30:45 +08:00
6cc03db27a update wifi lib
1. add wpa2 enterprise(b3102c2a)
2016-11-24 20:38:59 +08:00
aa74ce2761 update wifi lib
1. some refractor to debug info(da6280b3)

2. fix bug of hung at phy_int in librtc.a(1bb9ce1d)
2016-11-24 17:25:43 +08:00
99798aaace update wifi lib
1. 2698b6fc - remove system_api.c and os_xtensa.c

2. fix printf in lib
2016-11-22 21:44:07 +08:00
ea9c156e8a update wifi lib
1. add phy_printf into libcore
2. libphy use phy_printf
2016-11-18 21:04:32 +08:00
a580f70a64 update wifi lib
1. 3309d912 - move phy_init to idf
2016-11-18 18:21:36 +08:00
5a6ee57d18 remove excutable permission 2016-11-08 15:09:28 +08:00
a1ab74c2a6 update bt/wifi coexist lib
1. e893d520 - add coexist folder for wifi/bt common code
2. 1740249e - merge bt/wifi phy_init
2016-11-08 11:59:33 +08:00
9403d944b6 wifi lib update
3b1d4412 (no teamwork id) add debug code
da54b3bd (tw6832) when sta change from state 2->2, send auth with seq 1 instead of 2
414b1e73 (no teamwork id) modify rx buffer from 14 to 25
f3073418 (no teamwork id) remove sensitive words of long rate
2016-09-21 10:58:11 +08:00