Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:ssid

232  * wpa_driver_wext_get_ssid - Get SSID, SIOCGIWESSID
234 * @ssid: Buffer for the SSID; must be at least 32 bytes long
235 * Returns: SSID length on success, -1 on failure
237 int wpa_driver_wext_get_ssid(void *priv, u8 *ssid)
245 iwr.u.essid.pointer = (caddr_t) ssid;
255 /* Some drivers include nul termination in the SSID, so let's
259 if (ret > 0 && ssid[ret - 1] == '\0' &&
269 * wpa_driver_wext_set_ssid - Set SSID, SIOCSIWESSID
271 * @ssid: SSID
272 * @ssid_len: Length of SSID (0..32)
275 int wpa_driver_wext_set_ssid(void *priv, const u8 *ssid, size_t ssid_len)
290 os_memcpy(buf, ssid, ssid_len);
293 /* For historic reasons, set SSID length to include one extra
294 * character, C string nul termination, even though SSID is
297 * can thus end up missing the last octet of the SSID if the
1119 * @ssid: Specific SSID to scan for (ProbeReq) or %NULL to scan for
1120 * all SSIDs (either active scan with broadcast SSID or passive
1122 * @ssid_len: Length of the SSID
1125 int wpa_driver_wext_scan(void *priv, const u8 *ssid, size_t ssid_len)
1137 wpa_printf(MSG_DEBUG, "%s: too long SSID (%lu)",
1149 if (scan_probe_flag && (ssid && ssid_len)) {
1151 if (ssid && ssid_len) {
1157 os_memcpy(req.essid, ssid, ssid_len);
1346 os_memcpy(results[ap_num].ssid, custom,
2020 if (wpa_driver_wext_set_ssid(drv, params->ssid, params->ssid_len) < 0)