Home | History | Annotate | Download | only in hostapd

Lines Matching full:ssid

712 	os_memcpy(bss->ssid.vlan, bss->iface, IFNAMSIZ + 1);
1055 bss->ssid.wpa_psk == NULL && bss->ssid.wpa_passphrase == NULL &&
1056 bss->ssid.wpa_psk_file == NULL &&
1094 bss->ssid.security_policy == SECURITY_STATIC_WEP) {
1117 if (bss->wps_state && bss->ssid.wep.keys_set && bss->wpa == 0) {
1286 } else if (os_strcmp(buf, "ssid") == 0) {
1287 bss->ssid.ssid_len = os_strlen(pos);
1288 if (bss->ssid.ssid_len > HOSTAPD_MAX_SSID_LEN ||
1289 bss->ssid.ssid_len < 1) {
1290 wpa_printf(MSG_ERROR, "Line %d: invalid SSID "
1294 os_memcpy(bss->ssid.ssid, pos,
1295 bss->ssid.ssid_len);
1296 bss->ssid.ssid[bss->ssid.ssid_len] = '\0';
1297 bss->ssid.ssid_set = 1;
1606 os_free(bss->ssid.wpa_passphrase);
1607 bss->ssid.wpa_passphrase = os_strdup(pos);
1610 os_free(bss->ssid.wpa_psk);
1611 bss->ssid.wpa_psk =
1613 if (bss->ssid.wpa_psk == NULL)
1615 else if (hexstr2bin(pos, bss->ssid.wpa_psk->psk,
1622 bss->ssid.wpa_psk->group = 1;
1625 os_free(bss->ssid.wpa_psk_file);
1626 bss->ssid.wpa_psk_file = os_strdup(pos);
1627 if (!bss->ssid.wpa_psk_file) {
1871 bss->ssid.wep.idx = atoi(pos);
1872 if (bss->ssid.wep.idx > 3) {
1875 bss->ssid.wep.idx);
1882 if (hostapd_config_read_wep(&bss->ssid.wep,
1890 bss->ssid.dynamic_vlan = atoi(pos);
1899 bss->ssid.vlan_tagged_interface = os_strdup(pos);
2215 bss->ssid.security_policy = SECURITY_WPA;
2217 bss->ssid.security_policy = SECURITY_WPA_PSK;
2220 bss->ssid.security_policy = SECURITY_IEEE_802_1X;
2221 bss->ssid.wep.default_len = bss->default_wep_key_len;
2228 } else if (bss->ssid.wep.keys_set) {
2230 if (bss->ssid.wep.len[0] >= 13)
2232 bss->ssid.security_policy = SECURITY_STATIC_WEP;
2237 bss->ssid.security_policy = SECURITY_PLAINTEXT;