]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/gas_query.h
mesh: Fix random llid generation in an error case
[thirdparty/hostap.git] / wpa_supplicant / gas_query.h
index ef82097e2424b51f2ea3cfed381ea37e4035536c..d2b455442f0a5f6e63df7fd16c23e0df8f947849 100644 (file)
@@ -19,6 +19,7 @@ void gas_query_deinit(struct gas_query *gas);
 int gas_query_rx(struct gas_query *gas, const u8 *da, const u8 *sa,
                 const u8 *bssid, u8 categ, const u8 *data, size_t len,
                 int freq);
+int pmf_in_use(struct wpa_supplicant *wpa_s, const u8 *addr);
 
 /**
  * enum gas_query_result - GAS query result
@@ -29,16 +30,18 @@ enum gas_query_result {
        GAS_QUERY_TIMEOUT,
        GAS_QUERY_PEER_ERROR,
        GAS_QUERY_INTERNAL_ERROR,
+       GAS_QUERY_STOPPED,
        GAS_QUERY_DELETED_AT_DEINIT
 };
 
 int gas_query_req(struct gas_query *gas, const u8 *dst, int freq,
-                 struct wpabuf *req,
+                 int wildcard_bssid, struct wpabuf *req,
                  void (*cb)(void *ctx, const u8 *dst, u8 dialog_token,
                             enum gas_query_result result,
                             const struct wpabuf *adv_proto,
                             const struct wpabuf *resp, u16 status_code),
                  void *ctx);
+int gas_query_stop(struct gas_query *gas, u8 dialog_token);
 
 #else /* CONFIG_GAS */