16 const u8 *bssid, u8 categ,
const u8 *data,
size_t len,
23 enum gas_query_result {
28 GAS_QUERY_INTERNAL_ERROR,
30 GAS_QUERY_DELETED_AT_DEINIT
35 void (*cb)(
void *ctx,
const u8 *dst, u8 dialog_token,
36 enum gas_query_result result,
37 const struct wpabuf *adv_proto,
38 const struct wpabuf *resp, u16 status_code),
struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s)
Initialize GAS query component.
Definition: gas_query.c:81
void gas_query_deinit(struct gas_query *gas)
Deinitialize GAS query component.
Definition: gas_query.c:163
Internal GAS query data.
Definition: gas_query.c:54
int gas_query_req(struct gas_query *gas, const u8 *dst, int freq, 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)
Request a GAS query.
Definition: gas_query.c:649
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
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)
Indicate reception of a Public Action or Protected Dual frame.
Definition: gas_query.c:434
void gas_query_cancel(struct gas_query *gas, const u8 *dst, u8 dialog_token)
Cancel a pending GAS query.
Definition: gas_query.c:709