Searched refs:ssid (Results 1 - 25 of 249) sorted by path

12345678910

/freebsd-current/contrib/tcpdump/
H A Dprint-802_11.c198 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 Dconfig_file.c945 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 Dctrl_iface.c503 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 Dhostapd.conf87 ssid=test
3041 #ssid=test2
/freebsd-current/contrib/wpa/hs20/client/
H A Dosu_client.c788 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 Dap_config.c307 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 Dap_config.h94 u8 ssid[SSID_MAX_LEN]; member in struct:hostapd_ssid
318 struct hostapd_ssid ssid; member in struct:hostapd_bss_config
H A Dbeacon.c499 *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 Dctrl_iface_ap.c861 "ssid[%d]=%s\n"
866 wpa_ssid_txt(bss->conf->ssid.ssid,
867 bss->conf->ssid.ssid_len),
H A Ddpp_hostapd.c813 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 Dhostapd.c104 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 Dhostapd.h134 struct wpa_ssid_value ssid; member in struct:hostapd_neighbor_entry
H A Dieee802_11.c262 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 Dieee802_11_auth.c237 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 Dieee802_11_shared.c397 if (hapd->conf->ssid.utf8_ssid)
H A Dieee802_1x.c570 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 Dneighbor_db.c21 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 Dneighbor_db.h15 const struct wpa_ssid_value *ssid);
18 const struct wpa_ssid_value *ssid,
24 const struct wpa_ssid_value *ssid);
H A Drrm.c201 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 Dsta_info.c966 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 Dvlan_full.c423 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 Dvlan_init.c30 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 Dwpa_auth.c2379 conf->ssid, conf->ssid_len,
H A Dwpa_auth.h201 u8 ssid[SSID_MAX_LEN]; member in struct:wpa_auth_config
H A Dwpa_auth_ft.c2093 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,

Completed in 324 milliseconds

12345678910