Home
last modified time | relevance | path

Searched refs:gas (Results 1 – 19 of 19) sorted by relevance

/hostap-latest/wpa_supplicant/
Dgas_query.c40 struct gas_query *gas; member
80 static void gas_query_tx_initial_req(struct gas_query *gas,
82 static int gas_query_new_dialog_token(struct gas_query *gas, const u8 *dst);
102 struct gas_query *gas; in gas_query_init() local
104 gas = os_zalloc(sizeof(*gas)); in gas_query_init()
105 if (gas == NULL) in gas_query_init()
108 gas->wpa_s = wpa_s; in gas_query_init()
109 dl_list_init(&gas->pending); in gas_query_init()
111 return gas; in gas_query_init()
140 struct gas_query *gas = query->gas; in gas_query_free() local
[all …]
Dgas_query.h18 void gas_query_deinit(struct gas_query *gas);
19 int gas_query_rx(struct gas_query *gas, const u8 *da, const u8 *sa,
36 int gas_query_req(struct gas_query *gas, const u8 *dst, int freq,
43 int gas_query_stop(struct gas_query *gas, u8 dialog_token);
52 static inline void gas_query_deinit(struct gas_query *gas) in gas_query_deinit() argument
Dinterworking.c319 res = gas_query_req(wpa_s->gas, bss->bssid, bss->freq, 0, 0, buf, in interworking_anqp_send_req()
2870 res = gas_query_req(wpa_s->gas, dst, freq, 0, 0, buf, anqp_resp_cb, in anqp_send_req()
3316 res = gas_query_req(wpa_s->gas, dst, freq, 0, 0, buf, gas_resp_cb, in gas_send_request()
Dhs20_supplicant.c290 res = gas_query_req(wpa_s->gas, dst, freq, 0, 0, buf, anqp_resp_cb, in hs20_anqp_send_req()
Dwpa_supplicant_i.h1232 struct gas_query *gas; member
Dwpa_supplicant.c665 gas_query_deinit(wpa_s->gas); in wpa_supplicant_cleanup()
666 wpa_s->gas = NULL; in wpa_supplicant_cleanup()
7314 wpa_s->gas = gas_query_init(wpa_s); in wpa_supplicant_init_iface()
7315 if (wpa_s->gas == NULL) { in wpa_supplicant_init_iface()
Ddpp_supplicant.c2035 res = gas_query_req(wpa_s->gas, auth->peer_mac_addr, auth->curr_freq, in wpas_dpp_start_gas_client()
4813 gas_query_stop(wpa_s->gas, wpa_s->dpp_gas_dialog_token); in wpas_dpp_stop()
Devents.c5429 gas_query_rx(wpa_s->gas, mgmt->da, mgmt->sa, mgmt->bssid, in wpas_event_rx_mgmt_action()
/hostap-latest/src/ap/
Dgas_query_ap.c39 struct gas_query_ap *gas; member
74 static void gas_query_tx_initial_req(struct gas_query_ap *gas,
76 static int gas_query_new_dialog_token(struct gas_query_ap *gas, const u8 *dst);
97 struct gas_query_ap *gas; in gas_query_ap_init() local
99 gas = os_zalloc(sizeof(*gas)); in gas_query_ap_init()
100 if (!gas) in gas_query_ap_init()
103 gas->hapd = hapd; in gas_query_ap_init()
104 gas->msg_ctx = msg_ctx; in gas_query_ap_init()
105 dl_list_init(&gas->pending); in gas_query_ap_init()
107 return gas; in gas_query_ap_init()
[all …]
Dgas_query_ap.h17 void gas_query_ap_deinit(struct gas_query_ap *gas);
18 int gas_query_ap_rx(struct gas_query_ap *gas, const u8 *sa, u8 categ,
33 int gas_query_ap_req(struct gas_query_ap *gas, const u8 *dst, int freq,
40 void gas_query_ap_tx_status(struct gas_query_ap *gas, const u8 *dst,
Dhostapd.h431 struct gas_query_ap *gas; member
Dhostapd.c518 gas_query_ap_deinit(hapd->gas); in hostapd_free_hapd_data()
519 hapd->gas = NULL; in hostapd_free_hapd_data()
1633 hapd->gas = gas_query_ap_init(hapd, hapd->msg_ctx); in hostapd_setup_bss()
1634 if (!hapd->gas) in hostapd_setup_bss()
Dieee802_11.c6112 if (gas_query_ap_rx(hapd->gas, mgmt->sa, in handle_action()
6800 gas_query_ap_tx_status(hapd->gas, mgmt->da, pos, end - pos, ok); in handle_action_cb()
Ddpp_hostapd.c1372 res = gas_query_ap_req(hapd->gas, auth->peer_mac_addr, auth->curr_freq, in hostapd_dpp_start_gas_client()
/hostap-latest/src/common/
Dgas_server.c33 struct gas_server *gas; member
91 gas_server_send_resp(struct gas_server *gas, in gas_server_send_resp() argument
157 gas->tx(gas->ctx, response->freq, response->dst, resp, in gas_server_send_resp()
166 gas_server_rx_initial_req(struct gas_server *gas, const u8 *da, const u8 *sa, in gas_server_rx_initial_req() argument
226 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler, in gas_server_rx_initial_req()
239 dl_list_add(&gas->responses, &response->list); in gas_server_rx_initial_req()
256 gas_server_send_resp(gas, response, resp, comeback_delay); in gas_server_rx_initial_req()
271 struct gas_server *gas = handler->gas; in gas_server_handle_rx_comeback_req() local
341 gas->tx(gas->ctx, response->freq, response->dst, resp, wait_time); in gas_server_handle_rx_comeback_req()
347 gas_server_rx_comeback_req(struct gas_server *gas, const u8 *da, const u8 *sa, in gas_server_rx_comeback_req() argument
[all …]
Dgas_server.h23 void gas_server_deinit(struct gas_server *gas);
24 int gas_server_register(struct gas_server *gas,
33 int gas_server_rx(struct gas_server *gas, const u8 *da, const u8 *sa,
36 void gas_server_tx_status(struct gas_server *gas, const u8 *dst, const u8 *data,
38 int gas_server_set_comeback_delay(struct gas_server *gas, void *resp_ctx,
40 int gas_server_set_resp(struct gas_server *gas, void *resp_ctx,
42 bool gas_server_response_sent(struct gas_server *gas, void *resp_ctx);
46 static inline void gas_server_deinit(struct gas_server *gas) in gas_server_deinit() argument
DMakefile9 gas.o \
/hostap-latest/tests/hwsim/
Dtest_gas.py553 gas = parse_gas(query['payload'])
558 resp['payload'] = anqp_initial_resp(gas['dialog_token'], 0) + data
575 gas = parse_gas(query['payload'])
580 resp['payload'] = anqp_initial_resp(gas['dialog_token'], 0) + data
668 gas = {}
669 gas['action'] = action
675 gas['dialog_token'] = dialog_token
681 gas['status_code'] = status_code
682 gas['comeback_delay'] = comeback_delay
688 gas['status_code'] = status_code
[all …]
Dtest_ap_hs20.py3920 gas = parse_gas(query['payload'])
3921 dialog_token = gas['dialog_token']
3960 gas = parse_gas(query['payload'])
3961 dialog_token = gas['dialog_token']
3969 gas['dialog_token'], 0, 0) + adv_proto + data
5776 gas = parse_gas(query['payload'])
5784 gas['dialog_token'], 0, 0) + adv_proto + data
5796 gas = parse_gas(query['payload'])
5805 gas['dialog_token'], 0, 0) + adv_proto + data
5818 gas = parse_gas(query['payload'])
[all …]