forked from espressif/esp-idf
Merge branch 'bugfix/fix_some_wifi_bugs_230726_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 230726(Backport v5.0) See merge request espressif/esp-idf!25000
This commit is contained in:
@@ -1528,7 +1528,7 @@ ic_interface_enabled = 0x40001b08;
|
|||||||
is_lmac_idle = 0x40001b0c;
|
is_lmac_idle = 0x40001b0c;
|
||||||
lmacAdjustTimestamp = 0x40001b10;
|
lmacAdjustTimestamp = 0x40001b10;
|
||||||
lmacDiscardAgedMSDU = 0x40001b14;
|
lmacDiscardAgedMSDU = 0x40001b14;
|
||||||
lmacDiscardMSDU = 0x40001b18;
|
/*lmacDiscardMSDU = 0x40001b18;*/
|
||||||
lmacEndFrameExchangeSequence = 0x40001b1c;
|
lmacEndFrameExchangeSequence = 0x40001b1c;
|
||||||
lmacIsIdle = 0x40001b20;
|
lmacIsIdle = 0x40001b20;
|
||||||
lmacIsLongFrame = 0x40001b24;
|
lmacIsLongFrame = 0x40001b24;
|
||||||
|
@@ -1595,7 +1595,7 @@ ic_interface_enabled = 0x400015e4;
|
|||||||
is_lmac_idle = 0x400015e8;
|
is_lmac_idle = 0x400015e8;
|
||||||
lmacAdjustTimestamp = 0x400015ec;
|
lmacAdjustTimestamp = 0x400015ec;
|
||||||
lmacDiscardAgedMSDU = 0x400015f0;
|
lmacDiscardAgedMSDU = 0x400015f0;
|
||||||
lmacDiscardMSDU = 0x400015f4;
|
/*lmacDiscardMSDU = 0x400015f4;*/
|
||||||
lmacEndFrameExchangeSequence = 0x400015f8;
|
lmacEndFrameExchangeSequence = 0x400015f8;
|
||||||
lmacIsIdle = 0x400015fc;
|
lmacIsIdle = 0x400015fc;
|
||||||
lmacIsLongFrame = 0x40001600;
|
lmacIsLongFrame = 0x40001600;
|
||||||
|
@@ -1905,7 +1905,7 @@ ic_interface_enabled = 0x400052ec;
|
|||||||
is_lmac_idle = 0x400052f8;
|
is_lmac_idle = 0x400052f8;
|
||||||
lmacAdjustTimestamp = 0x40005304;
|
lmacAdjustTimestamp = 0x40005304;
|
||||||
lmacDiscardAgedMSDU = 0x40005310;
|
lmacDiscardAgedMSDU = 0x40005310;
|
||||||
lmacDiscardMSDU = 0x4000531c;
|
/*lmacDiscardMSDU = 0x4000531c;*/
|
||||||
lmacEndFrameExchangeSequence = 0x40005328;
|
lmacEndFrameExchangeSequence = 0x40005328;
|
||||||
lmacIsIdle = 0x40005334;
|
lmacIsIdle = 0x40005334;
|
||||||
lmacIsLongFrame = 0x40005340;
|
lmacIsLongFrame = 0x40005340;
|
||||||
|
Submodule components/esp_wifi/lib updated: 25e4ed43fe...814f1482ac
Submodule components/lwip/lwip updated: 57c29648ff...269a58f185
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*
|
*
|
||||||
* SPDX-FileContributor: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileContributor: 2015-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_HDR_ESP_LWIPOPTS_H
|
#ifndef LWIP_HDR_ESP_LWIPOPTS_H
|
||||||
#define LWIP_HDR_ESP_LWIPOPTS_H
|
#define LWIP_HDR_ESP_LWIPOPTS_H
|
||||||
@@ -354,11 +354,9 @@ extern "C" {
|
|||||||
#define DHCP_COARSE_TIMER_SECS CONFIG_LWIP_DHCP_COARSE_TIMER_SECS
|
#define DHCP_COARSE_TIMER_SECS CONFIG_LWIP_DHCP_COARSE_TIMER_SECS
|
||||||
#define DHCP_NEXT_TIMEOUT_THRESHOLD (3)
|
#define DHCP_NEXT_TIMEOUT_THRESHOLD (3)
|
||||||
/* Since for embedded devices it's not that hard to miss a discover packet, so lower
|
/* Since for embedded devices it's not that hard to miss a discover packet, so lower
|
||||||
* the discover retry backoff time from (2,4,8,16,32,60,60)s to (500m,1,2,4,8,15,15)s.
|
* the discover and request retry backoff time from (2,4,8,16,32,60,60)s to (500m,1,2,4,4,4,4)s.
|
||||||
*/
|
*/
|
||||||
#define DHCP_REQUEST_TIMEOUT_SEQUENCE(state, tries) (state == DHCP_STATE_REQUESTING ? \
|
#define DHCP_REQUEST_TIMEOUT_SEQUENCE(tries) ((uint16_t)(((tries) < 5 ? 1 << (tries) : 16) * 250))
|
||||||
(uint16_t)(1 * 1000) : \
|
|
||||||
(uint16_t)(((tries) < 6 ? 1 << (tries) : 60) * 250))
|
|
||||||
|
|
||||||
static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
|
static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user