Home
last modified time | relevance | path

Searched refs:WIFI_MAC_ADDR_LEN (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/tests/net/lib/wifi_credentials/src/
Dmain.c90 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
114 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
146 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
180 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
210 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
236 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
283 uint8_t bssid_buf[WIFI_MAC_ADDR_LEN] = ""; in ZTEST()
/Zephyr-latest/subsys/net/lib/wifi_credentials/
Dwifi_credentials.c207 (bssid_len != WIFI_MAC_ADDR_LEN || bssid == NULL)) { in wifi_credentials_set_personal()
231 memcpy(header->bssid, bssid, WIFI_MAC_ADDR_LEN); in wifi_credentials_set_personal()
275 if (bssid_buf_len != WIFI_MAC_ADDR_LEN || bssid_buf == NULL) { in wifi_credentials_get_by_ssid_personal()
302 memcpy(bssid_buf, header->bssid, WIFI_MAC_ADDR_LEN); in wifi_credentials_get_by_ssid_personal()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dnet_if.c500 WIFI_MAC_ADDR_LEN, mac_string_buf, in ip_maddr_event_handler()
510 BUILD_ASSERT(sizeof(CONFIG_WIFI_FIXED_MAC_ADDRESS) - 1 == ((WIFI_MAC_ADDR_LEN * 2) + 5),
543 char fixed_mac_addr[WIFI_MAC_ADDR_LEN]; in nrf_wifi_get_mac_addr()
546 WIFI_MAC_ADDR_LEN, in nrf_wifi_get_mac_addr()
557 WIFI_MAC_ADDR_LEN); in nrf_wifi_get_mac_addr()
559 char random_mac_addr[WIFI_MAC_ADDR_LEN]; in nrf_wifi_get_mac_addr()
561 sys_rand_get(random_mac_addr, WIFI_MAC_ADDR_LEN); in nrf_wifi_get_mac_addr()
566 WIFI_MAC_ADDR_LEN); in nrf_wifi_get_mac_addr()
582 WIFI_MAC_ADDR_LEN)); in nrf_wifi_get_mac_addr()
586 WIFI_MAC_ADDR_LEN); in nrf_wifi_get_mac_addr()
[all …]
/Zephyr-latest/include/zephyr/net/
Dwifi_credentials.h57 uint8_t bssid[WIFI_MAC_ADDR_LEN]; /**< BSSID (Basic Service Set Identifier) */
Dwifi_mgmt.h511 uint8_t mac[WIFI_MAC_ADDR_LEN];
539 uint8_t bssid[WIFI_MAC_ADDR_LEN];
678 char bssid[WIFI_MAC_ADDR_LEN];
967 uint8_t mac[WIFI_MAC_ADDR_LEN];
1185 uint8_t mac[WIFI_MAC_ADDR_LEN];
Dwifi.h282 #define WIFI_MAC_ADDR_LEN 6 macro
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c250 memcpy(res.mac, ap_list_buffer[k].bssid, WIFI_MAC_ADDR_LEN); in scan_done_handler()
251 res.mac_length = WIFI_MAC_ADDR_LEN; in scan_done_handler()
366 sta_info.mac_length = WIFI_MAC_ADDR_LEN; in esp_wifi_handle_ap_connect_event()
367 memcpy(sta_info.mac, event->mac, WIFI_MAC_ADDR_LEN); in esp_wifi_handle_ap_connect_event()
411 sta_info.mac_length = WIFI_MAC_ADDR_LEN; in esp_wifi_handle_ap_disconnect_event()
412 memcpy(sta_info.mac, event->mac, WIFI_MAC_ADDR_LEN); in esp_wifi_handle_ap_disconnect_event()
797 memcpy(status->bssid, ap_info.bssid, WIFI_MAC_ADDR_LEN); in esp32_wifi_status()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c304 memcpy(ap_sta_info.mac, data, WIFI_MAC_ADDR_LEN); in nxp_wifi_wlan_event_callback()
305 ap_sta_info.mac_length = WIFI_MAC_ADDR_LEN; in nxp_wifi_wlan_event_callback()
321 memcpy(ap_sta_info.mac, disassoc_resp->sta_addr, WIFI_MAC_ADDR_LEN); in nxp_wifi_wlan_event_callback()
707 memcpy(res.mac, scan_result.bssid, WIFI_MAC_ADDR_LEN); in nxp_wifi_process_results()
708 res.mac_length = WIFI_MAC_ADDR_LEN; in nxp_wifi_process_results()
1109 memcpy(status->bssid, nxp_wlan_uap_network.bssid, WIFI_MAC_ADDR_LEN); in nxp_wifi_uap_status()
1198 memcpy(status->bssid, nxp_wlan_network.bssid, WIFI_MAC_ADDR_LEN); in nxp_wifi_status()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c214 net_sprint_ll_addr_buf(entry->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_scan_result()
283 net_sprint_ll_addr_buf(raw->data + 10, WIFI_MAC_ADDR_LEN, mac_string_buf, in handle_wifi_raw_scan_result()
447 net_sprint_ll_addr_buf(sta_info->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_ap_sta_connected()
473 net_sprint_ll_addr_buf(sta_info->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_ap_sta_disconnected()
483 WIFI_MAC_ADDR_LEN)) { in handle_wifi_ap_sta_disconnected()
1178 WIFI_MAC_ADDR_LEN, mac_string_buf, in cmd_wifi_status()
1245 PR("BSSID: %s\n", net_sprint_ll_addr_buf(status.bssid, WIFI_MAC_ADDR_LEN, mac_string_buf, in cmd_wifi_ap_status()
2024 WIFI_MAC_ADDR_LEN, in cmd_wifi_ap_stations()
3029 WIFI_MAC_ADDR_LEN, state->optarg); in parse_dpp_args_btstrap_gen()
Dwifi_mgmt.c702 if (!data || len != sizeof(uint8_t) * WIFI_MAC_ADDR_LEN) { in wifi_ap_sta_disconnect()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c59 ((entry->mac_length) ? net_sprint_ll_addr_buf(entry->mac, WIFI_MAC_ADDR_LEN, in wifi_scan_result()
/Zephyr-latest/modules/hostap/src/
Dsupp_api.c1362 memcpy((void *)&mac, params->bssid, WIFI_MAC_ADDR_LEN); in wpas_add_and_config_network()
1620 os_memcpy(status->bssid, wpa_s->bssid, WIFI_MAC_ADDR_LEN);
2610 os_memcpy(status->bssid, hapd->own_addr, WIFI_MAC_ADDR_LEN);
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c397 res.mac_length = WIFI_MAC_ADDR_LEN; in MODEM_CMD_DIRECT_DEFINE()