aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorAhmad Kholaif <akholaif@qca.qualcomm.com>2015-07-24 00:07:55 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-29 16:10:16 (GMT)
commit7c813acf9ca69f3c6d442ce820237249a6216201 (patch)
tree8da444ee43d2e10259fb04a605bc582daba81643 /wpa_supplicant/driver_i.h
parent079a28f7b88bef62249872f0d7b7947ba1d77ac9 (diff)
downloadhostap-7c813acf9ca69f3c6d442ce820237249a6216201.zip
hostap-7c813acf9ca69f3c6d442ce820237249a6216201.tar.gz
hostap-7c813acf9ca69f3c6d442ce820237249a6216201.tar.bz2
P2P: Inform driver of the operating channel following group formation
Upon GO Negotiation completion, if the remote peer becomes GO, send a hint event over QCA vendor specific interface to inform the driver of the likely operating channel of the P2P GO. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index d1f9f8b..6ce4c27 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -893,4 +893,12 @@ static inline int wpa_drv_setband(struct wpa_supplicant *wpa_s,
return wpa_s->driver->set_band(wpa_s->drv_priv, band);
}
+static inline int wpa_drv_set_prob_oper_freq(struct wpa_supplicant *wpa_s,
+ unsigned int freq)
+{
+ if (!wpa_s->driver->set_prob_oper_freq)
+ return 0;
+ return wpa_s->driver->set_prob_oper_freq(wpa_s->drv_priv, freq);
+}
+
#endif /* DRIVER_I_H */