aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>2017-03-06 11:43:10 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-06 22:20:29 (GMT)
commit3ab484928a892d806a2c1349606eed47a8eccd40 (patch)
tree5a6f68668a64ce864a8b1c01ba658709e297b403 /wpa_supplicant/driver_i.h
parentae2f1a9c0f5f066611a81ef311d3ed93b09477fa (diff)
downloadhostap-3ab484928a892d806a2c1349606eed47a8eccd40.zip
hostap-3ab484928a892d806a2c1349606eed47a8eccd40.tar.gz
hostap-3ab484928a892d806a2c1349606eed47a8eccd40.tar.bz2
nl80211: Driver command for checking BTM accept/reject
Add driver interface command using the QCA vendor extensions to check the driverr whether to accept or reject a BSS transition candidate. For the reject case, report an MBO reject reason code. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 0af63c9..cc41b27 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -989,4 +989,14 @@ static inline int wpa_drv_set_tdls_mode(struct wpa_supplicant *wpa_s,
tdls_external_control);
}
+static inline struct wpa_bss_candidate_info *
+wpa_drv_get_bss_trans_status(struct wpa_supplicant *wpa_s,
+ struct wpa_bss_trans_info *params)
+{
+ if (!wpa_s->driver->get_bss_transition_status)
+ return NULL;
+ return wpa_s->driver->get_bss_transition_status(wpa_s->drv_priv,
+ params);
+}
+
#endif /* DRIVER_I_H */