Home
last modified time | relevance | path

Searched refs:mac_addr (Results 1 – 25 of 26) sorted by relevance

12

/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan_test_mode_tests.c1211 uint8_t mac_addr[MLAN_MAC_ADDR_LENGTH]; in wlan_rf_otp_mac_addr_set() local
1225 ret = get_mac(argv[1], (char *)mac_addr, ':'); in wlan_rf_otp_mac_addr_set()
1232 ret = wlan_set_rf_otp_mac_addr(mac_addr); in wlan_rf_otp_mac_addr_set()
1253 uint8_t mac_addr[MLAN_MAC_ADDR_LENGTH]; in wlan_rf_otp_mac_addr_get() local
1267 ret = wlan_get_rf_otp_mac_addr(mac_addr); in wlan_rf_otp_mac_addr_get()
1270 …PRINTF("OTP MAC address: %02X:%02X:%02X:%02X:%02X:%02X\r\n", mac_addr[0], mac_addr[1], mac_addr[2], in wlan_rf_otp_mac_addr_get()
1271 mac_addr[3], mac_addr[4], mac_addr[5]); in wlan_rf_otp_mac_addr_get()
Dwlan_tests.c1679 unsigned char mac_addr[WLAN_MAX_STA_FILTER_NUM * WLAN_MAC_ADDR_LENGTH]; local
1706 ret = get_mac(argv[i + 1], (char *)&mac_addr[i * WLAN_MAC_ADDR_LENGTH], ':');
1716 memset(mac_addr, 0, 16 * WLAN_MAC_ADDR_LENGTH);
1719 wlan_set_sta_mac_filter(filter_mode, mac_count, mac_addr);
4928 … (void)memcpy(&g_csi_params.csi_filter[temp_filter_cnt].mac_addr[0], mac, MLAN_MAC_ADDR_LENGTH);
4968 … g_csi_params.csi_filter[i].mac_addr[0], g_csi_params.csi_filter[i].mac_addr[1],
4969 … g_csi_params.csi_filter[i].mac_addr[2], g_csi_params.csi_filter[i].mac_addr[3],
4970 … g_csi_params.csi_filter[i].mac_addr[4], g_csi_params.csi_filter[i].mac_addr[5]);
5215 …id)PRINTF("mac_addr : %02X:%02X:%02X:%02X:%02X:%02X \r\n", g_net_monitor_param.mac_addr[i][0],
5216 g_net_monitor_param.mac_addr[i][1], g_net_monitor_param.mac_addr[i][2],
[all …]
Dwlan.c7525 wifi_mac_addr_t mac_addr; in wlan_init() local
7527 ret = wifi_get_device_mac_addr(&mac_addr); in wlan_init()
7544 (void)memcpy((void *)&wlan.sta_mac[0], (const void *)mac_addr.mac, MLAN_MAC_ADDR_LENGTH); in wlan_init()
7549 (void)memcpy((void *)&wlan.wfd_mac[0], (const void *)mac_addr.mac, MLAN_MAC_ADDR_LENGTH); in wlan_init()
13090 int wlan_set_sta_mac_filter(int filter_mode, int mac_count, unsigned char *mac_addr) in wlan_set_sta_mac_filter() argument
13093 return wlan_host_set_sta_mac_filter(filter_mode, mac_count, mac_addr); in wlan_set_sta_mac_filter()
13095 return wifi_set_sta_mac_filter(filter_mode, mac_count, mac_addr); in wlan_set_sta_mac_filter()
15531 int wlan_host_set_sta_mac_filter(int filter_mode, int mac_count, unsigned char *mac_addr) in wlan_host_set_sta_mac_filter() argument
15536 ret = wpa_supp_set_mac_acl(uap_netif, filter_mode, mac_count, mac_addr); in wlan_host_set_sta_mac_filter()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/incl/
Dwifi_nxp_internal.h269 unsigned char mac_addr[WIFI_ETH_ADDR_LEN];
309 unsigned char mac_addr[WIFI_ETH_ADDR_LEN];
323 unsigned char mac_addr[WIFI_ETH_ADDR_LEN];
329 unsigned char mac_addr[WIFI_ETH_ADDR_LEN];
336 unsigned char mac_addr[WIFI_ETH_ADDR_LEN];
344 unsigned char mac_addr[WIFI_ETH_ADDR_LEN];
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dwifi.c1382 static int add_mcast_ip(uint8_t *mac_addr) in add_mcast_ip() argument
1399 (void)memcpy((void *)new_node->mac_addr, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in add_mcast_ip()
1405 while (node_t->next != NULL && cmp_mac_addr(node_t->mac_addr, mac_addr)) in add_mcast_ip()
1410 if (!cmp_mac_addr(node_t->mac_addr, mac_addr)) in add_mcast_ip()
1425 (void)memcpy((void *)new_node->mac_addr, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in add_mcast_ip()
1432 static int remove_mcast_ip(uint8_t *mac_addr) in remove_mcast_ip() argument
1443 if (curr_node == NULL && cmp_mac_addr(prev_node->mac_addr, mac_addr)) in remove_mcast_ip()
1455 if (!cmp_mac_addr(prev_node->mac_addr, mac_addr)) in remove_mcast_ip()
1467 while (cmp_mac_addr(curr_node->mac_addr, mac_addr) && curr_node->next != NULL) in remove_mcast_ip()
1472 if (!cmp_mac_addr(curr_node->mac_addr, mac_addr)) in remove_mcast_ip()
[all …]
Dmlan_sta_cmd.c187 (void)__memcpy(pmpriv->adapter, mcmd->mac_addr, cfg->mac_addr, MLAN_MAC_ADDR_LENGTH); in wlan_cmd_mfg_otp_mac_add()
701 cmd->params.mac_addr.action = wlan_cpu_to_le16(cmd_action); in wlan_cmd_802_11_mac_address()
705 … (void)__memcpy(pmpriv->adapter, cmd->params.mac_addr.mac_addr, pdata_buf, MLAN_MAC_ADDR_LENGTH); in wlan_cmd_802_11_mac_address()
797 (void)__memcpy(pmpriv->adapter, pdeauth->mac_addr, (t_u8 *)pdata_buf, MLAN_MAC_ADDR_LENGTH); in wlan_cmd_802_11_deauthenticate()
799 …RINTM(MCMND, "Deauth: %02x:%02x:%02x:%02x:%02x:%02x\n", pdeauth->mac_addr[0], pdeauth->mac_addr[1], in wlan_cmd_802_11_deauthenticate()
800 pdeauth->mac_addr[2], pdeauth->mac_addr[3], pdeauth->mac_addr[4], pdeauth->mac_addr[5]); in wlan_cmd_802_11_deauthenticate()
851 …memcpy_ext(pmpriv->adapter, pkey_material->key_param_set.mac_addr, pkey->mac_addr, MLAN_MAC_ADDR_L…
875 …memcpy_ext(pmpriv->adapter, pkey_material->key_param_set.mac_addr, pkey->mac_addr, MLAN_MAC_ADDR_L…
886 …memcpy_ext(pmpriv->adapter, pkey_material->key_param_set.mac_addr, pkey->mac_addr, MLAN_MAC_ADDR_L…
Dwifi-uap.c376 t_u8 *mac_addr, in wifi_cmd_uap_config() argument
436 if (mac_addr != NULL) in wifi_cmd_uap_config()
438 … (void)memcpy((void *)bss.param.bss_config.mac_addr, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_cmd_uap_config()
1020 uint8_t *mac_addr, in wifi_uap_start() argument
1059 …int rv = wifi_cmd_uap_config(ssid, mac_addr, (enum wlan_security_type)security, key_mgmt, passphra… in wifi_uap_start()
1120 int wifi_sta_deauth(uint8_t *mac_addr, uint16_t reason_code) in wifi_sta_deauth() argument
1125 if (mac_addr == MNULL) in wifi_sta_deauth()
1130 (void)memcpy((void *)deauth.mac_addr, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_sta_deauth()
1347 void wifi_uap_enable_sticky_bit(const uint8_t *mac_addr) in wifi_uap_enable_sticky_bit() argument
1387 (void)memcpy((void *)tim_cfg->sta_mac_address, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_uap_enable_sticky_bit()
[all …]
Dmlan_uap_cmdevent.c82 …if (__memcmp(pmpriv->adapter, zero_mac, &bss->param.bss_config.mac_addr, MLAN_MAC_ADDR_LENGTH) != … in wlan_uap_cmd_ap_config()
87 …(void)__memcpy(pmpriv->adapter, tlv_mac->mac, &bss->param.bss_config.mac_addr, MLAN_MAC_ADDR_LENGT… in wlan_uap_cmd_ap_config()
681 (void)__memcpy(pmpriv->adapter, pcmd_sta_deauth->mac, deauth->mac_addr, MLAN_MAC_ADDR_LENGTH); in wlan_uap_cmd_sta_deauth()
729 …memcpy_ext(pmpriv->adapter, pkey_material->key_param_set.mac_addr, pkey->mac_addr, MLAN_MAC_ADDR_L…
740 …memcpy_ext(pmpriv->adapter, pkey_material->key_param_set.mac_addr, pkey->mac_addr, MLAN_MAC_ADDR_L…
787 sta_ptr = wlan_add_station_entry(pmpriv, pkey->mac_addr);
Dmlan_api.c151 …/* Set AP MAC address */ (void)memcpy((void *)pdeauth->mac_addr, (const void *)bssid, (size_t)MLAN… in wifi_nxp_deauthenticate()
153 …"Deauth: %02x:%02x:%02x:%02x:%02x:%02x", pdeauth->mac_addr[0], pdeauth->mac_addr[1], pdeauth->mac_… in wifi_nxp_deauthenticate()
154 pdeauth->mac_addr[3], pdeauth->mac_addr[4], pdeauth->mac_addr[5]); in wifi_nxp_deauthenticate()
1949 …(void)memcpy((void *)wifi_mfg_cmd_otp_mac_addr_rd_wr.mac_addr, (const void *)mac, MLAN_MAC_ADDR_LE… in wifi_set_rf_otp_mac_addr()
1975 …(void)memcpy((void *)mac, (const void *)wifi_mfg_cmd_otp_mac_addr_rd_wr.mac_addr, MLAN_MAC_ADDR_LE… in wifi_get_rf_otp_mac_addr()
2361 const uint8_t *mac_addr, in wifi_set_key() argument
2384 if (mac_addr) in wifi_set_key()
2394 …(void)memcpy((void *)sec.param.encrypt_key.mac_addr, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_set_key()
2398 memcpy(sec.param.encrypt_key.mac_addr, bcast_addr, MLAN_MAC_ADDR_LENGTH); in wifi_set_key()
2502 … wifi_remove_key(int bss_index, bool is_pairwise, const uint8_t key_index, const uint8_t *mac_addr) in wifi_remove_key() argument
[all …]
Dmlan_sta_ioctl.c821 …if (__memcmp(pmadapter, sec->param.encrypt_key.mac_addr, broadcast_mac_addr, MLAN_MAC_ADDR_LENGTH)) in wlan_sec_ioctl_set_wpa_key()
829 …if (__memcmp(pmadapter, sec->param.encrypt_key.mac_addr, broadcast_mac_addr, MLAN_MAC_ADDR_LENGTH)… in wlan_sec_ioctl_set_wpa_key()
834 …(void)__memcpy(pmadapter, sec->param.encrypt_key.mac_addr, pmpriv->curr_addr, MLAN_MAC_ADDR_LENGTH… in wlan_sec_ioctl_set_wpa_key()
838 … PRINTM(MINFO, "Received GTK for " MACSTR "\n", MAC2STR(sec->param.encrypt_key.mac_addr)); in wlan_sec_ioctl_set_wpa_key()
Dmlan_misc.c134 if (!__memcmp(priv->adapter, sta_ptr->mac_addr, mac, MLAN_MAC_ADDR_LENGTH)) in wlan_get_station_entry()
173 (void)__memcpy(priv->adapter, sta_ptr->mac_addr, mac, MLAN_MAC_ADDR_LENGTH); in wlan_add_station_entry()
812 __memcpy(priv->adapter, (t_u8 *)net_mon->monitor_filter.mac_list, (t_u8 *)monitor->mac_addr, in wlan_cmd_802_11_net_monitor()
Dwifi-imu.c201 int wifi_get_device_mac_addr(wifi_mac_addr_t *mac_addr) in wifi_get_device_mac_addr() argument
203 (void)memcpy(mac_addr->mac, dev_mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_get_device_mac_addr()
376 void wifi_get_mac_address_from_cmdresp(void *resp, t_u8 *mac_addr);
Dmlan_sta_cmdresp.c177 memcpy(cfg->mac_addr, mcmd->mac_addr, MLAN_MAC_ADDR_LENGTH); in wlan_ret_mfg_otp_mac_add()
Dwifi-internal.h47 uint8_t mac_addr[MLAN_MAC_ADDR_LENGTH]; member
Dmlan_glue.c49 static uint8_t *mac_addr; variable
3526 HostCmd_DS_802_11_MAC_ADDRESS *pmac_addr = &resp->params.mac_addr; in wifi_process_cmd_response()
3538 …(void)memcpy((void *)sta_addr, (const void *)((uint8_t *)&pmac_addr->mac_addr), MLAN_MAC_ADDR_LENG… in wifi_process_cmd_response()
6975 …(void)memcpy((void *)get_mac_addr, (const void *)&resp->params.mac_addr.mac_addr, MLAN_MAC_ADDR_LE… in wifi_get_mac_address_from_cmdresp()
7107 cmd->params.mac_addr.action = HostCmd_ACT_GEN_GET; in wifi_prepare_get_mac_addr_cmd()
7137 cmd->params.mac_addr.action = HostCmd_ACT_GEN_SET; in wifi_prepare_set_mac_addr_cmd()
7138 … (void)memcpy((void *)cmd->params.mac_addr.mac_addr, (const void *)mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_prepare_set_mac_addr_cmd()
7229 mac_addr = mac; in wifi_set_mac_addr()
Dwifi-sdio.c244 int wifi_get_device_mac_addr(wifi_mac_addr_t *mac_addr) in wifi_get_device_mac_addr() argument
246 (void)memcpy(mac_addr->mac, dev_mac_addr, MLAN_MAC_ADDR_LENGTH); in wifi_get_device_mac_addr()
451 void wifi_get_mac_address_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *mac_addr);
Dmlan_11n_rxreorder.c857 rx_reor_tbl_ptr = wlan_11n_get_rxreorder_tbl(pmpriv, tid, key->mac_addr); in wlan_reset_pn_value()
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wifidriver/
Dwifi.h460 int wifi_get_device_mac_addr(wifi_mac_addr_t *mac_addr);
593 int wifi_sta_deauth(uint8_t *mac_addr, uint16_t reason_code);
740 int wifi_add_mcast_filter(uint8_t *mac_addr);
758 int wifi_remove_mcast_filter(uint8_t *mac_addr);
772 void wifi_get_ipv4_multicast_mac(uint32_t ipaddr, uint8_t *mac_addr);
786 void wifi_get_ipv6_multicast_mac(uint32_t ipaddr, uint8_t *mac_addr);
995 void wifi_uap_enable_sticky_bit(const uint8_t *mac_addr);
1026 uint8_t *mac_addr,
1407 int wifi_set_sta_mac_filter(int filter_mode, int mac_count, unsigned char *mac_addr);
Dwifi-decl.h1339 wifi_802_11_mac_addr mac_addr[MAX_MONIT_MAC_FILTER_NUM];
1714 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
1900 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/
Dmlan_ioctl.h991 mlan_802_11_mac_addr mac_addr; member
1101 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH]; member
1232 mlan_802_11_mac_addr mac_addr;
1623 mlan_802_11_mac_addr mac_addr; member
2056 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH]; member
3952 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
Dmlan_api.h369 const uint8_t *mac_addr,
404 …wifi_remove_key(int bss_index, bool is_pairwise, const uint8_t key_index, const uint8_t *mac_addr);
Dmlan_fw.h2906 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
3552 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
3625 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
6776 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH];
7018 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH]; /**< Reporting STA address */
7032 t_u8 mac_addr[MLAN_MAC_ADDR_LENGTH]; /**< Reporting STA address */
7817 HostCmd_DS_802_11_MAC_ADDRESS mac_addr;
/hal_nxp-latest/mcux/middleware/wifi_nxp/port/net/zephyr/
Dnet.c355 (!memcmp(&ethhdr->src.addr[3], &iw416_data.mac_addr[3], 3))) || in process_data_packet()
356 (!memcmp(&ethhdr->src.addr, &iw416_data.mac_addr[0], ETHARP_HWADDR_LEN))) in process_data_packet()
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wlcmgr/
Dwlan.h5121 int wlan_set_sta_mac_filter(int filter_mode, int mac_count, unsigned char *mac_addr);
7075 int wlan_host_set_sta_mac_filter(int filter_mode, int mac_count, unsigned char *mac_addr);
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/
Drtos_wpa_supp_if.c1080 memcpy(r->bssid, scan_res->mac_addr, ETH_ALEN); in wifi_nxp_wpa_supp_proc_scan_res()
2599 event.eapol_rx.src = (const unsigned char *)eapol_rx->mac_addr; in wifi_nxp_wpa_supp_event_proc_eapol_rx()

12