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>
This commit is contained in:
parent
2e3bff5919
commit
cbfd0a263d
1 changed files with 1 additions and 1 deletions
|
@ -1573,7 +1573,7 @@ static int wpas_send_action_work(struct wpa_supplicant *wpa_s,
|
|||
awork->wait_time = wait_time;
|
||||
os_memcpy(awork->buf, buf, len);
|
||||
|
||||
if (radio_add_work(wpa_s, freq, "p2p-send-action", 0,
|
||||
if (radio_add_work(wpa_s, freq, "p2p-send-action", 1,
|
||||
wpas_send_action_cb, awork) < 0) {
|
||||
os_free(awork);
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue