Wifi has static and dynamic memory buffers. Static buffers are 1600 bytes, dynamic buffers are sized according to need.
menuconfig allows you to select the type of TX buffer that will be used.
Static is recommended if PSRAM available. I assume then that the dynamic options will not fail if there is insufficient memory but just drop the frame? Not sure how helpful that is if the application has other dynamic memory needs.
Even with TX static selected my boot up code shows:
Code: Select all
I (4793) wifi: Init dynamic tx buffer num: 32
Q) How do I prevent dynamic TX buffers (I have selected static option_
Q) Will dynamic TX buffers be allocated in PSRAM?
Q) Can either static or dynamic RX buffers be allocated in PSRAM?
Q) Why should the dynamic RX buffer limit be at least the static RX limit?