Home
last modified time | relevance | path

Searched refs:ssid_len (Results 1 – 21 of 21) sorted by relevance

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_scan.c997 t_u32 ssid_len; in wlan_scan_setup_scan_config() local
1080 ssid_len = wlan_strlen((const char *)puser_scan_in->ssid_list[ssid_idx].ssid); in wlan_scan_setup_scan_config()
1084 …pwildcard_ssid_tlv->header.len = (t_u16)(ssid_len + sizeof(pwildcard_ssid_tlv->max_ssid_lengt… in wlan_scan_setup_scan_config()
1087 if ((ssid_len > 0) && (ssid_len <= MLAN_MAX_SSID_LENGTH)) in wlan_scan_setup_scan_config()
1090 MIN(MLAN_MAX_SSID_LENGTH, ssid_len)); in wlan_scan_setup_scan_config()
1100 if (ssid_len != 0U) in wlan_scan_setup_scan_config()
1104 MIN(MLAN_MAX_SSID_LENGTH, ssid_len)); in wlan_scan_setup_scan_config()
1105 pmpriv->filter_ssid[ssid_idx].ssid_len = ssid_len; in wlan_scan_setup_scan_config()
1640 pbss_entry->ssid.ssid_len = element_len; in wlan_interpret_bss_desc_with_ie()
1851 pbss_entry->trans_ssid.ssid_len = trans_ssid_len; in wlan_interpret_bss_desc_with_ie()
[all …]
Dmlan_11k.c303 if (rep_data->ssid_length > 0U && (rep_data->ssid_length != bss_entry->ssid.ssid_len || in wlan_rrm_matched_ap_found()
304 … memcmp(rep_data->ssid, bss_entry->ssid.ssid, bss_entry->ssid.ssid_len) != 0)) in wlan_rrm_matched_ap_found()
526 if (pos + sizeof(IEEEtypes_Header_t) + bss_entry->ssid.ssid_len - *buf_pos > remained_len) in wlan_add_rm_beacon_report()
532 *pos++ = (t_u8)bss_entry->ssid.ssid_len; in wlan_add_rm_beacon_report()
533 if (bss_entry->ssid.ssid_len > 0U) in wlan_add_rm_beacon_report()
535 (void)memcpy(pos, &(bss_entry->ssid.ssid), bss_entry->ssid.ssid_len); in wlan_add_rm_beacon_report()
536 pos += bss_entry->ssid.ssid_len; in wlan_add_rm_beacon_report()
1027 int wlan_send_mgmt_rm_neighbor_request(mlan_private *pmpriv, t_u8 *ssid, t_u8 ssid_len) in wlan_send_mgmt_rm_neighbor_request() argument
1066 if (ssid_len > (t_u8)0U) in wlan_send_mgmt_rm_neighbor_request()
1069 pos[1] = ssid_len; in wlan_send_mgmt_rm_neighbor_request()
[all …]
Dmlan_api.c2074 int ssid_len = 0; in wifi_send_scan_cmd() local
2096 ssid_len = strlen(tmp_ssid); in wifi_send_scan_cmd()
2097 tmp_ssid += ssid_len; in wifi_send_scan_cmd()
2099 if (ssid_len > MLAN_MAX_SSID_LENGTH) in wifi_send_scan_cmd()
2143 ssid_len = strlen(tmp_ssid); in wifi_send_scan_cmd()
2144 (void)memcpy((void *)user_scan_cfg->ssid_list[i].ssid, (const void *)tmp_ssid, ssid_len); in wifi_send_scan_cmd()
2145 tmp_ssid += ssid_len; in wifi_send_scan_cmd()
2228 (size_t)params->scan_ssids[i].ssid_len); in wifi_send_sched_scan_cmd()
2790 int ssid_len = strlen(ssid); in wifi_send_add_wpa_pmk() local
2791 if (ssid_len > MLAN_MAX_SSID_LENGTH) in wifi_send_add_wpa_pmk()
[all …]
Dmlan_uap_cmdevent.c92 if (bss->param.bss_config.ssid.ssid_len != 0U) in wlan_uap_cmd_ap_config()
96 tlv_ssid->header.len = wlan_cpu_to_le16((t_u16)bss->param.bss_config.ssid.ssid_len); in wlan_uap_cmd_ap_config()
98 bss->param.bss_config.ssid.ssid_len); in wlan_uap_cmd_ap_config()
99 cmd_size += sizeof(MrvlIEtypesHeader_t) + bss->param.bss_config.ssid.ssid_len; in wlan_uap_cmd_ap_config()
100 tlv += sizeof(MrvlIEtypesHeader_t) + bss->param.bss_config.ssid.ssid_len; in wlan_uap_cmd_ap_config()
Dwifi-uap.c393 t_u32 ssid_len = strlen(ssid); in wifi_cmd_uap_config() local
433 bss.param.bss_config.ssid.ssid_len = ssid_len; in wifi_cmd_uap_config()
434 (void)memcpy((void *)bss.param.bss_config.ssid.ssid, (const void *)ssid, ssid_len); in wifi_cmd_uap_config()
3648 if (!params->ssid.ssid_len) in wifi_nxp_beacon_config()
3653 …memcpy(sys_config->ssid.ssid, params->ssid.ssid, MIN(MLAN_MAX_SSID_LENGTH, params->ssid.ssid_len)); in wifi_nxp_beacon_config()
3654 sys_config->ssid.ssid_len = MIN(MLAN_MAX_SSID_LENGTH, params->ssid.ssid_len); in wifi_nxp_beacon_config()
Dmlan_sta_ioctl.c140 if (bss->param.ssid_bssid.ssid.ssid_len != 0U) in wlan_bss_ioctl_start()
943 if (sec->param.passphrase.ssid.ssid_len != 0U) in wlan_sec_ioctl_passphrase()
998 if (sec->param.passphrase.ssid.ssid_len != 0U) in wlan_sec_ioctl_password()
Dmlan_glue.c6609 int *ssid_len, in wrapper_bssdesc_first_set() argument
6646 if (d->ssid.ssid_len <= MLAN_MAX_SSID_LENGTH) in wrapper_bssdesc_first_set()
6648 *ssid_len = (int)d->ssid.ssid_len; in wrapper_bssdesc_first_set()
6649 (void)memcpy((void *)ssid, (const void *)d->ssid.ssid, d->ssid.ssid_len); in wrapper_bssdesc_first_set()
6836 if (d->trans_ssid.ssid_len <= MLAN_MAX_SSID_LENGTH) in wrapper_bssdesc_second_set()
6838 *trans_ssid_len = (int)d->trans_ssid.ssid_len; in wrapper_bssdesc_second_set()
6839 (void)memcpy((void *)trans_ssid, (const void *)d->trans_ssid.ssid, d->trans_ssid.ssid_len); in wrapper_bssdesc_second_set()
Dmlan_sta_cmd.c1166 if (psk->ssid.ssid_len != 0U)
1170 pssid_tlv->header.len = (t_u16)MIN(MLAN_MAX_SSID_LENGTH, psk->ssid.ssid_len);
1172 MIN(MLAN_MAX_SSID_LENGTH, psk->ssid.ssid_len));
Dmlan_join.c863 pssid_tlv->header.len = (t_u16)pbss_desc->ssid.ssid_len;
Dwifi.c1638 …sdesc_first_set((int)index, common_desc.bssid, &common_desc.is_ibss_bit_set, &common_desc.ssid_len, in wifi_get_scan_result()
/hal_nxp-latest/mcux/mcux-sdk/components/edgefast_wifi/source/
Dwpl_nxp.c290 size_t ssid_len = strlen(ssid); in WPL_Start_AP() local
298 if ((ssid_len == 0U) || (ssid_len > IEEEtypes_SSID_SIZE)) in WPL_Start_AP()
325 (void)memcpy(uap_network.ssid, ssid, ssid_len); in WPL_Start_AP()
594 size_t ssid_len = strlen(ssid); in WPL_AddNetworkWithSecurity() local
608 if ((ssid_len == 0U) || (ssid_len > IEEEtypes_SSID_SIZE)) in WPL_AddNetworkWithSecurity()
656 strncpy(sta_network.ssid, ssid, ssid_len); in WPL_AddNetworkWithSecurity()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/
Drtos_wpa_supp_if.c808 memcpy(ssid_v+ssid_off, (const char *)params->ssids[i].ssid, params->ssids[i].ssid_len); in wifi_nxp_wpa_supp_scan2()
809 ssid_off += params->ssids[i].ssid_len; in wifi_nxp_wpa_supp_scan2()
816 if (params->num_ssids == 1 && params->ssids[0].ssid_len == 0) in wifi_nxp_wpa_supp_scan2()
821 mlan_adap->priv[0]->curr_bss_params.bss_descriptor.ssid.ssid_len); in wifi_nxp_wpa_supp_scan2()
822 ssid_off += mlan_adap->priv[0]->curr_bss_params.bss_descriptor.ssid.ssid_len; in wifi_nxp_wpa_supp_scan2()
833 if (params->filter_ssids[1].ssid_len) in wifi_nxp_wpa_supp_scan2()
835 … memcpy(ssid_v2, (const char *)params->filter_ssids[1].ssid, params->filter_ssids[1].ssid_len); in wifi_nxp_wpa_supp_scan2()
971 params->ssids[i].ssid_len); in wifi_nxp_wpa_supp_sched_scan()
973 wifi_sched_scan_params->scan_ssids[i].ssid_len = params->ssids[i].ssid_len; in wifi_nxp_wpa_supp_sched_scan()
1517 assoc_params->ssid.ssid_len = params->ssid_len; in wifi_nxp_wpa_supp_associate()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wifidriver/
Dwifi-decl.h295 int ssid_len; /*!< SSID length */ member
1361 uint8_t ssid_len;
1992 unsigned int ssid_len;
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/
Dmlan_11k.h191 int wlan_send_mgmt_rm_neighbor_request(mlan_private *pmpriv, t_u8 *ssid, t_u8 ssid_len);
Dmlan_api.h500 int *ssid_len,
Dmlan_ioctl.h370 t_u32 ssid_len; member
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wmcrypto/
Dwmcrypto.h304 int nxp_generate_psk(const char *ssid, int ssid_len, const char *passphrase, char *output);
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/incl/
Dwifi_nxp_internal.h221 unsigned char ssid_len;
/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan.c1456 … if (!wlan.hidden_scan_on && (!memcmp(null_ssid, (const char *)res->ssid, (size_t)res->ssid_len))) in network_matches_scan_result()
1463 if ((res->ssid_len == 0) || in network_matches_scan_result()
1465 (size_t)MAX(strlen(network->ssid), (unsigned int)res->ssid_len)) != 0) in network_matches_scan_result()
1469 … (size_t)MAX(strlen(network->trans_ssid), (unsigned int)res->ssid_len))) != 0) in network_matches_scan_result()
1473 … (size_t)MAX(strlen(network->bridge_ssid), (unsigned int)res->ssid_len)) != 0) in network_matches_scan_result()
2410 (void)memcpy((void *)network->ssid, (const void *)res->ssid, (size_t)res->ssid_len); in update_network_params()
10590 …void)memcpy((void *)&res->ssid[0], (const void *)((char *)&desc->ssid[0]), (size_t)desc->ssid_len); in wlan_get_scan_result()
10591 res->ssid[desc->ssid_len] = (char)0; in wlan_get_scan_result()
10592 res->ssid_len = (size_t)desc->ssid_len; in wlan_get_scan_result()
Dwlan_tests.c7738 …oid)memcpy((void *)&pDst->ssid[0], (const void *)((char *)&pSrc->ssid[0]), (size_t)pSrc->ssid_len);
7739 pDst->ssid[pSrc->ssid_len] = (char)0;
7740 pDst->ssid_len = (size_t)pSrc->ssid_len;
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wlcmgr/
Dwlan.h803 unsigned int ssid_len; member