aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-04 11:10:41 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-07 08:45:10 (GMT)
commit1f965e622a5351ee50d00bbc7285ec84bb2af1c7 (patch)
tree518c4440062d473a6dbbabace9370e716db86ff4 /wpa_supplicant/ctrl_iface.h
parente766f56643f91cc1071d5a5ed43582cb404ec5a8 (diff)
downloadhostap-1f965e622a5351ee50d00bbc7285ec84bb2af1c7.zip
hostap-1f965e622a5351ee50d00bbc7285ec84bb2af1c7.tar.gz
hostap-1f965e622a5351ee50d00bbc7285ec84bb2af1c7.tar.bz2
Allow external programs to request wpa_radio work items
The new control interface command RADIO_WORK can be used by external programs to request radio allocation slots from wpa_supplicant if exclusive radio control is needed, e.g., for offchannel operations. If such operations are done directly to the driver, wpa_supplicant may not have enough information to avoid conflicting operations. This new command can be used to provide enough information and radio scheduling to avoid issues with such cases. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.h')
-rw-r--r--wpa_supplicant/ctrl_iface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.h b/wpa_supplicant/ctrl_iface.h
index a329ef3..b0dec53 100644
--- a/wpa_supplicant/ctrl_iface.h
+++ b/wpa_supplicant/ctrl_iface.h
@@ -113,6 +113,8 @@ wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global);
void wpa_supplicant_global_ctrl_iface_deinit(
struct ctrl_iface_global_priv *priv);
+void wpas_ctrl_radio_work_flush(struct wpa_supplicant *wpa_s);
+
#else /* CONFIG_CTRL_IFACE */
static inline struct ctrl_iface_priv *
@@ -148,6 +150,10 @@ wpa_supplicant_global_ctrl_iface_deinit(struct ctrl_iface_global_priv *priv)
{
}
+static inline void wpas_ctrl_radio_work_flush(struct wpa_supplicant *wpa_s)
+{
+}
+
#endif /* CONFIG_CTRL_IFACE */
#endif /* CTRL_IFACE_H */