]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Force p2p-send-action as the next radio work to execute
authorSunil Dutt <usdutt@codeaurora.org>
Thu, 9 May 2019 11:26:45 +0000 (16:56 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 31 May 2019 13:52:15 +0000 (16:52 +0300)
commitcbfd0a263d4f71d5239b938096132b9019ea60ab
treea12d0bac219a677700840a3ff3219a8d3e2969aa
parent2e3bff5919e1007b4b2084a524eade9a0053fdd6
P2P: Force p2p-send-action as the next radio work to execute

This increases the priority of the p2p-send-action radio work, i.e., the
radio work used for transmitting potentially offchannel P2P Action
frames by marking it as the next radio work to execute. This is to avoid
the delay in transmissions due to already queued offchannel radio work
items in the queue. In particular, this means not having to wait for a
pending p2p-scan radio work to be executed before the new P2P Action
frame can be transmitted. This helps in avoiding timeouts on the peer
device when a P2P Action frames is received during other activity on the
device.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/p2p_supplicant.c