Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 79) sorted by relevance

1234

/hostap-latest/src/ap/
Dwnm_ap.c169 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_resp()
170 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP; in ieee802_11_send_wnmsleep_resp()
171 mgmt->u.action.u.wnm_sleep_resp.dialogtoken = dialog_token; in ieee802_11_send_wnmsleep_resp()
172 pos = (u8 *)mgmt->u.action.u.wnm_sleep_resp.variable; in ieee802_11_send_wnmsleep_resp()
177 mgmt->u.action.u.wnm_sleep_resp.keydata_len = 0; in ieee802_11_send_wnmsleep_resp()
203 &mgmt->u.action.u.wnm_sleep_resp.keydata_len, in ieee802_11_send_wnmsleep_resp()
219 len = 1 + sizeof(mgmt->u.action.u.wnm_sleep_resp) + gtk_elem_len + in ieee802_11_send_wnmsleep_resp()
226 mgmt->da, &mgmt->u.action.category, len); in ieee802_11_send_wnmsleep_resp()
405 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_bss_trans_mgmt_request()
406 mgmt->u.action.u.bss_tm_req.action = WNM_BSS_TRANS_MGMT_REQ; in ieee802_11_send_bss_trans_mgmt_request()
[all …]
Dwmm.c188 m->u.action.u.wmm_action.variable; in wmm_send_action()
200 m->u.action.category = WLAN_ACTION_WMM; in wmm_send_action()
201 m->u.action.u.wmm_action.action_code = action_code; in wmm_send_action()
202 m->u.action.u.wmm_action.dialog_token = dialogue_token; in wmm_send_action()
203 m->u.action.u.wmm_action.status_code = status_code; in wmm_send_action()
302 mgmt->u.action.u.wmm_action.dialog_token, in wmm_addts_req()
310 mgmt->u.action.u.wmm_action.dialog_token, res); in wmm_addts_req()
363 action_code = mgmt->u.action.u.wmm_action.action_code; in hostapd_wmm_action()
Drrm.c103 token = mgmt->u.action.u.rrm.dialog_token; in hostapd_handle_radio_msmt_report()
104 pos = mgmt->u.action.u.rrm.variable; in hostapd_handle_radio_msmt_report()
296 token = mgmt->u.action.u.rrm.dialog_token; in hostapd_handle_nei_report_req()
297 pos = mgmt->u.action.u.rrm.variable; in hostapd_handle_nei_report_req()
358 pos = mgmt->u.action.u.rrm.variable; in hostapd_handle_link_mesr_report()
397 mgmt->u.action.u.rrm.action, MAC2STR(mgmt->sa)); in hostapd_handle_radio_measurement()
399 switch (mgmt->u.action.u.rrm.action) { in hostapd_handle_radio_measurement()
411 mgmt->u.action.u.rrm.action); in hostapd_handle_radio_measurement()
724 mgmt->u.action.u.rrm.dialog_token, ok); in hostapd_rrm_beacon_req_tx_status()
Dieee802_11_shared.c132 mgmt->u.action.category = WLAN_ACTION_SA_QUERY; in ieee802_11_send_sa_query_req()
133 mgmt->u.action.u.sa_query_req.action = WLAN_SA_QUERY_REQUEST; in ieee802_11_send_sa_query_req()
134 os_memcpy(mgmt->u.action.u.sa_query_req.trans_id, trans_id, in ieee802_11_send_sa_query_req()
136 end = mgmt->u.action.u.sa_query_req.variable; in ieee802_11_send_sa_query_req()
230 resp->u.action.category = WLAN_ACTION_SA_QUERY; in ieee802_11_send_sa_query_resp()
231 resp->u.action.u.sa_query_req.action = WLAN_SA_QUERY_RESPONSE; in ieee802_11_send_sa_query_resp()
232 os_memcpy(resp->u.action.u.sa_query_req.trans_id, trans_id, in ieee802_11_send_sa_query_resp()
234 end = resp->u.action.u.sa_query_req.variable; in ieee802_11_send_sa_query_resp()
257 const u8 action_type = mgmt->u.action.u.sa_query_resp.action; in ieee802_11_sa_query_action()
258 const u8 *trans_id = mgmt->u.action.u.sa_query_resp.trans_id; in ieee802_11_sa_query_action()
[all …]
Dgas_query_ap.c472 u8 action, dialog_token, frag_id = 0, more_frags = 0; in gas_query_ap_rx() local
482 action = *pos++; in gas_query_ap_rx()
485 if (action != WLAN_PA_GAS_INITIAL_RESP && in gas_query_ap_rx()
486 action != WLAN_PA_GAS_COMEBACK_RESP) in gas_query_ap_rx()
510 if (query->wait_comeback && action == WLAN_PA_GAS_INITIAL_RESP) { in gas_query_ap_rx()
517 if (!query->wait_comeback && action == WLAN_PA_GAS_COMEBACK_RESP) { in gas_query_ap_rx()
528 action == WLAN_PA_GAS_COMEBACK_RESP) { in gas_query_ap_rx()
538 if (action == WLAN_PA_GAS_COMEBACK_RESP) { in gas_query_ap_rx()
593 if (action == WLAN_PA_GAS_COMEBACK_RESP) in gas_query_ap_rx()
Ddrv_callbacks.c1650 u8 *action __maybe_unused; in hostapd_action_rx()
1662 action = (u8 *) &mgmt->u.action.u; in hostapd_action_rx()
1665 mgmt->u.action.category, *action, in hostapd_action_rx()
1674 if (mgmt->u.action.category == WLAN_ACTION_FT) { in hostapd_action_rx()
1675 wpa_ft_action_rx(sta->wpa_sm, (u8 *) &mgmt->u.action, plen); in hostapd_action_rx()
1679 if (mgmt->u.action.category == WLAN_ACTION_SA_QUERY) { in hostapd_action_rx()
1684 if (mgmt->u.action.category == WLAN_ACTION_WNM) { in hostapd_action_rx()
1690 if (mgmt->u.action.category == WLAN_ACTION_FST && hapd->iface->fst) { in hostapd_action_rx()
1697 mgmt->u.action.category == WLAN_ACTION_PUBLIC && in hostapd_action_rx()
1698 mgmt->u.action.u.vs_public_action.action == in hostapd_action_rx()
[all …]
/hostap-latest/wpa_supplicant/wpa_gui-qt4/
Dwpagui.ui424 <action name="fileEventHistoryAction" >
428 </action>
429 <action name="fileSaveConfigAction" >
436 </action>
437 <action name="fileExitAction" >
444 </action>
445 <action name="networkAddAction" >
449 </action>
450 <action name="networkEditAction" >
454 </action>
[all …]
/hostap-latest/src/fst/
Dfst_defs.h48 u8 action; member
59 u8 action; member
71 u8 action; member
77 u8 action; member
83 u8 action; member
Dfst_session.c275 u8 action; in fst_session_send_action() local
282 action = *(const u8 *) payload; in fst_session_send_action()
284 WPA_ASSERT(action <= FST_ACTION_MAX_SUPPORTED); in fst_session_send_action()
290 fst_action_names[action]); in fst_session_send_action()
302 len, fst_action_names[action]); in fst_session_send_action()
317 fst_action_names[action]); in fst_session_send_action()
320 fst_action_names[action]); in fst_session_send_action()
342 td.action = FST_ACTION_TEAR_DOWN; in fst_session_send_tear_down()
684 res.action = FST_ACTION_ACK_RESPONSE; in fst_session_handle_ack_request()
889 req.action = FST_ACTION_SETUP_REQUEST; in fst_session_initiate_setup()
[all …]
/hostap-latest/src/common/
Dgas.c18 gas_build_req(u8 action, u8 dialog_token, size_t size) in gas_build_req() argument
27 wpabuf_put_u8(buf, action); in gas_build_req()
48 gas_build_resp(u8 action, u8 dialog_token, u16 status_code, u8 frag_id, in gas_build_resp() argument
58 wpabuf_put_u8(buf, action); in gas_build_resp()
61 if (action == WLAN_PA_GAS_COMEBACK_RESP) in gas_build_resp()
219 u8 action; in gas_anqp_set_len() local
226 action = *(wpabuf_head_u8(buf) + 1); in gas_anqp_set_len()
227 switch (action) { in gas_anqp_set_len()
Dgas_server.c383 u8 action, dialog_token; in gas_server_rx() local
394 action = *pos++; in gas_server_rx()
397 if (action != WLAN_PA_GAS_INITIAL_REQ && in gas_server_rx()
398 action != WLAN_PA_GAS_COMEBACK_REQ) in gas_server_rx()
404 action == WLAN_PA_GAS_INITIAL_REQ ? "Initial" : "Comeback", in gas_server_rx()
408 if (action == WLAN_PA_GAS_INITIAL_REQ) in gas_server_rx()
452 u8 action, code, dialog_token; in gas_server_tx_status() local
458 action = *pos++; in gas_server_tx_status()
461 if (action != WLAN_ACTION_PUBLIC || in gas_server_tx_status()
Dieee802_11_defs.h1067 u8 action; member
1073 u8 action; member
1080 u8 action; member
1085 u8 action; /* */ member
1090 u8 action; member
1095 u8 action; member
1101 u8 action; member
1105 u8 action; /* 9 */ member
1111 u8 action; /* 7 */ member
1123 u8 action; /* 8 */ member
[all …]
/hostap-latest/src/wps/
Dwps_upnp_web.c757 const char *action, int action_len, in web_connection_send_reply() argument
821 wpabuf_put_data(buf, action, action_len); in web_connection_send_reply()
836 wpabuf_put_data(buf, action, action_len); in web_connection_send_reply()
867 char *action; in web_get_action() local
890 action = b; in web_get_action()
895 *action_len = b - action; in web_get_action()
896 return action; in web_get_action()
925 const char *action = NULL; in web_connection_parse_post() local
938 action = web_get_action(req, &action_len); in web_connection_parse_post()
939 if (action == NULL) in web_connection_parse_post()
[all …]
/hostap-latest/wpa_supplicant/examples/
Dp2p-nfc.py543 action='store_const', dest='loglevel',
545 parser.add_argument('-q', const=logging.WARNING, action='store_const',
547 parser.add_argument('--only-one', '-1', action='store_true',
549 parser.add_argument('--init-on-touch', '-I', action='store_true',
551 parser.add_argument('--no-wait', action='store_true',
555 parser.add_argument('--no-wps-req', '-N', action='store_true',
557 parser.add_argument('--no-input', '-a', action='store_true',
559 parser.add_argument('--tag-read-only', '-t', action='store_true',
561 parser.add_argument('--handover-only', action='store_true',
Ddpp-nfc.py1003 action='store_const', dest='loglevel',
1005 parser.add_argument('-q', const=logging.WARNING, action='store_const',
1007 parser.add_argument('--only-one', '-1', action='store_true',
1009 parser.add_argument('--init-on-touch', '-I', action='store_true',
1011 parser.add_argument('--no-wait', action='store_true',
1015 parser.add_argument('--no-input', '-a', action='store_true',
1017 parser.add_argument('--tag-read-only', '-t', action='store_true',
1019 parser.add_argument('--handover-only', action='store_true',
1021 parser.add_argument('--enrollee', action='store_true',
1023 parser.add_argument('--configurator', action='store_true',
/hostap-latest/tests/hwsim/
Dtest_wpas_wmm_ac.py142 (categ, action, dialog, status) = struct.unpack('BBBB', payload[0:4])
143 if action != 0:
144 raise Exception("Unexpected Action code: %d" % action)
197 (categ, action, dialog, status) = struct.unpack('BBBB', payload[0:4])
198 if action != 0:
199 raise Exception("Unexpected Action code: %d" % action)
Drun-tests.py263 group.add_argument('-d', const=logging.DEBUG, action='store_const',
266 group.add_argument('-q', const=logging.WARNING, action='store_const',
271 parser.add_argument('--prefill-tests', action='store_true', dest='prefill',
276 parser.add_argument('-L', action='store_true', dest='update_tests_db',
278 parser.add_argument('-T', action='store_true', dest='tracing',
280 parser.add_argument('-D', action='store_true', dest='dmesg',
282 parser.add_argument('--dbus', action='store_true', dest='dbus',
284 parser.add_argument('--shuffle-tests', action='store_true',
288 parser.add_argument('--no-reset', action='store_true', dest='no_reset',
290 parser.add_argument('--long', action='store_true',
[all …]
/hostap-latest/wpa_supplicant/
Dwnm_sta.c57 u8 action, u16 intval, struct wpabuf *tfs_req) in ieee802_11_send_wnmsleep_req() argument
66 enum wnm_oper tfs_oper = action == 0 ? WNM_SLEEP_TFS_REQ_IE_ADD : in ieee802_11_send_wnmsleep_req()
71 action == 0 ? "enter" : "exit", in ieee802_11_send_wnmsleep_req()
81 wnmsleep_ie->action_type = action; in ieee802_11_send_wnmsleep_req()
114 if (action == WNM_SLEEP_MODE_EXIT && wpa_sm_ocv_enabled(wpa_s->wpa)) { in ieee802_11_send_wnmsleep_req()
168 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_req()
169 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ; in ieee802_11_send_wnmsleep_req()
170 mgmt->u.action.u.wnm_sleep_req.dialogtoken = 1; in ieee802_11_send_wnmsleep_req()
171 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable, wnmsleep_ie, in ieee802_11_send_wnmsleep_req()
175 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable + in ieee802_11_send_wnmsleep_req()
[all …]
Dgas_query.c522 u8 action, dialog_token, frag_id = 0, more_frags = 0; in gas_query_rx() local
533 action = *pos++; in gas_query_rx()
536 if (action != WLAN_PA_GAS_INITIAL_RESP && in gas_query_rx()
537 action != WLAN_PA_GAS_COMEBACK_RESP) in gas_query_rx()
561 if (query->wait_comeback && action == WLAN_PA_GAS_INITIAL_RESP) { in gas_query_rx()
568 if (!query->wait_comeback && action == WLAN_PA_GAS_COMEBACK_RESP) { in gas_query_rx()
579 action == WLAN_PA_GAS_COMEBACK_RESP) { in gas_query_rx()
589 if (action == WLAN_PA_GAS_COMEBACK_RESP) { in gas_query_rx()
648 if (action == WLAN_PA_GAS_COMEBACK_RESP) in gas_query_rx()
/hostap-latest/tests/
DREADME113 mkdir p2p-action-examples
114 cp go*.dat inv*.dat p2ps*.dat p2p-action-examples
115 afl-fuzz -i p2p-action-examples -o p2p-action-findings -- $PWD/p2p-fuzzer action @@
/hostap-latest/wpadebug/src/w1/fi/wpadebug/
DWpaNfcActivity.java103 String action = intent.getAction(); in onCreate() local
104 Log.d(TAG, "onCreate: action=" + action); in onCreate()
106 if (NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action)) { in onCreate()
DDisplayMessageActivity.java39 String action = intent.getAction(); in onCreate() local
40 Log.d(TAG, "onCreate: action=" + action); in onCreate()
/hostap-latest/hostapd/
Dwps-ap-nfc.py272 action='store_const', dest='loglevel',
274 parser.add_argument('-q', const=logging.WARNING, action='store_const',
276 parser.add_argument('--only-one', '-1', action='store_true',
278 parser.add_argument('--no-wait', action='store_true',
/hostap-latest/tests/hwsim/vm/
Dparallel-vm.py427 p.add_argument('-1', dest='no_retry', action='store_const', const=True, default=False,
429 p.add_argument('--debug', dest='debug', action='store_const', const=True, default=False,
431 p.add_argument('--codecov', dest='codecov', action='store_const', const=True, default=False,
433 … p.add_argument('--shuffle-tests', dest='shuffle', action='store_const', const=True, default=False,
435 p.add_argument('--short', dest='short', action='store_const', const=True,
438 p.add_argument('--long', dest='long', action='store_const', const=True,
441 p.add_argument('--valgrind', dest='valgrind', action='store_const',
446 p.add_argument('--nocurses', dest='nocurses', action='store_const',
/hostap-latest/wlantest/
Drx_mgmt.c2613 spa = mgmt->u.action.u.ft_action_resp.sta_addr; in rx_mgmt_action_ft_request()
2614 aa = mgmt->u.action.u.ft_action_resp.target_ap_addr; in rx_mgmt_action_ft_request()
2618 ies = mgmt->u.action.u.ft_action_req.variable; in rx_mgmt_action_ft_request()
2676 spa = mgmt->u.action.u.ft_action_resp.sta_addr; in rx_mgmt_action_ft_response()
2677 aa = mgmt->u.action.u.ft_action_resp.target_ap_addr; in rx_mgmt_action_ft_response()
2681 le_to_host16(mgmt->u.action.u.ft_action_resp.status_code)); in rx_mgmt_action_ft_response()
2682 ies = mgmt->u.action.u.ft_action_req.variable; in rx_mgmt_action_ft_response()
2765 switch (mgmt->u.action.u.ft_action_req.action) { in rx_mgmt_action_ft()
2774 MACSTR, mgmt->u.action.u.ft_action_req.action, in rx_mgmt_action_ft()
2788 rx_id = (const u8 *) mgmt->u.action.u.sa_query_req.trans_id; in rx_mgmt_action_sa_query_req()
[all …]

1234