aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-05-09 14:30:48 (GMT)
committerJouni Malinen <j@w1.fi>2020-05-09 14:32:26 (GMT)
commit0a488ef35c28970c561d84787067a3350b563784 (patch)
tree3d5ce2e28ca218b4e92071f829ba5d2c705eb3e8 /wpa_supplicant/events.c
parent046f2d1fb9aad0bf2ee68296e2de105a3f7c37fe (diff)
downloadhostap-0a488ef35c28970c561d84787067a3350b563784.zip
hostap-0a488ef35c28970c561d84787067a3350b563784.tar.gz
hostap-0a488ef35c28970c561d84787067a3350b563784.tar.bz2
DPP: Track ending time for remain-on-channel operations
This may be needed to optimize use of offchannel TX operations with wait-for-response when near the end of a pending remain-on-channel operation. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index a25b43d..46341e9 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -5005,6 +5005,11 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
wpas_p2p_remain_on_channel_cb(
wpa_s, data->remain_on_channel.freq,
data->remain_on_channel.duration);
+#ifdef CONFIG_DPP
+ wpas_dpp_remain_on_channel_cb(
+ wpa_s, data->remain_on_channel.freq,
+ data->remain_on_channel.duration);
+#endif /* CONFIG_DPP */
break;
case EVENT_CANCEL_REMAIN_ON_CHANNEL:
#ifdef CONFIG_OFFCHANNEL