aboutsummaryrefslogtreecommitdiff
path: root/src/rsn_supp/wpa.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-10-04 11:53:26 +0300
committerDmitry Shmidt <dimitrysh@google.com>2015-10-06 17:22:41 -0700
commitd9191ea120a939e7e873ab4d66789adf3cd8cb55 (patch)
tree119ab3d1342e3132628b1e5ee20690071f3f46ec /src/rsn_supp/wpa.c
parentc4818368612921f6f17286c510102cd043b75fde (diff)
downloadwpa_supplicant_8-d9191ea120a939e7e873ab4d66789adf3cd8cb55.tar.gz
Throttle control interface event message bursts
Some operations like a new scan result processing can result in large number of wpa_supplicant control interface messages being generated. Especially with multiple control interface monitors, this could result in hitting the output queue length maximum and event messages getting dropped. In worst case, that could even result in hitting ten consecutive sendto() errors which could result in an attached monitor socket getting detached. Avoid this type of issues by throttling monitor event transmission based on the output queue length. If more than half of the maximum send buffer is used, postpone sending of following event messages until the pending output queue has dropped below the limit. Bug: 24270573 Change-Id: I3905f3ec925ee3bdc67f7fb93991e620a2a6ee57 Signed-off-by: Jouni Malinen <j@w1.fi> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/rsn_supp/wpa.c')
0 files changed, 0 insertions, 0 deletions