Home
last modified time | relevance | path

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

123456

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
Dmac_mib.c48 meshid_len = param->ssid_len; /* 长度不包括字符串结尾'\0' */ in mac_mib_set_meshid()
79 param->ssid_len = meshid_len; in mac_mib_get_meshid()
297 hi_u8 ssid_len; in mac_mib_set_ssid() local
301 ssid_len = param->ssid_len; /* 长度不包括字符串结尾'\0' */ in mac_mib_set_ssid()
302 if (ssid_len > WLAN_SSID_MAX_LEN - 1) { in mac_mib_set_ssid()
303 ssid_len = WLAN_SSID_MAX_LEN - 1; in mac_mib_set_ssid()
306 if (memcpy_s(puc_mib_ssid, WLAN_SSID_MAX_LEN, param->ac_ssid, ssid_len) != EOK) { in mac_mib_set_ssid()
309 puc_mib_ssid[ssid_len] = '\0'; in mac_mib_set_ssid()
319 hi_u8 ssid_len; in mac_mib_get_ssid() local
323 ssid_len = (hi_u8)strlen((hi_char *)puc_mib_ssid); in mac_mib_get_ssid()
[all …]
Dmac_frame.c183 hi_u8 ssid_len; in mac_set_ssid_ie() local
208 ssid_len = (hi_u8)sizeof(g_dmac_p2p_wildcard_ssid) - 1; /* 不包含'\0' */ in mac_set_ssid_ie()
209 *(puc_buffer + 1) = ssid_len; in mac_set_ssid_ie()
211 … if (memcpy_s(puc_buffer + MAC_IE_HDR_LEN, ssid_len, g_dmac_p2p_wildcard_ssid, ssid_len) != EOK) { in mac_set_ssid_ie()
220 ssid_len = (hi_u8)strlen((hi_char *)puc_ssid); /* 不包含'\0' */ in mac_set_ssid_ie()
221 *(puc_buffer + 1) = ssid_len; in mac_set_ssid_ie()
222 if (memcpy_s(puc_buffer + MAC_IE_HDR_LEN, ssid_len, puc_ssid, ssid_len) != EOK) { in mac_set_ssid_ie()
230 *puc_ie_len = ssid_len + MAC_IE_HDR_LEN; in mac_set_ssid_ie()
231 return ssid_len; in mac_set_ssid_ie()
1367 hi_u8 ssid_len; in mac_set_mesh_ssid_ie() local
[all …]
/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/
Dwm_cmdp.c257 if (ssid.ssid_len) { in tls_cmd_join_net()
258 …ret = tls_wifi_connect_by_ssid_bssid(ssid.ssid, ssid.ssid_len, bssid.bssid, key->key, key->key_len… in tls_cmd_join_net()
263 ret = tls_wifi_connect(ssid.ssid, ssid.ssid_len, key->key, key->key_len); in tls_cmd_join_net()
289 MEMCPY(apinfo->ssid, ssid.ssid, ssid.ssid_len); in tls_cmd_create_net()
290 apinfo->ssid[ssid.ssid_len] = '\0'; in tls_cmd_create_net()
411 if (ssid->ssid_len > THIRTY_TWO) in tls_cmd_set_ssid()
414 params_ssid.ssid_len = ssid->ssid_len; in tls_cmd_set_ssid()
415 MEMCPY(&params_ssid.ssid, ssid->ssid, ssid->ssid_len); in tls_cmd_set_ssid()
427 if (params_ssid.ssid_len > THIRTY_TWO) { in tls_cmd_get_ssid()
428 ssid->ssid_len = 0; in tls_cmd_get_ssid()
[all …]
Dwm_cmdp_hostif.c502 + TEN + TWO + bss.ssid_len; in tls_hostif_send_event_wjoin_success()
515 *p++ = (char)bss.ssid_len; in tls_hostif_send_event_wjoin_success()
516 MEMCPY(p, bss.ssid, bss.ssid_len); in tls_hostif_send_event_wjoin_success()
517 p += bss.ssid_len; in tls_hostif_send_event_wjoin_success()
770 for (j = 0; j < bss_info->ssid_len; j++) { in tls_hostif_send_event_scan_cmplt()
1772 if ((cmd->ssid.ssid_len > (THIRTY + TWO)) || (cmd->ssid.ssid_len == 0)) { in ssid_proc()
1775 ssid.ssid_len = cmd->ssid.ssid_len; in ssid_proc()
1776 MEMCPY(ssid.ssid, cmd->ssid.ssid, ssid.ssid_len); in ssid_proc()
1781 cmdrsp->ssid.ssid_len = ssid.ssid_len; in ssid_proc()
1782 MEMCPY(cmdrsp->ssid.ssid, ssid.ssid, ssid.ssid_len); in ssid_proc()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/net/wifi/
Dbwifi_event.h43 uint8_t ssid_len; /**< SSID length of the connecting AP */ member
50 uint8_t ssid_len; /**< SSID length of connected AP */ member
57 uint8_t ssid_len; /**< SSID length of disconnected AP */ member
75 uint8_t ssid_len; /**< SSID length of connected AP */ member
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_roam.c50 int ssid_len; member
128 if ((roam_cache[i].ssid_len == bi->SSID_len) && in add_roam_cache()
136 roam_cache[n_roam_cache].ssid_len = bi->SSID_len; in add_roam_cache()
189 if ((roam_cache[i].ssid_len == ssid->SSID_len) && band_match && in get_roam_channel_list()
219 roam_cache[i].ssid[roam_cache[i].ssid_len] = 0; in print_roam_cache()
221 roam_cache[i].ssid_len, roam_cache[i].ssid)); in print_roam_cache()
289 if ((roam_cache[i].ssid_len == ssid.SSID_len) && band_match && in update_roam_cache()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_roam.c51 int ssid_len; member
128 if ((roam_cache[i].ssid_len == bi->SSID_len) && in add_roam_cache()
136 roam_cache[n_roam_cache].ssid_len = bi->SSID_len; in add_roam_cache()
184 if ((roam_cache[i].ssid_len == ssid->SSID_len) && in get_roam_channel_list()
214 roam_cache[i].ssid[roam_cache[i].ssid_len] = 0; in print_roam_cache()
216 roam_cache[i].ssid_len, roam_cache[i].ssid)); in print_roam_cache()
281 if ((roam_cache[i].ssid_len == ssid.SSID_len) && in update_roam_cache()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat_wifi.c63 size_t ssid_len = 0; in ssid_prefix_scan() local
81 tmp = at_parse_string(argv[0], &ssid_len); in ssid_prefix_scan()
82 scan_params.ssid_len = (unsigned char)ssid_len; in ssid_prefix_scan()
86 if ((scan_params.ssid_len > HI_WIFI_MAX_SSID_LEN) || (scan_params.ssid_len == 0)) { in ssid_prefix_scan()
96 scan_params.ssid[scan_params.ssid_len] = '\0'; in ssid_prefix_scan()
228 size_t ssid_len = strlen(results[ul_loop].ssid); in cmd_wpa_scan_results() local
229 const char* tmp = at_ssid_txt((unsigned char*)results[ul_loop].ssid, ssid_len); in cmd_wpa_scan_results()
385 size_t ssid_len = 0; in cmd_sta_connect_get_ssid() local
399 hi_char *tmp = at_parse_string(argv[0], &ssid_len); in cmd_sta_connect_get_ssid()
403 if ((ssid_len > HI_WIFI_MAX_SSID_LEN) || (ssid_len == 0)) { in cmd_sta_connect_get_ssid()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dibss.c89 *pos++ = ifibss->ssid_len; in ieee80211_ibss_build_presp()
90 memcpy(pos, ifibss->ssid, ifibss->ssid_len); in ieee80211_ibss_build_presp()
91 pos += ifibss->ssid_len; in ieee80211_ibss_build_presp()
329 sdata->vif.bss_conf.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss()
330 memcpy(sdata->vif.bss_conf.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss()
370 sdata->vif.bss_conf.ssid_len = 0; in __ieee80211_sta_join_ibss()
501 ifibss->ssid_len, IEEE80211_BSS_TYPE_IBSS, in ieee80211_ibss_csa_beacon()
550 ifibss->ssid_len, in ieee80211_ibss_finish_csa()
697 ifibss->ssid_len, in ieee80211_ibss_disconnect()
728 sdata->vif.bss_conf.ssid_len = 0; in ieee80211_ibss_disconnect()
[all …]
/device/soc/winnermicro/wm800/board/include/wifi/
Dwm_wifi.h222 u8 ssid_len; /**< SSID length of connected AP */ member
288 u8 ssid_len; /**< SSID length */ member
772 int tls_wifi_connect(u8 *ssid, u8 ssid_len, u8 *pwd, u8 pwd_len);
813 int tls_wifi_connect_by_ssid_bssid(u8 *ssid, u8 ssid_len, u8 *bssid, u8 *pwd, u8 pwd_len);
987 void tls_wifi_send_oneshotdata(u8 *dst, const u8 *ssid, u8 ssid_len);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_scan.c889 hi_u8 ssid_len; in hmac_scan_update_bss_ssid() local
891 hi_u8 *puc_ssid = mac_get_ssid(puc_frame_body, (hi_s32)us_frame_body_len, &ssid_len); in hmac_scan_update_bss_ssid()
892 if ((puc_ssid != HI_NULL) && (ssid_len != 0)) { in hmac_scan_update_bss_ssid()
894 if (memcpy_s(bss_dscr->ac_ssid, WLAN_SSID_MAX_LEN, puc_ssid, ssid_len) != EOK) { in hmac_scan_update_bss_ssid()
898 bss_dscr->ac_ssid[ssid_len] = '\0'; in hmac_scan_update_bss_ssid()
903 puc_ssid = mac_get_meshid(puc_frame_body, (hi_s32)us_frame_body_len, &ssid_len); in hmac_scan_update_bss_ssid()
906 if (memcpy_s(bss_dscr->ac_ssid, WLAN_SSID_MAX_LEN, puc_ssid, ssid_len) != EOK) { in hmac_scan_update_bss_ssid()
912 ssid_len = 0; in hmac_scan_update_bss_ssid()
914 bss_dscr->ac_ssid[ssid_len] = '\0'; in hmac_scan_update_bss_ssid()
919 hmac_scan_proc_check_ssid(scanned_bss, puc_ssid, ssid_len); in hmac_scan_update_bss_ssid()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_wifi/include/bk_private/
Dbk_wifi.h29 int wlan_sta_set(const uint8_t *ssid, uint8_t ssid_len, const uint8_t *psk);
52 int wlan_ap_set(uint8_t *ssid, uint8_t ssid_len, uint8_t *psk);
Dbk_wifi_types.h52 uint8_t ssid_len; member
267 uint8_t ssid_len; member
Dbk_wifi_wpa.h23 int wifi_wpa_psk_request(uint8_t *ssid, int ssid_len,
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/
Dhdf_mac80211_ap.c220 g_ap_setting_info.ssid_len = apConf->ssidConf.ssidLen; in WalConfigAp()
309 wdev->ssid_len = g_ap_setting_info.ssid_len; in WalStartAp()
310 memcpy_s(wdev->ssid, wdev->ssid_len, g_ap_setting_info.ssid, wdev->ssid_len); in WalStartAp()
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/console/
Dwifi_host_console.c586 size_t ssid_len = strlen(token); in do_ap() local
587 if (ssid_len > sizeof(cfg.ssid.array)) in do_ap()
593 memcpy(cfg.ssid.array, token, ssid_len); in do_ap()
594 cfg.ssid.length = ssid_len; in do_ap()
957 size_t ssid_len = strlen(token); in do_sta() local
958 if (ssid_len > sizeof(cfg.ssid.array)) in do_sta()
964 memcpy(cfg.ssid.array, token, ssid_len); in do_sta()
965 cfg.ssid.length = ssid_len; in do_sta()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
Dhi_wifi_driver_wpa_if.h427 hi_u32 ssid_len; member
474 hi_u32 ssid_len; member
511 hi_u32 ssid_len; member
594 hi_u32 ssid_len; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_scan.c370 if (scan_param->ssids[index].ssid_len > OAL_IEEE80211_MAX_SSID_LEN) { in wal_set_scan_ssid()
372 scan_param->ssids[loop].ssid_len, OAL_IEEE80211_MAX_SSID_LEN); in wal_set_scan_ssid()
375 scan_param->ssids[index].ssid_len = request->ssids[loop].ssid_len; in wal_set_scan_ssid()
377 scan_param->ssids[loop].ssid_len) != EOK) { in wal_set_scan_ssid()
Dwal_scan.h69 …(((request)->n_ssids > 0) && (NULL != (request)->ssids) && ((request)->ssids[0].ssid_len == strlen…
/device/soc/esp/esp32/components/bt/common/api/include/api/
Desp_blufi_api.h177 int ssid_len; /*!< SSID length */ member
194 int ssid_len; /*!< SSID length */ member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_cfgscan.c211 int32 ssid_len = MIN(bi->SSID_len, DOT11_MAX_SSID_LEN); in wl_update_hidden_ap_ie() local
241 if (ssidie[1] != ssid_len) { in wl_update_hidden_ap_ie()
253 if ((update_ssid && (ssid_len > ssidie[1])) && (unused_buf_len > ssid_len)) { in wl_update_hidden_ap_ie()
255 memmove(ssidie + ssid_len + 2, in wl_update_hidden_ap_ie()
258 memcpy(ssidie + 2, bi->SSID, ssid_len); in wl_update_hidden_ap_ie()
259 *ie_size = *ie_size + ssid_len - ssidie[1]; in wl_update_hidden_ap_ie()
260 ssidie[1] = ssid_len; in wl_update_hidden_ap_ie()
261 } else if (ssid_len < ssidie[1]) { in wl_update_hidden_ap_ie()
268 memcpy(ssidie + 2, bi->SSID, ssid_len); in wl_update_hidden_ap_ie()
1667 ssid.SSID_len = MIN(request->ssids[i].ssid_len, DOT11_MAX_SSID_LEN); in wl_cfgscan_populate_scan_ssids()
[all …]
/device/soc/winnermicro/wm800/board/platform/inc/
Dtls_wireless.h92 u8 ssid_len; member
125 u8 ssid_len; member
325 u8 *ssid, u32 ssid_len, u8 *buf, u32 buf_size);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dap.c770 priv->ssid_length = info->ssid_len; in xradio_bss_info_changed()
772 info->hidden_ssid, info->ssid_len); in xradio_bss_info_changed()
773 if (info->ssid_len) { in xradio_bss_info_changed()
774 memcpy(priv->ssid, info->ssid, info->ssid_len); in xradio_bss_info_changed()
1555 u8 ssid_len; in xradio_upload_beacon() local
1564 ssid_len = ssid_ie[1]; in xradio_upload_beacon()
1565 if (ssid_len) { in xradio_upload_beacon()
1568 memmove(ssid_ie + 2, ssid_ie + 2 + ssid_len, in xradio_upload_beacon()
1569 (ies + ies_len - (ssid_ie + 2 + ssid_len))); in xradio_upload_beacon()
1570 frame.skb->len -= ssid_len; in xradio_upload_beacon()
[all …]
/device/soc/esp/esp32/components/esp_wifi/include/
Desp_wifi_types.h229 uint8_t ssid_len; /**< Optional length of SSID field. */ member
624 uint8_t ssid_len; /**< SSID length of connected AP */ member
633 uint8_t ssid_len; /**< SSID length of disconnected AP */ member
/device/soc/esp/esp32/components/esp_event/
Devent_send_compat.inc195 …ESP_LOGD(TAG, "SYSTEM_EVENT_STA_CONNECTED, ssid:%s, ssid_len:%d, bssid:" MACSTR ", channel:%d, aut…
196 …connected->ssid, connected->ssid_len, MAC2STR(connected->bssid), connected->channel, connected->au…
201 …ESP_LOGD(TAG, "SYSTEM_EVENT_STA_DISCONNECTED, ssid:%s, ssid_len:%d, bssid:" MACSTR ", reason:%d (%…
202 … disconnected->ssid, disconnected->ssid_len, MAC2STR(disconnected->bssid), disconnected->reason,

123456