Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c51 u8 *essid, size_t essid_len);
383 u8 *essid = NULL; in gelic_wl_set_scan() local
389 essid = req->essid; in gelic_wl_set_scan()
391 pr_debug("%s: ESSID scan =%s\n", __func__, essid); in gelic_wl_set_scan()
393 return gelic_wl_start_scan(wl, 1, essid, essid_len); in gelic_wl_set_scan()
598 iwe.u.data.length = strnlen(scan->essid, 32); in gelic_wl_translate_scan()
599 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan()
644 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan()
776 pr_debug("essid=%s\n", scan_info->hwinfo->essid); in scan_list_dump()
967 data->essid.length, data->essid.flags); in gelic_wl_set_essid()
[all …]
Dps3_gelic_wireless.h166 u8 essid[32]; /* IW_ESSID_MAX_SIZE */ member
286 u8 essid[IW_ESSID_MAX_SIZE]; member
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c205 wrqu->essid.length = len; in ieee80211_wx_get_essid()
207 wrqu->essid.flags = 1; in ieee80211_wx_get_essid()
398 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { in ieee80211_wx_set_essid()
417 if (wrqu->essid.flags && wrqu->essid.length) { in ieee80211_wx_set_essid()
419 len = ((wrqu->essid.length-1) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length-1) : IW_ESSID_MAX_SIZE; in ieee80211_wx_set_essid()
Dieee80211.h2065 static inline int ieee80211_is_empty_essid(const char *essid, int essid_len) in ieee80211_is_empty_essid() argument
2068 if (essid_len == 1 && essid[0] == ' ') in ieee80211_is_empty_essid()
2074 if (essid[essid_len] != '\0') in ieee80211_is_empty_essid()
2429 static inline const char *escape_essid(const char *essid, u8 essid_len) { in escape_essid() argument
2432 if (ieee80211_is_empty_essid(essid, essid_len)) { in escape_essid()
2437 snprintf(escaped, sizeof(escaped), "%*pEn", essid_len, essid); in escape_essid()
/drivers/net/wireless/
Dwl3501_cs.c652 iw_copy_mgmt_info_element(&sig.ssid.el, &this->essid.el); in wl3501_mgmt_start()
653 iw_copy_mgmt_info_element(&this->keep_essid.el, &this->essid.el); in wl3501_mgmt_start()
672 if (!this->essid.el.len) in wl3501_mgmt_scan_confirm()
674 else if (this->essid.el.len == 3 && in wl3501_mgmt_scan_confirm()
675 !memcmp(this->essid.essid, "ANY", 3)) in wl3501_mgmt_scan_confirm()
677 else if (this->essid.el.len != sig.ssid.el.len) in wl3501_mgmt_scan_confirm()
679 else if (memcmp(this->essid.essid, sig.ssid.essid, in wl3501_mgmt_scan_confirm()
680 this->essid.el.len)) in wl3501_mgmt_scan_confirm()
1587 this->bss_set[i].ssid.essid); in wl3501_get_scan()
1623 &this->essid.el, in wl3501_set_essid()
[all …]
Drndis_wlan.c231 u8 essid[NDIS_802_11_LENGTH_SSID]; member
1095 ssid.length = cpu_to_le32(sizeof(ssid.essid)); in disassociate()
1096 get_random_bytes(&ssid.essid[2], sizeof(ssid.essid)-2); in disassociate()
1097 ssid.essid[0] = 0x1; in disassociate()
1098 ssid.essid[1] = 0xff; in disassociate()
1099 for (i = 2; i < sizeof(ssid.essid); i++) in disassociate()
1100 ssid.essid[i] = 0x1 + (ssid.essid[i] * 0xfe / 0xff); in disassociate()
1996 bssid->ssid.essid, bssid->mac, le32_to_cpu(bssid->length)); in rndis_bss_info_update()
2257 memcpy(ssid.essid, sme->ssid, length); in rndis_connect()
2371 memcpy(ssid.essid, params->ssid, length); in rndis_join_ibss()
[all …]
Dray_cs.c143 static char *essid; variable
179 module_param(essid, charp, 0);
639 if (essid != NULL) in init_startup_params()
640 strncpy(local->sparm.b4.a_current_ess_id, essid, ESSID_SIZE); in init_startup_params()
1088 if (wrqu->essid.flags == 0) in ray_set_essid()
1093 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) in ray_set_essid()
1098 memcpy(local->sparm.b5.a_current_ess_id, extra, wrqu->essid.length); in ray_set_essid()
1119 wrqu->essid.length = strlen(tmp); in ray_get_essid()
1120 wrqu->essid.flags = 1; /* active */ in ray_get_essid()
2748 essid = proc_essid; in ray_cs_essid_proc_write()
Dwl3501.h239 u8 essid[IW_ESSID_MAX_SIZE]; member
593 struct iw_mgmt_essid_pset essid; member
/drivers/net/wireless/atmel/
Dat76c50x-usb.h193 u8 essid[32]; member
205 u8 essid[32]; member
214 u8 essid[32]; member
405 u8 essid[IW_ESSID_MAX_SIZE]; member
Dat76c50x-usb.c1362 priv->essid, IW_ESSID_MAX_SIZE, priv->essid, in at76_startup_device()
1409 memcpy(ccfg->current_ssid, priv->essid, IW_ESSID_MAX_SIZE); in at76_startup_device()
1688 memcpy(join.essid, priv->essid, priv->essid_size); in at76_join()
1990 memcpy(scan.essid, ssid, len); in at76_hw_scan()
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c218 wrqu->essid.length = len; in rtllib_wx_get_essid()
220 wrqu->essid.flags = 1; in rtllib_wx_get_essid()
457 len = min_t(__u16, wrqu->essid.length, IW_ESSID_MAX_SIZE); in rtllib_wx_set_essid()
480 if (wrqu->essid.flags && wrqu->essid.length) { in rtllib_wx_set_essid()
Drtllib.h1848 static inline int rtllib_is_empty_essid(const char *essid, int essid_len) in rtllib_is_empty_essid() argument
1851 if (essid_len == 1 && essid[0] == ' ') in rtllib_is_empty_essid()
1857 if (essid[essid_len] != '\0') in rtllib_is_empty_essid()
2130 static inline const char *escape_essid(const char *essid, u8 essid_len) in escape_essid() argument
2134 if (rtllib_is_empty_essid(essid, essid_len)) { in escape_essid()
2139 snprintf(escaped, sizeof(escaped), "%*pEn", essid_len, essid); in escape_essid()
/drivers/net/wireless/zydas/
Dzd1201.c707 static int zd1201_join(struct zd1201 *zd, char *essid, int essidlen) in zd1201_join() argument
723 memcpy(buf+2, essid, essidlen); in zd1201_join()
755 zd1201_join(zd, zd->essid, zd->essidlen); in zd1201_net_open()
894 struct iw_request_info *info, struct iw_point *data, char *essid) in zd1201_config_commit() argument
992 memcpy(buffer+2, zd->essid, zd->essidlen); in zd1201_set_mode()
1204 struct iw_request_info *info, struct iw_point *data, char *essid) in zd1201_set_essid() argument
1213 memset(zd->essid, 0, IW_ESSID_MAX_SIZE+1); in zd1201_set_essid()
1214 memcpy(zd->essid, essid, data->length); in zd1201_set_essid()
1215 return zd1201_join(zd, zd->essid, zd->essidlen); in zd1201_set_essid()
1219 struct iw_request_info *info, struct iw_point *data, char *essid) in zd1201_get_essid() argument
[all …]
Dzd1201.h45 char essid[IW_ESSID_MAX_SIZE+1]; member
/drivers/net/wireless/intersil/orinoco/
Dhermes.h270 u8 essid[32]; /* ESSID of the network */ member
287 u8 essid[32]; /* ESSID of the network */ member
301 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/intersil/prism54/
Disl_ioctl.c739 struct obj_ssid essid; in prism54_set_essid() local
741 memset(essid.octets, 0, 33); in prism54_set_essid()
747 essid.length = dwrq->length; in prism54_set_essid()
748 memcpy(essid.octets, extra, dwrq->length); in prism54_set_essid()
750 essid.length = 0; in prism54_set_essid()
753 return mgt_set_request(priv, DOT11_OID_SSID, 0, &essid); in prism54_set_essid()
756 mgt_set(priv, DOT11_OID_SSID, &essid); in prism54_set_essid()
766 struct obj_ssid *essid; in prism54_get_essid() local
771 essid = r.ptr; in prism54_get_essid()
773 if (essid->length) { in prism54_get_essid()
[all …]
/drivers/staging/rtl8712/
Dieee80211.h698 static inline int ieee80211_is_empty_essid(const char *essid, int essid_len) in ieee80211_is_empty_essid() argument
701 if (essid_len == 1 && essid[0] == ' ') in ieee80211_is_empty_essid()
706 if (essid[essid_len] != '\0') in ieee80211_is_empty_essid()
Drtl871x_ioctl_linux.c1160 memcpy(ssid.Ssid, req->essid, len); in r8711_wx_set_scan()
1254 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) in r8711_wx_set_essid()
1257 if (wrqu->essid.flags && wrqu->essid.length) { in r8711_wx_set_essid()
1258 len = (wrqu->essid.length < IW_ESSID_MAX_SIZE) ? in r8711_wx_set_essid()
1259 wrqu->essid.length : IW_ESSID_MAX_SIZE; in r8711_wx_set_essid()
1310 wrqu->essid.length = len; in r8711_wx_get_essid()
1312 wrqu->essid.flags = 1; in r8711_wx_get_essid()
/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c2003 char essid[IW_ESSID_MAX_SIZE]; in isr_indicate_associated() local
2018 essid, &essid_len); in isr_indicate_associated()
2070 priv->net_dev->name, essid_len, essid, in isr_indicate_associated()
2076 memcpy(priv->essid, essid, priv->essid_len); in isr_indicate_associated()
2087 static int ipw2100_set_essid(struct ipw2100_priv *priv, char *essid, in ipw2100_set_essid() argument
2098 IPW_DEBUG_HC("SSID: '%*pE'\n", ssid_len, essid); in ipw2100_set_essid()
2101 memcpy(cmd.host_command_parameters, essid, ssid_len); in ipw2100_set_essid()
2124 memset(priv->essid + ssid_len, 0, IW_ESSID_MAX_SIZE - ssid_len); in ipw2100_set_essid()
2125 memcpy(priv->essid, essid, ssid_len); in ipw2100_set_essid()
2140 "disassociated: '%*pE' %pM\n", priv->essid_len, priv->essid, in isr_indicate_association_lost()
[all …]
Dipw2200.c4509 priv->essid_len, priv->essid, in ipw_rx_notification()
4585 priv->essid, in ipw_rx_notification()
4604 priv->essid_len, priv->essid, in ipw_rx_notification()
4631 priv->essid_len, priv->essid, in ipw_rx_notification()
4668 priv->essid_len, priv->essid, in ipw_rx_notification()
4686 priv->essid_len, priv->essid, in ipw_rx_notification()
5532 memcmp(network->ssid, priv->essid, in ipw_find_adhoc_network()
5537 priv->essid); in ipw_find_adhoc_network()
5665 priv->essid_len, priv->essid); in ipw_merge_adhoc_network()
5710 memcmp(network->ssid, priv->essid, in ipw_best_network()
[all …]
/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c68 static char essid[33] = "test"; variable
69 module_param_string(essid, essid, sizeof(essid), 0444);
70 MODULE_PARM_DESC(essid, "Host AP's ESSID");
1098 if (local->iw_mode != IW_MODE_MASTER || local->essid[0] != '\0') { in prism2_setup_rids()
1100 local->essid); in prism2_setup_rids()
1165 local->essid); in prism2_setup_rids()
3164 len = strlen(essid); in prism2_init_local_data()
3165 memcpy(local->essid, essid, in prism2_init_local_data()
3167 local->essid[MAX_SSID_LEN] = '\0'; in prism2_init_local_data()
Dhostap_ioctl.c910 memcpy(local->essid, ssid, data->length); in prism2_ioctl_siwessid()
911 local->essid[data->length] = '\0'; in prism2_ioctl_siwessid()
914 hostap_set_string(dev, HFA384X_RID_CNFDESIREDSSID, local->essid)) in prism2_ioctl_siwessid()
915 || hostap_set_string(dev, HFA384X_RID_CNFOWNSSID, local->essid) || in prism2_ioctl_siwessid()
924 struct iw_point *data, char *essid) in prism2_ioctl_giwessid() argument
938 data->length = strlen(local->essid); in prism2_ioctl_giwessid()
939 memcpy(essid, local->essid, IW_ESSID_MAX_SIZE); in prism2_ioctl_giwessid()
951 memcpy(essid, ssid + 2, IW_ESSID_MAX_SIZE); in prism2_ioctl_giwessid()
1157 if (*mode == IW_MODE_MASTER && local->essid[0] == '\0') { in prism2_ioctl_siwmode()
1750 ssid = req->essid; in prism2_ioctl_siwscan()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c1139 memcpy(ssid[0].Ssid, req->essid, len); in rtw_wx_set_scan()
1142 DBG_88E("IW_SCAN_THIS_ESSID, ssid =%s, len =%d\n", req->essid, req->essid_len); in rtw_wx_set_scan()
1307 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { in rtw_wx_set_essid()
1319 if (wrqu->essid.flags && wrqu->essid.length) { in rtw_wx_set_essid()
1320 len = min_t(uint, wrqu->essid.length, IW_ESSID_MAX_SIZE); in rtw_wx_set_essid()
1322 if (wrqu->essid.length != 33) in rtw_wx_set_essid()
1323 DBG_88E("ssid =%s, len =%d\n", extra, wrqu->essid.length); in rtw_wx_set_essid()
1403 wrqu->essid.length = len; in rtw_wx_get_essid()
1404 wrqu->essid.flags = 1; in rtw_wx_get_essid()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c1403 memcpy(ssid[0].Ssid, req->essid, len); in rtw_wx_set_scan()
1406 DBG_871X("IW_SCAN_THIS_ESSID, ssid =%s, len =%d\n", req->essid, req->essid_len); in rtw_wx_set_scan()
1613 if (wrqu->essid.length > IW_ESSID_MAX_SIZE) { in rtw_wx_set_essid()
1625 if (wrqu->essid.flags && wrqu->essid.length) { in rtw_wx_set_essid()
1626 len = (wrqu->essid.length < IW_ESSID_MAX_SIZE) ? wrqu->essid.length : IW_ESSID_MAX_SIZE; in rtw_wx_set_essid()
1628 if (wrqu->essid.length != 33) in rtw_wx_set_essid()
1629 DBG_871X("ssid =%s, len =%d\n", extra, wrqu->essid.length); in rtw_wx_set_essid()
1717 wrqu->essid.length = len; in rtw_wx_get_essid()
1721 wrqu->essid.flags = 1; in rtw_wx_get_essid()

12