/linux-6.12.1/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 331 const u8 *ssid, size_t ssid_len, in wlcore_scan() argument 347 if (ssid_len && ssid) { in wlcore_scan() 348 wl->scan.ssid_len = ssid_len; in wlcore_scan() 349 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan() 351 wl->scan.ssid_len = 0; in wlcore_scan() 382 if (sets[i].ssid.ssid_len > 0) in wlcore_scan_sched_scan_ssid_list() 388 (req->n_ssids == 1 && req->ssids[0].ssid_len == 0))) { in wlcore_scan_sched_scan_ssid_list() 405 cmd->ssids[cmd->n_ssids].type = (ssids[i].ssid_len) ? in wlcore_scan_sched_scan_ssid_list() 407 cmd->ssids[cmd->n_ssids].len = ssids[i].ssid_len; in wlcore_scan_sched_scan_ssid_list() 409 ssids[i].ssid_len); in wlcore_scan_sched_scan_ssid_list() [all …]
|
D | scan.h | 16 const u8 *ssid, size_t ssid_len, 19 const u8 *ssid, size_t ssid_len,
|
D | cmd.c | 536 cmd->sta.ssid_len = wlvif->ssid_len; in wl12xx_cmd_role_start_sta() 537 memcpy(cmd->sta.ssid, wlvif->ssid, wlvif->ssid_len); in wl12xx_cmd_role_start_sta() 638 if (wlvif->ssid_len == 0 && !bss_conf->hidden_ssid) { in wl12xx_cmd_role_start_ap() 683 cmd->ap.ssid_len = wlvif->ssid_len; in wl12xx_cmd_role_start_ap() 684 memcpy(cmd->ap.ssid, wlvif->ssid, wlvif->ssid_len); in wl12xx_cmd_role_start_ap() 687 cmd->ap.ssid_len = vif->cfg.ssid_len; in wl12xx_cmd_role_start_ap() 688 memcpy(cmd->ap.ssid, vif->cfg.ssid, vif->cfg.ssid_len); in wl12xx_cmd_role_start_ap() 789 cmd->ibss.ssid_len = wlvif->ssid_len; in wl12xx_cmd_role_start_ibss() 790 memcpy(cmd->ibss.ssid, wlvif->ssid, wlvif->ssid_len); in wl12xx_cmd_role_start_ibss() 1144 const u8 *ssid, size_t ssid_len, in wl12xx_cmd_build_probe_req() argument [all …]
|
/linux-6.12.1/net/wireless/ |
D | ibss.c | 31 if (!wdev->u.ibss.ssid_len) in __cfg80211_ibss_joined() 100 if (wdev->u.ibss.ssid_len) in __cfg80211_join_ibss() 150 memcpy(wdev->u.ibss.ssid, params->ssid, params->ssid_len); in __cfg80211_join_ibss() 151 wdev->u.ibss.ssid_len = params->ssid_len; in __cfg80211_join_ibss() 183 wdev->u.ibss.ssid_len = 0; in cfg80211_clear_ibss() 187 wdev->wext.ibss.ssid_len = 0; in cfg80211_clear_ibss() 200 if (!wdev->u.ibss.ssid_len) in cfg80211_leave_ibss() 261 if (!wdev->wext.ibss.ssid_len) in cfg80211_ibss_wext_join() 320 if (wdev->u.ibss.ssid_len) in cfg80211_ibss_wext_siwfreq() 381 if (wdev->u.ibss.ssid_len) in cfg80211_ibss_wext_siwessid() [all …]
|
D | sme.c | 123 wdev->conn->params.ssid_len); in cfg80211_conn_scan() 124 request->ssids[0].ssid_len = wdev->conn->params.ssid_len; in cfg80211_conn_scan() 178 params->ssid, params->ssid_len, in cfg80211_conn_do_work() 207 params->ssid, params->ssid_len, in cfg80211_conn_do_work() 306 wdev->conn->params.ssid_len, in cfg80211_get_conn_bss() 607 wdev->conn->params.ssid_len = wdev->u.client.ssid_len; in cfg80211_sme_connect() 613 wdev->conn->params.ssid_len, in cfg80211_sme_connect() 824 wdev->u.client.ssid_len, in __cfg80211_connect_result() 840 wdev->u.client.ssid_len = 0; in __cfg80211_connect_result() 902 if (!wdev->u.client.ssid_len) { in __cfg80211_connect_result() [all …]
|
D | wext-sme.c | 43 if (!wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_connect() 97 if (wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_siwfreq() 162 len == wdev->wext.connect.ssid_len && in cfg80211_mgd_wext_siwessid() 178 wdev->wext.connect.ssid_len = len; in cfg80211_mgd_wext_siwessid() 219 } else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) { in cfg80211_mgd_wext_giwessid() 221 data->length = wdev->wext.connect.ssid_len; in cfg80211_mgd_wext_giwessid()
|
/linux-6.12.1/drivers/net/wireless/ti/wl18xx/ |
D | scan.c | 93 cmd->ssid_len = req->ssids[0].ssid_len; in wl18xx_scan_send() 94 memcpy(cmd->ssid, req->ssids[0].ssid, cmd->ssid_len); in wl18xx_scan_send() 103 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_send() 120 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_send() 246 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_sched_scan_config() 263 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_sched_scan_config()
|
D | event.c | 80 u8 ssid_len, u8 *ssid, in wlcore_smart_config_decode_event() argument 86 wl1271_dump_ascii(DEBUG_EVENT, "SSID:", ssid, ssid_len); in wlcore_smart_config_decode_event() 89 ssid_len + pwd_len + 20, in wlcore_smart_config_decode_event() 93 if (nla_put(skb, WLCORE_VENDOR_ATTR_SSID, ssid_len, ssid) || in wlcore_smart_config_decode_event()
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | wow.c | 177 u8 ssid_len; in ath10k_wmi_pno_check() local 192 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath10k_wmi_pno_check() 194 if (ssid_len == 0 || ssid_len > 32) in ath10k_wmi_pno_check() 197 pno->a_networks[i].ssid.ssid_len = __cpu_to_le32(ssid_len); in ath10k_wmi_pno_check() 201 nd_config->match_sets[i].ssid.ssid_len); in ath10k_wmi_pno_check() 225 if (__le32_to_cpu(pno->a_networks[j].ssid.ssid_len) == in ath10k_wmi_pno_check() 226 nd_config->ssids[i].ssid_len && in ath10k_wmi_pno_check() 229 __le32_to_cpu(pno->a_networks[j].ssid.ssid_len)) == 0)) { in ath10k_wmi_pno_check()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 563 u8 ssid_len, int left) in iwl_fill_probe_req() argument 586 left -= ssid_len + 2; in iwl_fill_probe_req() 590 *pos++ = ssid_len; in iwl_fill_probe_req() 591 if (ssid && ssid_len) { in iwl_fill_probe_req() 592 memcpy(pos, ssid, ssid_len); in iwl_fill_probe_req() 593 pos += ssid_len; in iwl_fill_probe_req() 596 len += ssid_len + 2; in iwl_fill_probe_req() 633 u8 ssid_len = 0; in iwlagn_request_scan() local 712 ssid_len = priv->scan_request->ssids[0].ssid_len; in iwlagn_request_scan() 722 priv->scan_request->ssids[i].ssid_len; in iwlagn_request_scan() [all …]
|
/linux-6.12.1/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 1918 network->ssid_len = min(info_element->len, in rtllib_parse_info_param() 1921 network->ssid_len); in rtllib_parse_info_param() 1922 if (network->ssid_len < IW_ESSID_MAX_SIZE) in rtllib_parse_info_param() 1923 memset(network->ssid + network->ssid_len, 0, in rtllib_parse_info_param() 1924 IW_ESSID_MAX_SIZE - network->ssid_len); in rtllib_parse_info_param() 1927 network->ssid, network->ssid_len); in rtllib_parse_info_param() 2163 network->ssid_len = 0; in rtllib_network_init() 2207 escape_essid(network->ssid, network->ssid_len), in rtllib_network_init() 2216 if (rtllib_is_empty_essid(network->ssid, network->ssid_len)) in rtllib_network_init() 2234 return (((src->ssid_len == dst->ssid_len) || (!ssidbroad)) && in is_same_network() [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 138 if (wl->scan.ssid_len) { in wl1271_scan_send() 139 cmd->params.ssid_len = wl->scan.ssid_len; in wl1271_scan_send() 140 memcpy(cmd->params.ssid, wl->scan.ssid, wl->scan.ssid_len); in wl1271_scan_send() 147 wl->scan.ssid, wl->scan.ssid_len, in wl1271_scan_send() 342 cfg->ssid_len = 0; in wl1271_scan_sched_scan_config() 371 req->ssids[0].ssid_len, in wl1271_scan_sched_scan_config() 388 req->ssids[0].ssid_len, in wl1271_scan_sched_scan_config()
|
D | scan.h | 27 u8 ssid_len; member 83 u8 ssid_len; /* For SCAN_SSID_FILTER_SPECIFIC */ member
|
/linux-6.12.1/net/mac80211/ |
D | ibss.c | 88 *pos++ = ifibss->ssid_len; in ieee80211_ibss_build_presp() 89 memcpy(pos, ifibss->ssid, ifibss->ssid_len); in ieee80211_ibss_build_presp() 90 pos += ifibss->ssid_len; in ieee80211_ibss_build_presp() 321 sdata->vif.cfg.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss() 322 memcpy(sdata->vif.cfg.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss() 360 sdata->vif.cfg.ssid_len = 0; in __ieee80211_sta_join_ibss() 485 ifibss->ssid_len, IEEE80211_BSS_TYPE_IBSS, in ieee80211_ibss_csa_beacon() 531 ifibss->ssid_len, in ieee80211_ibss_finish_csa() 673 ifibss->ssid_len, in ieee80211_ibss_disconnect() 704 sdata->vif.cfg.ssid_len = 0; in ieee80211_ibss_disconnect() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | wow.c | 247 u8 ssid_len; in ath11k_wmi_pno_check_and_convert() local 262 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath11k_wmi_pno_check_and_convert() 264 if (ssid_len == 0 || ssid_len > 32) in ath11k_wmi_pno_check_and_convert() 267 pno->a_networks[i].ssid.ssid_len = ssid_len; in ath11k_wmi_pno_check_and_convert() 271 nd_config->match_sets[i].ssid.ssid_len); in ath11k_wmi_pno_check_and_convert() 295 if (pno->a_networks[j].ssid.ssid_len == in ath11k_wmi_pno_check_and_convert() 296 nd_config->ssids[i].ssid_len && in ath11k_wmi_pno_check_and_convert() 299 pno->a_networks[j].ssid.ssid_len) == 0)) { in ath11k_wmi_pno_check_and_convert()
|
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 517 vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 518 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 530 } else if (vif->ssid_len == sme->ssid_len && in ath6kl_cfg80211_connect() 531 !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { in ath6kl_cfg80211_connect() 536 vif->ssid_len = sme->ssid_len; in ath6kl_cfg80211_connect() 537 memcpy(vif->ssid, sme->ssid, sme->ssid_len); in ath6kl_cfg80211_connect() 638 vif->ssid_len, vif->ssid, in ath6kl_cfg80211_connect() 657 vif->ssid_len = 0; in ath6kl_cfg80211_connect() 701 vif->ssid, vif->ssid_len, in ath6kl_add_bss_if_needed() 712 ie = kmalloc(2 + vif->ssid_len + beacon_ie_len, GFP_KERNEL); in ath6kl_add_bss_if_needed() [all …]
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 165 static int lbs_add_ssid_tlv(u8 *tlv, const u8 *ssid, int ssid_len) in lbs_add_ssid_tlv() argument 175 ssid_tlv->header.len = cpu_to_le16(ssid_len); in lbs_add_ssid_tlv() 176 memcpy(ssid_tlv->ssid, ssid, ssid_len); in lbs_add_ssid_tlv() 177 return sizeof(ssid_tlv->header) + ssid_len; in lbs_add_ssid_tlv() 629 u8 ssid_len = 0; in lbs_ret_scan() local 669 ssid_len = elen; in lbs_ret_scan() 684 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan() 752 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker() 755 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker() 1312 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req() [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 1115 network->ssid_len = min(info_element->len, in libipw_parse_info_param() 1118 network->ssid_len); in libipw_parse_info_param() 1119 if (network->ssid_len < IW_ESSID_MAX_SIZE) in libipw_parse_info_param() 1120 memset(network->ssid + network->ssid_len, 0, in libipw_parse_info_param() 1121 IW_ESSID_MAX_SIZE - network->ssid_len); in libipw_parse_info_param() 1124 network->ssid_len, network->ssid, in libipw_parse_info_param() 1125 network->ssid_len); in libipw_parse_info_param() 1319 network->ssid_len = 0; in libipw_handle_assoc_resp() 1377 network->ssid_len = 0; in libipw_network_init() 1408 network->ssid_len, network->ssid, in libipw_network_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pno.c | 211 pfn.ssid.SSID_len = cpu_to_le32(ssid->ssid_len); in brcmf_pno_add_ssid() 212 memcpy(pfn.ssid.SSID, ssid->ssid, ssid->ssid_len); in brcmf_pno_add_ssid() 247 if (ssid->ssid_len == req->ssids[i].ssid_len) { in brcmf_is_ssid_active() 249 ssid->ssid_len)) in brcmf_is_ssid_active() 376 if (ms->ssid.ssid_len) { in brcmf_pno_config_networks() 581 if (ms->ssid.ssid_len == ni->SSID_len && in brcmf_pno_get_bucket_map()
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | wow.c | 269 u8 ssid_len; in ath12k_wow_pno_check_and_convert() local 284 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath12k_wow_pno_check_and_convert() 286 if (ssid_len == 0 || ssid_len > 32) in ath12k_wow_pno_check_and_convert() 289 pno->a_networks[i].ssid.ssid_len = ssid_len; in ath12k_wow_pno_check_and_convert() 293 ssid_len); in ath12k_wow_pno_check_and_convert() 316 if (pno->a_networks[j].ssid.ssid_len == in ath12k_wow_pno_check_and_convert() 317 nd_config->ssids[i].ssid_len && in ath12k_wow_pno_check_and_convert() 320 pno->a_networks[j].ssid.ssid_len)) { in ath12k_wow_pno_check_and_convert()
|
/linux-6.12.1/drivers/net/wireless/silabs/wfx/ |
D | hif_tx.c | 281 body->ssid_def[i].ssid_length = cpu_to_le32(req->ssids[i].ssid_len); in wfx_hif_scan() 326 struct ieee80211_channel *channel, const u8 *ssid, int ssid_len) in wfx_hif_join() argument 336 WARN_ON(sizeof(body->ssid) < ssid_len); in wfx_hif_join() 337 WARN(!vif->cfg.ibss_joined && !ssid_len, "joining an unknown BSS"); in wfx_hif_join() 348 body->ssid_length = cpu_to_le32(ssid_len); in wfx_hif_join() 349 memcpy(body->ssid, ssid, ssid_len); in wfx_hif_join() 479 body->ssid_length = vif->cfg.ssid_len; in wfx_hif_start() 480 memcpy(body->ssid, vif->cfg.ssid, vif->cfg.ssid_len); in wfx_hif_start()
|
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/ |
D | event.c | 192 if (!vif->wdev.u.client.ssid_len) { in qtnf_event_handle_bss_join() 200 ie = kzalloc(2 + vif->wdev.u.client.ssid_len, GFP_KERNEL); in qtnf_event_handle_bss_join() 210 ie[1] = vif->wdev.u.client.ssid_len; in qtnf_event_handle_bss_join() 212 vif->wdev.u.client.ssid_len); in qtnf_event_handle_bss_join() 218 ie, 2 + vif->wdev.u.client.ssid_len, in qtnf_event_handle_bss_join() 573 if (ev->ssid_len) { in qtnf_event_handle_external_auth() 574 int len = clamp_val(ev->ssid_len, 0, IEEE80211_MAX_SSID_LEN); in qtnf_event_handle_external_auth() 577 auth.ssid.ssid_len = len; in qtnf_event_handle_external_auth()
|
/linux-6.12.1/drivers/net/wireless/ti/wl1251/ |
D | cmd.h | 33 int wl1251_cmd_scan(struct wl1251 *wl, u8 *ssid, size_t ssid_len, 189 u8 ssid_len; member 261 u8 ssid_len; member
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
D | join.c | 417 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate() 916 if (req_ssid->ssid_len > IEEE80211_MAX_SSID_LEN) in mwifiex_cmd_802_11_ad_hoc_start() 917 req_ssid->ssid_len = IEEE80211_MAX_SSID_LEN; in mwifiex_cmd_802_11_ad_hoc_start() 918 memcpy(adhoc_start->ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start() 924 memcpy(bss_desc->ssid.ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start() 926 bss_desc->ssid.ssid_len = req_ssid->ssid_len; in mwifiex_cmd_802_11_ad_hoc_start() 1201 &bss_desc->ssid.ssid, bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_ad_hoc_join() 1470 priv->curr_bss_params.bss_descriptor.ssid.ssid_len); in mwifiex_adhoc_join() 1474 bss_desc->ssid.ssid_len); in mwifiex_adhoc_join() 1477 if (priv->curr_bss_params.bss_descriptor.ssid.ssid_len && in mwifiex_adhoc_join()
|
/linux-6.12.1/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 961 request->ssids[i].ssid_len, true); in wil_cfg80211_scan() 965 rc = wmi_set_ssid(vif, request->ssids[0].ssid_len, in wil_cfg80211_scan() 1115 16, 1, sme->ssid, sme->ssid_len, true); in wil_print_connect_params() 1260 sme->ssid, sme->ssid_len, in wil_cfg80211_connect() 1351 conn.ssid_len = min_t(u8, ssid_eid[1], 32); in wil_cfg80211_connect() 1352 memcpy(conn.ssid, ssid_eid+2, conn.ssid_len); in wil_cfg80211_connect() 1930 const u8 *ssid, size_t ssid_len, u32 privacy, in _wil_cfg80211_start_ap() argument 1984 rc = wmi_set_ssid(vif, ssid_len, ssid); in _wil_cfg80211_start_ap() 1998 memcpy(vif->ssid, ssid, ssid_len); in _wil_cfg80211_start_ap() 1999 vif->ssid_len = ssid_len; in _wil_cfg80211_start_ap() [all …]
|