/hostap-latest/src/common/ |
D | gas.h | 15 struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code, 16 u16 comeback_delay, size_t size); 18 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more, 19 u16 comeback_delay, size_t size); 21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code, 22 u16 comeback_delay, size_t size); 24 u16 status_code, 25 u16 comeback_delay, 27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code, 29 u16 comeback_delay, size_t size); [all …]
|
D | gas.c | 48 gas_build_resp(u8 action, u8 dialog_token, u16 status_code, u8 frag_id, in gas_build_resp() 49 u8 more, u16 comeback_delay, size_t size) in gas_build_resp() 70 gas_build_initial_resp(u8 dialog_token, u16 status_code, u16 comeback_delay, in gas_build_initial_resp() 79 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more, in gas_build_comeback_resp() 80 u16 comeback_delay, size_t size) in gas_build_comeback_resp() 128 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code, in gas_anqp_build_initial_resp() 129 u16 comeback_delay, size_t size) in gas_anqp_build_initial_resp() 147 u16 status_code, in gas_anqp_build_initial_resp_buf() 148 u16 comeback_delay, in gas_anqp_build_initial_resp_buf() 168 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code, in gas_anqp_build_comeback_resp() [all …]
|
D | ieee802_11_defs.h | 1248 #define HT_CAP_INFO_LDPC_CODING_CAP ((u16) BIT(0)) 1249 #define HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET ((u16) BIT(1)) 1250 #define HT_CAP_INFO_SMPS_MASK ((u16) (BIT(2) | BIT(3))) 1251 #define HT_CAP_INFO_SMPS_STATIC ((u16) 0) 1252 #define HT_CAP_INFO_SMPS_DYNAMIC ((u16) BIT(2)) 1253 #define HT_CAP_INFO_SMPS_DISABLED ((u16) (BIT(2) | BIT(3))) 1254 #define HT_CAP_INFO_GREEN_FIELD ((u16) BIT(4)) 1255 #define HT_CAP_INFO_SHORT_GI20MHZ ((u16) BIT(5)) 1256 #define HT_CAP_INFO_SHORT_GI40MHZ ((u16) BIT(6)) 1257 #define HT_CAP_INFO_TX_STBC ((u16) BIT(7)) [all …]
|
D | hw_features_common.h | 38 void punct_update_legacy_bw(u16 bitmap, u8 pri_chan, 51 u16 punct_bitmap); 60 bool is_punct_bitmap_valid(u16 bw, u16 pri_ch_bit_pos, u16 punct_bitmap);
|
/hostap-latest/src/wps/ |
D | wps_attr_parse.h | 73 u16 manufacturer_len; 74 u16 model_name_len; 75 u16 model_number_len; 76 u16 serial_number_len; 77 u16 dev_name_len; 78 u16 public_key_len; 79 u16 encr_settings_len; 80 u16 ssid_len; 81 u16 network_key_len; 82 u16 authorized_macs_len; [all …]
|
D | wps.h | 50 u16 auth_type; 51 u16 encr_type; 98 u16 config_methods; 168 u16 dev_pw_id; 251 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, 333 void (*set_sel_reg_cb)(void *ctx, int sel_reg, u16 dev_passwd_id, 334 u16 sel_reg_config_methods); 348 const u8 *pri_dev_type, u16 config_methods, 349 u16 dev_password_id, u8 request_type, 536 u16 config_methods; [all …]
|
D | wps_i.h | 72 u16 dev_pw_id; 76 u16 alt_dev_pw_id; 89 u16 encr_type; 94 u16 auth_type; 107 u16 config_error; 108 u16 error_indication; 143 u16 config_error, u16 error_indication, const u8 *mac_addr); 159 int wps_build_config_methods(struct wpabuf *msg, u16 methods); 161 int wps_build_dev_password_id(struct wpabuf *msg, u16 id); 162 int wps_build_config_error(struct wpabuf *msg, u16 err); [all …]
|
/hostap-latest/wlantest/ |
D | tkip.c | 20 static inline u16 RotR1(u16 val) in RotR1() 26 static inline u8 Lo8(u16 val) in Lo8() 32 static inline u8 Hi8(u16 val) in Hi8() 38 static inline u16 Lo16(u32 val) in Lo16() 44 static inline u16 Hi16(u32 val) in Hi16() 50 static inline u16 Mk16(u8 hi, u8 lo) in Mk16() 52 return lo | (((u16) hi) << 8); in Mk16() 56 static inline u16 Mk16_le(u16 *v) in Mk16_le() 62 static const u16 Sbox[256] = 99 static inline u16 _S_(u16 v) in _S_() [all …]
|
/hostap-latest/src/ap/ |
D | sta_info.h | 79 u16 medium_sync_delay; 80 u16 eml_capa; 81 u16 mld_capa; 92 u16 capability; 94 u16 status; 95 u16 resp_sta_profile_len; 106 u16 aid; /* STA's unique AID (1 .. 2007) or 0 if not yet assigned */ 107 u16 disconnect_reason_code; /* RADIUS server override */ 109 u16 capability; 110 u16 listen_interval; /* or beacon_int for APs */ [all …]
|
D | ieee802_11.h | 31 u16 stype, int ok); 52 u16 hostapd_own_capab_info(struct hostapd_data *hapd); 104 u16 hostapd_process_ml_assoc_req(struct hostapd_data *hapd, 111 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, 113 u16 copy_sta_vendor_vht(struct hostapd_data *hapd, struct sta_info *sta, 119 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, 121 u16 copy_sta_vht_oper(struct hostapd_data *hapd, struct sta_info *sta, 123 u16 set_sta_vht_opmode(struct hostapd_data *hapd, struct sta_info *sta, 125 u16 copy_sta_he_capab(struct hostapd_data *hapd, struct sta_info *sta, 128 u16 copy_sta_he_6ghz_capab(struct hostapd_data *hapd, struct sta_info *sta, [all …]
|
/hostap-latest/src/eap_common/ |
D | eap_teap_common.h | 198 u16 identity_type; 201 void eap_teap_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len); 202 void eap_teap_put_tlv(struct wpabuf *buf, u16 type, const void *data, u16 len); 203 void eap_teap_put_tlv_buf(struct wpabuf *buf, u16 type, 206 int eap_teap_derive_eap_msk(u16 tls_cs, const u8 *simck, u8 *msk); 207 int eap_teap_derive_eap_emsk(u16 tls_cs, const u8 *simck, u8 *emsk); 208 int eap_teap_derive_cmk_basic_pw_auth(u16 tls_cs, const u8 *s_imck_msk, 210 int eap_teap_derive_imck(u16 tls_cs, 216 int eap_teap_compound_mac(u16 tls_cs, const struct teap_tlv_crypto_binding *cb, 228 int eap_teap_allowed_anon_prov_cipher_suite(u16 cs);
|
D | eap_teap_common.c | 20 static int tls_cipher_suite_mac_sha384(u16 cs); 23 void eap_teap_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len) in eap_teap_put_tlv_hdr() 33 void eap_teap_put_tlv(struct wpabuf *buf, u16 type, const void *data, u16 len) in eap_teap_put_tlv() 40 void eap_teap_put_tlv_buf(struct wpabuf *buf, u16 type, in eap_teap_put_tlv_buf() 73 static int eap_teap_tls_prf(u16 tls_cs, const u8 *secret, size_t secret_len, in eap_teap_tls_prf() 86 int eap_teap_derive_eap_msk(u16 tls_cs, const u8 *simck, u8 *msk) in eap_teap_derive_eap_msk() 103 int eap_teap_derive_eap_emsk(u16 tls_cs, const u8 *simck, u8 *emsk) in eap_teap_derive_eap_emsk() 121 int eap_teap_derive_cmk_basic_pw_auth(u16 tls_cs, const u8 *s_imck_msk, u8 *cmk) in eap_teap_derive_cmk_basic_pw_auth() 145 int eap_teap_derive_imck(u16 tls_cs, in eap_teap_derive_imck() 238 static int tls_cipher_suite_match(const u16 *list, size_t count, u16 cs) in tls_cipher_suite_match() [all …]
|
D | eap_fast_common.h | 92 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len); 93 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data, 94 u16 len); 95 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type,
|
/hostap-latest/src/drivers/ |
D | driver.h | 178 u16 punct_bitmap; 196 u16 he_6ghz_capa; 202 u16 mac_cap; 278 u16 ht_capab; 382 u16 beacon_int; 383 u16 caps; 627 u16 duration; 894 u16 seq; 899 u16 status; 946 u16 valid_links; [all …]
|
D | driver_hostap.h | 156 u16 aid; 157 u16 capability; 169 u16 key_len; 177 u16 rid; 178 u16 len; 188 u16 cmd; 189 u16 reason_code;
|
D | driver_roboswitch.c | 62 u16 ports; 77 static void wpa_driver_roboswitch_addr_be16(const u8 addr[ETH_ALEN], u16 *be) in wpa_driver_roboswitch_addr_be16() 85 static u16 wpa_driver_roboswitch_mdio_read( in wpa_driver_roboswitch_mdio_read() 103 struct wpa_driver_roboswitch_data *drv, u8 reg, u16 val) in wpa_driver_roboswitch_mdio_write() 141 u8 page, u8 reg, u16 *val, int len) in wpa_driver_roboswitch_read() 159 u8 page, u8 reg, u16 *val, int len) in wpa_driver_roboswitch_write() 241 u16 ports, const u8 *addr) in wpa_driver_roboswitch_join() 243 u16 read1[3], read2[3], addr_be16[3]; in wpa_driver_roboswitch_join() 287 u16 ports, const u8 *addr) in wpa_driver_roboswitch_leave() 289 u16 _read, addr_be16[3], addr_read[3], ports_read; in wpa_driver_roboswitch_leave() [all …]
|
/hostap-latest/src/pasn/ |
D | pasn_common.h | 56 u16 rsnxe_capab; 69 u16 group; 87 u16 comeback_after; 130 u16 comeback_idx; 131 u16 *comeback_pending_idx; 159 int akmp, int cipher, u16 group, 165 int akmp, int cipher, u16 group, 183 struct rsn_pmksa_cache_entry *pmksa, u16 status); 213 void pasn_set_rsnxe_caps(struct pasn_data *pasn, u16 rsnxe_capab);
|
/hostap-latest/src/tls/ |
D | tlsv1_common.h | 216 u16 suite; 250 const struct tls_cipher_suite * tls_get_cipher_suite(u16 suite); 258 int tls_version_ok(u16 ver); 259 const char * tls_version_str(u16 ver); 260 int tls_prf(u16 ver, const u8 *secret, size_t secret_len, const char *label, 262 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_Alg, 267 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random, 272 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
|
D | tlsv1_record.h | 32 u16 tls_version; 51 u16 cipher_suite; 52 u16 write_cipher_suite; 53 u16 read_cipher_suite; 61 u16 cipher_suite);
|
/hostap-latest/wpa_supplicant/ |
D | wnm_sta.h | 31 u16 tsf_offset; /* valid if tsf_present=1 */ 32 u16 beacon_int; /* valid if tsf_present=1 */ 35 u16 bearing; /* valid if bearing_present=1 */ 36 u16 rel_height; /* valid if bearing_present=1 */ 39 u16 bss_term_dur; /* valid if bss_term_present=1 */ 58 u8 action, u16 intval, struct wpabuf *tfs_req);
|
D | wpa_supplicant_i.h | 553 u16 src_port; 554 u16 dst_port; 563 u16 src_port; 564 u16 dst_port; 606 u16 mask; 616 u16 max_msdu_size; 626 u16 msdu_lifetime; 630 u16 medium_time; 668 u16 status; 740 u16 valid_links; /* bitmap of valid MLO link IDs */ [all …]
|
/hostap-latest/src/p2p/ |
D | p2p.h | 200 u16 method; 271 u16 config_methods; 370 u16 config_methods; 546 u16 config_methods; 641 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id, 797 void (*go_neg_req_rx)(void *ctx, const u8 *src, u16 dev_passwd_id, 838 u16 update_indic, const u8 *tlvs, size_t tlvs_len); 853 void (*sd_response)(void *ctx, const u8 *sa, u16 update_indic, 873 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods, 875 const char *dev_name, u16 supp_config_methods, [all …]
|
D | p2p_sd.c | 23 u16 len; in wfd_wsd_supported() 39 u16 info = WPA_GET_BE16(pos); in wfd_wsd_supported() 170 static struct wpabuf * p2p_build_sd_query(u16 update_indic, in p2p_build_sd_query() 211 static struct wpabuf * p2p_build_sd_response(u8 dialog_token, u16 status_code, in p2p_build_sd_response() 212 u16 comeback_delay, in p2p_build_sd_response() 213 u16 update_indic, in p2p_build_sd_response() 242 u16 status_code, in p2p_build_gas_comeback_resp() 243 u16 update_indic, in p2p_build_gas_comeback_resp() 246 u16 total_len) in p2p_build_gas_comeback_resp() 333 u16 slen; in p2p_rx_gas_initial_req() [all …]
|
D | p2p_i.h | 48 u16 oob_pw_id; 90 u16 req_config_methods; 98 u16 wps_prov_info; 130 u16 ext_listen_period; 131 u16 ext_listen_interval; 407 u16 srv_update_indic; 416 u16 sd_rx_update_indic; 544 u16 authorized_oob_dev_pw_id; 607 u16 config_methods; 610 u16 dev_password_id; [all …]
|
/hostap-latest/src/utils/ |
D | common.h | 91 typedef UINT16 u16; typedef 103 typedef UINT16 u16; typedef 120 typedef uint16_t u16; typedef 193 #define le_to_host16(n) ((__force u16) (le16) (n)) 194 #define host_to_le16(n) ((__force le16) (u16) (n)) 195 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) 231 static inline u16 WPA_GET_BE16(const u8 *a) in WPA_GET_BE16() 236 static inline void WPA_PUT_BE16(u8 *a, u16 val) in WPA_PUT_BE16() 242 static inline u16 WPA_GET_LE16(const u8 *a) in WPA_GET_LE16() 247 static inline void WPA_PUT_LE16(u8 *a, u16 val) in WPA_PUT_LE16() [all …]
|