Home
last modified time | relevance | path

Searched refs:essid (Results 1 – 25 of 32) sorted by relevance

12

/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c39 u8 *essid, size_t essid_len);
371 u8 *essid = NULL; in gelic_wl_set_scan() local
377 essid = req->essid; in gelic_wl_set_scan()
379 pr_debug("%s: ESSID scan =%s\n", __func__, essid); in gelic_wl_set_scan()
381 return gelic_wl_start_scan(wl, 1, essid, essid_len); in gelic_wl_set_scan()
586 iwe.u.data.length = strnlen(scan->essid, 32); in gelic_wl_translate_scan()
587 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan()
632 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan()
764 pr_debug("essid=%s\n", scan_info->hwinfo->essid); in scan_list_dump()
955 data->essid.length, data->essid.flags); in gelic_wl_set_essid()
[all …]
Dps3_gelic_wireless.h154 u8 essid[32]; /* IW_ESSID_MAX_SIZE */ member
274 u8 essid[IW_ESSID_MAX_SIZE]; member
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c204 wrqu->essid.length = len; in ieee80211_wx_get_essid()
206 wrqu->essid.flags = 1; in ieee80211_wx_get_essid()
397 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { in ieee80211_wx_set_essid()
416 if (wrqu->essid.flags && wrqu->essid.length) { in ieee80211_wx_set_essid()
418 …len = ((wrqu->essid.length - 1) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length - 1) : IW_ESSID_MAX_SIZ… in ieee80211_wx_set_essid()
Dieee80211.h2057 static inline int ieee80211_is_empty_essid(const char *essid, int essid_len) in ieee80211_is_empty_essid() argument
2060 if (essid_len == 1 && essid[0] == ' ') in ieee80211_is_empty_essid()
2066 if (essid[essid_len] != '\0') in ieee80211_is_empty_essid()
2416 static inline const char *escape_essid(const char *essid, u8 essid_len) in escape_essid() argument
2420 if (ieee80211_is_empty_essid(essid, essid_len)) { in escape_essid()
2425 snprintf(escaped, sizeof(escaped), "%*pE", essid_len, essid); in escape_essid()
/drivers/net/wireless/
Dwl3501_cs.c654 iw_copy_mgmt_info_element(&sig.ssid.el, &this->essid.el); in wl3501_mgmt_start()
655 iw_copy_mgmt_info_element(&this->keep_essid.el, &this->essid.el); in wl3501_mgmt_start()
674 if (!this->essid.el.len) in wl3501_mgmt_scan_confirm()
676 else if (this->essid.el.len == 3 && in wl3501_mgmt_scan_confirm()
677 !memcmp(this->essid.essid, "ANY", 3)) in wl3501_mgmt_scan_confirm()
679 else if (this->essid.el.len != sig.req.ssid.el.len) in wl3501_mgmt_scan_confirm()
681 else if (memcmp(this->essid.essid, sig.req.ssid.essid, in wl3501_mgmt_scan_confirm()
682 this->essid.el.len)) in wl3501_mgmt_scan_confirm()
1588 this->bss_set[i].req.ssid.essid); in wl3501_get_scan()
1624 &this->essid.el, in wl3501_set_essid()
[all …]
Drndis_wlan.c219 u8 essid[NDIS_802_11_LENGTH_SSID]; member
1069 ssid.length = cpu_to_le32(sizeof(ssid.essid)); in disassociate()
1070 get_random_bytes(&ssid.essid[2], sizeof(ssid.essid)-2); in disassociate()
1071 ssid.essid[0] = 0x1; in disassociate()
1072 ssid.essid[1] = 0xff; in disassociate()
1073 for (i = 2; i < sizeof(ssid.essid); i++) in disassociate()
1074 ssid.essid[i] = 0x1 + (ssid.essid[i] * 0xfe / 0xff); in disassociate()
1968 bssid->ssid.essid, bssid->mac, le32_to_cpu(bssid->length)); in rndis_bss_info_update()
2229 memcpy(ssid.essid, sme->ssid, length); in rndis_connect()
2343 memcpy(ssid.essid, params->ssid, length); in rndis_join_ibss()
[all …]
Dray_cs.c130 static char *essid; variable
166 module_param(essid, charp, 0);
633 if (essid != NULL) in init_startup_params()
634 strncpy(local->sparm.b4.a_current_ess_id, essid, ESSID_SIZE); in init_startup_params()
1086 if (wrqu->essid.flags == 0) in ray_set_essid()
1091 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) in ray_set_essid()
1096 memcpy(local->sparm.b5.a_current_ess_id, extra, wrqu->essid.length); in ray_set_essid()
1117 wrqu->essid.length = strlen(tmp); in ray_get_essid()
1118 wrqu->essid.flags = 1; /* active */ in ray_get_essid()
2724 essid = proc_essid; in ray_cs_essid_proc_write()
Dwl3501.h239 u8 essid[IW_ESSID_MAX_SIZE]; member
592 struct iw_mgmt_essid_pset essid; member
/drivers/net/wireless/atmel/
Dat76c50x-usb.h189 u8 essid[32]; member
201 u8 essid[32]; member
210 u8 essid[32]; member
401 u8 essid[IW_ESSID_MAX_SIZE]; member
Dat76c50x-usb.c1356 priv->essid, IW_ESSID_MAX_SIZE, priv->essid, in at76_startup_device()
1403 memcpy(ccfg->current_ssid, priv->essid, IW_ESSID_MAX_SIZE); in at76_startup_device()
1682 memcpy(join.essid, priv->essid, priv->essid_size); in at76_join()
1984 memcpy(scan.essid, ssid, len); in at76_hw_scan()
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c215 wrqu->essid.length = len; in rtllib_wx_get_essid()
217 wrqu->essid.flags = 1; in rtllib_wx_get_essid()
454 len = min_t(__u16, wrqu->essid.length, IW_ESSID_MAX_SIZE); in rtllib_wx_set_essid()
477 if (wrqu->essid.flags && wrqu->essid.length) { in rtllib_wx_set_essid()
Drtllib.h1843 static inline int rtllib_is_empty_essid(const char *essid, int essid_len) in rtllib_is_empty_essid() argument
1846 if (essid_len == 1 && essid[0] == ' ') in rtllib_is_empty_essid()
1852 if (essid[essid_len] != '\0') in rtllib_is_empty_essid()
2123 static inline const char *escape_essid(const char *essid, u8 essid_len) in escape_essid() argument
2127 if (rtllib_is_empty_essid(essid, essid_len)) { in escape_essid()
2132 snprintf(escaped, sizeof(escaped), "%*pE", essid_len, essid); in escape_essid()
/drivers/net/wireless/zydas/
Dzd1201.c703 static int zd1201_join(struct zd1201 *zd, char *essid, int essidlen) in zd1201_join() argument
719 memcpy(buf+2, essid, essidlen); in zd1201_join()
751 zd1201_join(zd, zd->essid, zd->essidlen); in zd1201_net_open()
890 struct iw_request_info *info, struct iw_point *data, char *essid) in zd1201_config_commit() argument
989 memcpy(buffer+2, zd->essid, zd->essidlen); in zd1201_set_mode()
1201 struct iw_request_info *info, struct iw_point *data, char *essid) in zd1201_set_essid() argument
1210 memset(zd->essid, 0, IW_ESSID_MAX_SIZE+1); in zd1201_set_essid()
1211 memcpy(zd->essid, essid, data->length); in zd1201_set_essid()
1212 return zd1201_join(zd, zd->essid, zd->essidlen); in zd1201_set_essid()
1216 struct iw_request_info *info, struct iw_point *data, char *essid) in zd1201_get_essid() argument
[all …]
Dzd1201.h42 char essid[IW_ESSID_MAX_SIZE+1]; member
/drivers/net/wireless/intersil/orinoco/
Dhermes.h269 u8 essid[32]; /* ESSID of the network */ member
286 u8 essid[32]; /* ESSID of the network */ member
300 u8 essid[32]; /* ESSID of the network */ member
Dscan.c95 memcpy(&ie_buf[2], bss->a.essid, len); in orinoco_add_hostscan_result()
/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c1989 char essid[IW_ESSID_MAX_SIZE]; in isr_indicate_associated() local
2004 essid, &essid_len); in isr_indicate_associated()
2056 priv->net_dev->name, essid_len, essid, in isr_indicate_associated()
2062 memcpy(priv->essid, essid, priv->essid_len); in isr_indicate_associated()
2073 static int ipw2100_set_essid(struct ipw2100_priv *priv, char *essid, in ipw2100_set_essid() argument
2084 IPW_DEBUG_HC("SSID: '%*pE'\n", ssid_len, essid); in ipw2100_set_essid()
2087 memcpy(cmd.host_command_parameters, essid, ssid_len); in ipw2100_set_essid()
2110 memset(priv->essid + ssid_len, 0, IW_ESSID_MAX_SIZE - ssid_len); in ipw2100_set_essid()
2111 memcpy(priv->essid, essid, ssid_len); in ipw2100_set_essid()
2126 "disassociated: '%*pE' %pM\n", priv->essid_len, priv->essid, in isr_indicate_association_lost()
[all …]
Dipw2200.c4488 priv->essid_len, priv->essid, in ipw_rx_notification()
4564 priv->essid, in ipw_rx_notification()
4583 priv->essid_len, priv->essid, in ipw_rx_notification()
4610 priv->essid_len, priv->essid, in ipw_rx_notification()
4647 priv->essid_len, priv->essid, in ipw_rx_notification()
4665 priv->essid_len, priv->essid, in ipw_rx_notification()
5512 memcmp(network->ssid, priv->essid, in ipw_find_adhoc_network()
5517 priv->essid); in ipw_find_adhoc_network()
5645 priv->essid_len, priv->essid); in ipw_merge_adhoc_network()
5690 memcmp(network->ssid, priv->essid, in ipw_best_network()
[all …]
Dipw2100.h483 u8 essid[IW_ESSID_MAX_SIZE]; member
/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c64 static char essid[33] = "test"; variable
65 module_param_string(essid, essid, sizeof(essid), 0444);
66 MODULE_PARM_DESC(essid, "Host AP's ESSID");
1081 if (local->iw_mode != IW_MODE_MASTER || local->essid[0] != '\0') { in prism2_setup_rids()
1083 local->essid); in prism2_setup_rids()
1148 local->essid); in prism2_setup_rids()
3131 len = strlen(essid); in prism2_init_local_data()
3132 memcpy(local->essid, essid, in prism2_init_local_data()
3134 local->essid[MAX_SSID_LEN] = '\0'; in prism2_init_local_data()
Dhostap_ioctl.c899 memcpy(local->essid, ssid, data->length); in prism2_ioctl_siwessid()
900 local->essid[data->length] = '\0'; in prism2_ioctl_siwessid()
903 hostap_set_string(dev, HFA384X_RID_CNFDESIREDSSID, local->essid)) in prism2_ioctl_siwessid()
904 || hostap_set_string(dev, HFA384X_RID_CNFOWNSSID, local->essid) || in prism2_ioctl_siwessid()
913 struct iw_point *data, char *essid) in prism2_ioctl_giwessid() argument
927 data->length = strlen(local->essid); in prism2_ioctl_giwessid()
928 memcpy(essid, local->essid, IW_ESSID_MAX_SIZE); in prism2_ioctl_giwessid()
940 memcpy(essid, ssid + 2, IW_ESSID_MAX_SIZE); in prism2_ioctl_giwessid()
1146 if (*mode == IW_MODE_MASTER && local->essid[0] == '\0') { in prism2_ioctl_siwmode()
1739 ssid = req->essid; in prism2_ioctl_siwscan()
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c1155 memcpy(ssid.Ssid, req->essid, len); in r8711_wx_set_scan()
1249 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) in r8711_wx_set_essid()
1252 if (wrqu->essid.flags && wrqu->essid.length) { in r8711_wx_set_essid()
1253 len = (wrqu->essid.length < IW_ESSID_MAX_SIZE) ? in r8711_wx_set_essid()
1254 wrqu->essid.length : IW_ESSID_MAX_SIZE; in r8711_wx_set_essid()
1305 wrqu->essid.length = len; in r8711_wx_get_essid()
1307 wrqu->essid.flags = 1; in r8711_wx_get_essid()
/drivers/staging/ks7010/
Dks_wlan_net.c250 if (!dwrq->essid.flags) { in ks_wlan_set_essid()
255 len = dwrq->essid.length; in ks_wlan_set_essid()
297 dwrq->essid.length = priv->reg.ssid.size; in ks_wlan_get_essid()
298 dwrq->essid.flags = 1; /* active */ in ks_wlan_get_essid()
300 dwrq->essid.length = 0; in ks_wlan_get_essid()
301 dwrq->essid.flags = 0; /* ANY */ in ks_wlan_get_essid()
1135 memcpy(priv->scan_ssid, req->essid, len); in ks_wlan_set_scan()
/drivers/staging/r8188eu/core/
Drtw_ieee80211.c1300 int ieee80211_is_empty_essid(const char *essid, int essid_len) in ieee80211_is_empty_essid() argument
1303 if (essid_len == 1 && essid[0] == ' ') in ieee80211_is_empty_essid()
1309 if (essid[essid_len] != '\0') in ieee80211_is_empty_essid()
/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c1218 memcpy(ssid[0].Ssid, req->essid, len); in rtw_wx_set_scan()
1221 DBG_88E("IW_SCAN_THIS_ESSID, ssid =%s, len =%d\n", req->essid, req->essid_len); in rtw_wx_set_scan()
1398 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { in rtw_wx_set_essid()
1410 if (wrqu->essid.flags && wrqu->essid.length) { in rtw_wx_set_essid()
1411 len = (wrqu->essid.length < IW_ESSID_MAX_SIZE) ? wrqu->essid.length : IW_ESSID_MAX_SIZE; in rtw_wx_set_essid()
1413 if (wrqu->essid.length != 33) in rtw_wx_set_essid()
1414 DBG_88E("ssid =%s, len =%d\n", extra, wrqu->essid.length); in rtw_wx_set_essid()
1483 wrqu->essid.length = len; in rtw_wx_get_essid()
1484 wrqu->essid.flags = 1; in rtw_wx_get_essid()

12