]> granicus.if.org Git - esp-idf/commit
Merge branch 'feature/add_limit_for_all_dynamic_ebuf' into 'master'
authorJiang Jiang Jian <jack@espressif.com>
Mon, 24 Apr 2017 03:49:50 +0000 (11:49 +0800)
committerJiang Jiang Jian <jack@espressif.com>
Mon, 24 Apr 2017 03:49:50 +0000 (11:49 +0800)
commit29002a1c8300ee4c86cb905424be5e5b405b529d
treed6cce7128b378820bdb44c41f5286ccc0b0956e3
parent97142bb8dbf4a3a7d2a48bf44dcd6b746178ef80
parent561a1a64f2a2db8facfe307d27ca7dcade2c5704
Merge branch 'feature/add_limit_for_all_dynamic_ebuf' into 'master'

esp32: update wifi lib for limitting dynamic wifi buffer

Add limit for all dynamic wifi ebuf to avoid wifi run out of memory in some extreme scanrio.
The default max allocated dynamic tx buffer is 32
The default max allocated dynamic rx buffer is 64, make default value is bigger because when all packets we received are small packets, e.g. the length is 64Bytes, then 64K can hold 1000 packets, so 64 maybe a good candidate default value, anyway the customer can configure it via menuconfig.
The default dynamic wifi internal long/long-long mgmt is 32, generally 32 is enough for mgmt packet (beacon/auth/assoc/probe/null etc). Generally when all the 32 mgmt buffer is run out of memory, it means internal wifi state machine may has problem, we need to debug it.

See merge request !683
components/esp32/Kconfig