WiFi Stack heap memory usage
Posted: Mon Aug 06, 2018 1:36 pm
Hi,
In my application, One RTOS task is continuously scanning AP records at delay of 1000 ms for RSSI value to be used for best parent choose.
After one or two hour STA got disconnected from connected AP duet to beacon time out and AP kicks off station.
i got below print before STA disconnect, seems out of memory.
I would like to know, how stack handles memory for beacon and probe response?
In my application, One RTOS task is continuously scanning AP records at delay of 1000 ms for RSSI value to be used for best parent choose.
After one or two hour STA got disconnected from connected AP duet to beacon time out and AP kicks off station.
i got below print before STA disconnect, seems out of memory.
I would like to know, how stack handles memory for beacon and probe response?
Code: Select all
[Fri Aug 03 20:14:02.074 2018] W (7450429) wifi: alloc eb len=196 type=2 fail
[Fri Aug 03 20:14:02.074 2018]
[Fri Aug 03 20:14:02.074 2018] W (7450429) wifi: m f probe rsp l=169
[Fri Aug 03 20:14:02.074 2018]
[Fri Aug 03 20:14:25.621 2018] I (7473979) wifi: bcn_timout,ap_probe_send_start
[Fri Aug 03 20:14:28.142 2018] I (7476479) wifi: ap_probe_send over, resett wifi status to disassoc
[Fri Aug 03 20:14:28.142 2018] I (7476479) wifi: state: run -> init (1)
[Fri Aug 03 20:14:28.142 2018] I (7476479) wifi: n:1 0, o:1 1, ap:1 1, sta:1 1, prof:1
[Fri Aug 03 20:14:28.142 2018]
[Fri Aug 03 20:14:28.142 2018] STA disconnected
[Fri Aug 03 20:14:28.142 2018]
[Fri Aug 03 20:14:28.142 2018] Reason code for STA disconnect :200
[Fri Aug 03 20:14:42.342 2018] STA disconnected
[Fri Aug 03 20:14:42.342 2018]
[Fri Aug 03 20:14:42.342 2018] Reason code for STA disconnect :201
[Fri Aug 03 20:14:43.144 2018]
[Fri Aug 03 20:14:43.144 2018] Number of access points found: 0
[Fri Aug 03 20:14:43.144 2018]
[Fri Aug 03 20:14:43.144 2018] No AP available for this scan config, Start Scan Again