/freebsd-current/contrib/tcpdump/ |
H A D | print-802_11.c | 198 u_char ssid[33]; /* 32 + 1 for null */ member in struct:ssid_t 286 struct ssid_t ssid; member in struct:mgmt_body_t 405 fn_print_str(ndo, p.ssid.ssid); \ 1142 struct ssid_t ssid; local 1173 memcpy(&ssid, p + offset, 2); 1176 if (ssid.length != 0) { 1177 if (ssid.length > sizeof(ssid.ssid) [all...] |
/freebsd-current/contrib/wpa/hostapd/ |
H A D | config_file.c | 945 os_memcpy(bss->ssid.vlan, bss->iface, IFNAMSIZ + 1); 2399 } else if (os_strcmp(buf, "ssid") == 0) { 2400 struct hostapd_ssid *ssid = &bss->ssid; local 2402 ssid->ssid_len = os_strlen(pos); 2403 if (ssid->ssid_len > SSID_MAX_LEN || ssid->ssid_len < 1) { 2408 os_memcpy(ssid->ssid, pos, ssid 2412 struct hostapd_ssid *ssid = &bss->ssid; local [all...] |
H A D | ctrl_iface.c | 503 char *ssid, *auth, *encr = NULL, *key = NULL; local 505 ssid = txt; 523 return hostapd_wps_config_ap(hapd, ssid, auth, encr, key); 1195 "ssid=%s\n", 1197 wpa_ssid_txt(hapd->conf->ssid.ssid, 1198 hapd->conf->ssid.ssid_len)); 1213 hapd->conf->ssid.wpa_passphrase) { 1215 hapd->conf->ssid.wpa_passphrase); 1222 hapd->conf->ssid 1234 struct hostapd_ssid *ssid = &hapd->conf->multi_ap_backhaul_ssid; local 3190 struct wpa_ssid_value ssid; local 3302 struct wpa_ssid_value ssid; local [all...] |
H A D | hostapd.conf | 87 ssid=test 3041 #ssid=test2
|
/freebsd-current/contrib/wpa/hs20/client/ |
H A D | osu_client.c | 788 xml_node_t *ssid; local 791 ssid = get_node(ctx->xml, spe, "SSID"); 792 if (ssid == NULL) 794 txt = xml_node_get_text(ctx->xml, ssid); 1116 char *ssid, *hessid; local 1126 ssid = xml_node_get_text(ctx->xml, ssid_node); 1127 if (ssid == NULL) 1131 wpa_printf(MSG_INFO, "- HomeSP/NetworkID/<X+>/SSID = %s", ssid); 1138 xml_node_get_text_free(ctx->xml, ssid); 2156 const char *ssid, cons 2155 osu_connect(struct hs20_osu_client *ctx, const char *bssid, const char *ssid, const char *ssid2, const char *url, unsigned int methods, int no_prod_assoc, const char *osu_nai, const char *osu_nai2) argument [all...] |
/freebsd-current/contrib/wpa/src/ap/ |
H A D | ap_config.c | 307 struct hostapd_ssid *ssid) 416 pbkdf2_sha1(pos, ssid->ssid, ssid->ssid_len, 442 psk->next = ssid->wpa_psk; 443 ssid->wpa_psk = psk; 452 static int hostapd_derive_psk(struct hostapd_ssid *ssid) argument 454 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); 455 if (ssid->wpa_psk == NULL) { 460 (u8 *) ssid 306 hostapd_config_read_wpa_psk(const char *fname, struct hostapd_ssid *ssid) argument 476 struct hostapd_ssid *ssid = &conf->ssid; local 515 struct hostapd_ssid *ssid = &conf->ssid; local [all...] |
H A D | ap_config.h | 94 u8 ssid[SSID_MAX_LEN]; member in struct:hostapd_ssid 318 struct hostapd_ssid ssid; member in struct:hostapd_bss_config
|
H A D | beacon.c | 499 *pos++ = hapd->conf->ssid.ssid_len; 500 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); 501 pos += hapd->conf->ssid.ssid_len; 650 const u8 *ssid, size_t ssid_len, 663 if (ssid_len == hapd->conf->ssid.ssid_len && 664 os_memcmp(ssid, hapd->conf->ssid.ssid, ssid_le 649 ssid_match(struct hostapd_data *hapd, const u8 *ssid, size_t ssid_len, const u8 *ssid_list, size_t ssid_list_len, const u8 *short_ssid_list, size_t short_ssid_list_len) argument [all...] |
H A D | ctrl_iface_ap.c | 861 "ssid[%d]=%s\n" 866 wpa_ssid_txt(bss->conf->ssid.ssid, 867 bss->conf->ssid.ssid_len),
|
H A D | dpp_hostapd.c | 813 wpa_ssid_txt(conf->ssid, conf->ssid_len)); 1221 u8 ssid[SSID_MAX_LEN]; local 1234 ssid, &ssid_len, &channel_list); 1236 "result=%d ssid=%s channel_list=%s", 1237 status, wpa_ssid_txt(ssid, ssid_len),
|
H A D | hostapd.c | 104 struct hostapd_ssid *ssid; local 117 ssid = &hapd->conf->ssid; 118 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && 119 ssid->wpa_passphrase_set && ssid->wpa_passphrase) { 124 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk); 161 if (hapd->conf->ssid 339 struct hostapd_ssid *ssid = &hapd->conf->ssid; local 1113 u8 ssid[SSID_MAX_LEN + 1]; local [all...] |
H A D | hostapd.h | 134 struct wpa_ssid_value ssid; member in struct:hostapd_neighbor_entry
|
H A D | ieee802_11.c | 262 privacy = hapd->conf->ssid.wep.keys_set; 518 password = hapd->conf->ssid.wpa_passphrase; 519 pt = hapd->conf->ssid.pt; 4001 if (ssid_ie_len != hapd->conf->ssid.ssid_len || 4002 os_memcmp(ssid_ie, hapd->conf->ssid.ssid, ssid_ie_len) != 0) { 4480 resp = check_ssid(hapd, sta, elems.ssid, elems.ssid_len); 6392 struct hostapd_ssid *ssid = &hapd->conf->ssid; local 6398 if (ssid [all...] |
H A D | ieee802_11_auth.c | 237 if (hapd->conf->ssid.dynamic_vlan == DYNAMIC_VLAN_DISABLED) 516 if (hapd->conf->ssid.dynamic_vlan != DYNAMIC_VLAN_DISABLED) 552 if (hapd->conf->ssid.dynamic_vlan == DYNAMIC_VLAN_REQUIRED &&
|
H A D | ieee802_11_shared.c | 397 if (hapd->conf->ssid.utf8_ssid)
|
H A D | ieee802_1x.c | 570 os_memcpy(&buf[len], hapd->conf->ssid.ssid, 571 hapd->conf->ssid.ssid_len); 572 len += hapd->conf->ssid.ssid_len; 1894 if (hapd->conf->ssid.dynamic_vlan == DYNAMIC_VLAN_REQUIRED && 1993 if (hapd->conf->ssid.dynamic_vlan != DYNAMIC_VLAN_DISABLED &&
|
H A D | neighbor_db.c | 21 const struct wpa_ssid_value *ssid) 28 (!ssid || 29 (ssid->ssid_len == nr->ssid.ssid_len && 30 os_memcmp(ssid->ssid, nr->ssid.ssid, 31 ssid->ssid_len) == 0))) 52 char ssid[SSID_MAX_LE local 20 hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid) argument 121 hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid, const struct wpabuf *nr, const struct wpabuf *lci, const struct wpabuf *civic, int stationary, u8 bss_parameters) argument 168 hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid) argument 228 struct wpa_ssid_value ssid; local [all...] |
H A D | neighbor_db.h | 15 const struct wpa_ssid_value *ssid); 18 const struct wpa_ssid_value *ssid, 24 const struct wpa_ssid_value *ssid);
|
H A D | rrm.c | 201 struct wpa_ssid_value *ssid, u8 lci, 226 if (ssid->ssid_len != nr->ssid.ssid_len || 227 os_memcmp(ssid->ssid, nr->ssid.ssid, ssid->ssid_len) != 0) 283 struct wpa_ssid_value ssid = { local 302 ssid 199 hostapd_send_nei_report_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, struct wpa_ssid_value *ssid, u8 lci, u8 civic, u16 lci_max_age) argument [all...] |
H A D | sta_info.c | 966 if (hapd->conf->ssid.per_sta_vif && !sta->vlan_id) { 968 } else if (hapd->conf->ssid.dynamic_vlan == DYNAMIC_VLAN_DISABLED && 969 !hapd->conf->ssid.per_sta_vif && sta->vlan_id) { 976 if (hapd->conf->ssid.per_sta_vif) { 1078 if (hapd->conf->ssid.vlan[0]) 1079 iface = hapd->conf->ssid.vlan; 1241 struct hostapd_ssid *ssid; local 1245 ssid = &hapd->conf->ssid; 1251 for (psk = ssid [all...] |
H A D | vlan_full.c | 423 char *tagged_interface = hapd->conf->ssid.vlan_tagged_interface; 448 char *tagged_interface = hapd->conf->ssid.vlan_tagged_interface; 449 int vlan_naming = hapd->conf->ssid.vlan_naming; 549 char *tagged_interface = hapd->conf->ssid.vlan_tagged_interface; 550 int vlan_naming = hapd->conf->ssid.vlan_naming; 758 vlan_set_name_type(hapd->conf->ssid.vlan_naming ==
|
H A D | vlan_init.c | 30 if (!hapd->conf->ssid.wep.key[i]) 139 if ((hapd->conf->ssid.dynamic_vlan != DYNAMIC_VLAN_DISABLED || 140 hapd->conf->ssid.per_sta_vif) &&
|
H A D | wpa_auth.c | 2379 conf->ssid, conf->ssid_len,
|
H A D | wpa_auth.h | 201 u8 ssid[SSID_MAX_LEN]; member in struct:wpa_auth_config
|
H A D | wpa_auth_ft.c | 2093 const u8 *ssid = sm->wpa_auth->conf.ssid; local 2127 if (wpa_derive_pmk_r0(mpmk, mpmk_len, ssid, ssid_len, mdid, 2875 const u8 *ssid = wpa_auth->conf.ssid; local 2887 if (wpa_derive_pmk_r0(pmk, PMK_LEN, ssid, ssid_len, mdid, r0kh,
|