Home | History | Annotate | Download | only in ap

Lines Matching full:ssid

85 	if (hapd->conf->ssid.ssid_set &&
86 hostapd_set_ssid(hapd, (u8 *) hapd->conf->ssid.ssid,
87 hapd->conf->ssid.ssid_len)) {
88 wpa_printf(MSG_ERROR, "Could not set SSID for kernel driver");
178 struct hostapd_ssid *ssid = &hapd->conf->ssid;
180 idx = ssid->wep.idx;
181 if (ssid->wep.default_len &&
184 1, NULL, 0, ssid->wep.key[idx],
185 ssid->wep.len[idx])) {
190 if (ssid->dyn_vlan_keys) {
192 for (i = 0; i <= ssid->max_dyn_vlan_keys; i++) {
194 struct hostapd_wep_keys *key = ssid->dyn_vlan_keys[i];
306 if (hapd->conf->ssid.wep.default_len) {
318 if (hapd->conf->ssid.wep.key[i] &&
320 i == hapd->conf->ssid.wep.idx, NULL, 0,
321 hapd->conf->ssid.wep.key[i],
322 hapd->conf->ssid.wep.len[i])) {
327 if (hapd->conf->ssid.wep.key[i] &&
328 i == hapd->conf->ssid.wep.idx)
493 u8 ssid[HOSTAPD_MAX_SSID_LEN + 1];
541 * Fetch the SSID from the system and use it or,
545 ssid_len = hostapd_get_ssid(hapd, ssid, sizeof(ssid));
547 wpa_printf(MSG_ERROR, "Could not read SSID from system");
550 if (conf->ssid.ssid_set) {
552 * If SSID is specified in the config file and it differs
554 * new SSID.
556 set_ssid = (conf->ssid.ssid_len != (size_t) ssid_len ||
557 os_memcmp(conf->ssid.ssid, ssid, ssid_len) != 0);
560 * No SSID in the config file; just use the one we got
564 conf->ssid.ssid_len = ssid_len;
565 os_memcpy(conf->ssid.ssid, ssid, conf->ssid.ssid_len);
566 conf->ssid.ssid[conf->ssid.ssid_len] = '\0';
571 " and ssid '%s'",
573 hapd->conf->ssid.ssid);
581 /* Set SSID for the kernel driver (to be used in beacon and probe
583 if (set_ssid && hostapd_set_ssid(hapd, (u8 *) conf->ssid.ssid,
584 conf->ssid.ssid_len)) {
585 wpa_printf(MSG_ERROR, "Could not set SSID for kernel driver");