Home
last modified time | relevance | path

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

12345

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Neighbor.cpp87 data->attribs[i].u.mac_addr, in event_callback()
102 …if (memcmp(neighbor_client[i].mac_addr, client_mac_addr, sizeof(neighbor_client[i].mac_addr)) == 0) in event_callback()
133 memcpy(data_all->mac_addr, in event_callback()
134 neighbor_client[i].mac_addr, in event_callback()
135 sizeof(data_all->mac_addr)); in event_callback()
191 … if (memcmp(neighbor_client[i].mac_addr, data->mac_addr, sizeof(neighbor_client[i].mac_addr)) == 0) in event_callback()
237 … if (memcmp(neighbor_client[i].mac_addr, data->mac_addr, sizeof(neighbor_client[i].mac_addr)) == 0) in event_callback()
255 memcpy(neighbor_client[num_neighbor_client_temp].mac_addr, in event_callback()
256 data->mac_addr, in event_callback()
257 sizeof(data->mac_addr)); in event_callback()
[all …]
DIPACM_Main.cpp299 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
300 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
316 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
317 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
332 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
333 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
340 memcpy(data->mac_addr, in ipa_driver_msg_notifier()
341 event_wlan->mac_addr, in ipa_driver_msg_notifier()
342 sizeof(event_wlan->mac_addr)); in ipa_driver_msg_notifier()
352 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
[all …]
DIPACM_LanToLan.cpp305 …ing client MAC: 0x%02x%02x%02x%02x%02x%02x, interface: %s\n", data->mac_addr[0], data->mac_addr[1], in handle_client_add()
306 …data->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5], data->p_iface->dev_nam… in handle_client_add()
313 it_iface->handle_client_add(data->mac_addr); in handle_client_add()
339 …ing client MAC: 0x%02x%02x%02x%02x%02x%02x, interface: %s\n", data->mac_addr[0], data->mac_addr[1], in handle_client_del()
340 …data->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5], data->p_iface->dev_nam… in handle_client_del()
347 it_iface->handle_client_del(data->mac_addr); in handle_client_del()
385 …IPACMDBG_H("Found client with MAC: 0x%02x%02x%02x%02x%02x%02x\n", it->mac_addr[0], it->mac_addr[1], in handle_cached_client_add_event()
386 it->mac_addr[2], it->mac_addr[3], it->mac_addr[4], it->mac_addr[5]); in handle_cached_client_add_event()
407 …IPACMDBG_H("Found client with MAC: 0x%02x%02x%02x%02x%02x%02x\n", it->mac_addr[0], it->mac_addr[1], in clear_cached_client_add_event()
408 it->mac_addr[2], it->mac_addr[3], it->mac_addr[4], it->mac_addr[5]); in clear_cached_client_add_event()
[all …]
DIPACM_Wlan.cpp693 eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->attribs[i].u.mac_addr); in event_callback()
710 eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_DEL, IPA_IP_MAX, data->mac_addr); in event_callback()
711 handle_wlan_client_down_evt(data->mac_addr); in event_callback()
723 handle_wlan_client_pwrsave(data->mac_addr); in event_callback()
736 wlan_index = get_wlan_client_index(data->mac_addr); in event_callback()
752 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v4); in event_callback()
759 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v6); in event_callback()
778 handle_wlan_client_route_rule(data->mac_addr, data->iptype); in event_callback()
983 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
1098 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Neighbor.cpp87 data->attribs[i].u.mac_addr, in event_callback()
102 …if (memcmp(neighbor_client[i].mac_addr, client_mac_addr, sizeof(neighbor_client[i].mac_addr)) == 0) in event_callback()
134 memcpy(data_all->mac_addr, in event_callback()
135 neighbor_client[i].mac_addr, in event_callback()
136 sizeof(data_all->mac_addr)); in event_callback()
196 … if (memcmp(neighbor_client[i].mac_addr, data->mac_addr, sizeof(neighbor_client[i].mac_addr)) == 0) in event_callback()
243 … if (memcmp(neighbor_client[i].mac_addr, data->mac_addr, sizeof(neighbor_client[i].mac_addr)) == 0) in event_callback()
260 memcpy(neighbor_client[num_neighbor_client_temp].mac_addr, in event_callback()
261 data->mac_addr, in event_callback()
262 sizeof(data->mac_addr)); in event_callback()
[all …]
DIPACM_Main.cpp329 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
330 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
346 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
347 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
362 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
363 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
370 memcpy(data->mac_addr, in ipa_driver_msg_notifier()
371 event_wlan->mac_addr, in ipa_driver_msg_notifier()
372 sizeof(event_wlan->mac_addr)); in ipa_driver_msg_notifier()
382 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
[all …]
DIPACM_LanToLan.cpp450 …ing client MAC: 0x%02x%02x%02x%02x%02x%02x, interface: %s\n", data->mac_addr[0], data->mac_addr[1], in handle_client_add()
451 …data->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5], data->p_iface->dev_nam… in handle_client_add()
462 memcpy(it_mapping->l2tp_client_mac, data->mac_addr, sizeof(it_mapping->l2tp_client_mac)); in handle_client_add()
474 it_iface->handle_client_add(data->mac_addr, is_l2tp_client, mapping_info, data->ep); in handle_client_add()
500 …ing client MAC: 0x%02x%02x%02x%02x%02x%02x, interface: %s\n", data->mac_addr[0], data->mac_addr[1], in handle_client_del()
501 …data->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5], data->p_iface->dev_nam… in handle_client_del()
508 it_iface->handle_client_del(data->mac_addr); in handle_client_del()
705 IPACMDBG_H("MAC address: 0x%02x%02x%02x%02x%02x%02x\n", data->mac_addr[0], data->mac_addr[1], in handle_vlan_client_info()
706 data->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5]); in handle_vlan_client_info()
719 memcpy(it_vlan->vlan_client_mac, data->mac_addr, sizeof(it_vlan->vlan_client_mac)); in handle_vlan_client_info()
[all …]
DIPACM_Wlan.cpp768 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->attribs[i].u.mac_addr, NULL, NU… in event_callback()
798 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_DEL, IPA_IP_MAX, data->mac_addr, NULL, NULL, IPA_CLIEN… in event_callback()
799 handle_wlan_client_down_evt(data->mac_addr); in event_callback()
811 handle_wlan_client_pwrsave(data->mac_addr); in event_callback()
824 wlan_index = get_wlan_client_index(data->mac_addr); in event_callback()
840 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v4); in event_callback()
847 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v6); in event_callback()
866 handle_wlan_client_route_rule(data->mac_addr, data->iptype); in event_callback()
1040 memcpy(wlan_data->attribs[0].u.mac_addr, data->mac_addr, sizeof(wlan_data->attribs[0].u.mac_addr)); in handle_wigig_client_add()
1042 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->mac_addr, NULL, NULL, data->cli… in handle_wigig_client_add()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wlan.h118 inline int get_wlan_client_index(uint8_t *mac_addr) in get_wlan_client_index() argument
124 mac_addr[0], mac_addr[1], mac_addr[2], in get_wlan_client_index()
125 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wlan_client_index()
138 mac_addr, in get_wlan_client_index()
221 int handle_wlan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
224 int handle_wlan_client_pwrsave(uint8_t *mac_addr);
227 int handle_wlan_client_down_evt(uint8_t *mac_addr);
DIPACM_Lan.h272 inline int get_eth_client_index(uint8_t *mac_addr) in get_eth_client_index() argument
278 mac_addr[0], mac_addr[1], mac_addr[2], in get_eth_client_index()
279 mac_addr[3], mac_addr[4], mac_addr[5]); in get_eth_client_index()
292 mac_addr, in get_eth_client_index()
367 int handle_eth_hdr_init(uint8_t *mac_addr);
373 int handle_eth_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
376 int handle_eth_client_down_evt(uint8_t *mac_addr);
379 int handle_odu_hdr_init(uint8_t *mac_addr);
DIPACM_Wan.h261 inline int get_wan_client_index(uint8_t *mac_addr) in get_wan_client_index() argument
267 mac_addr[0], mac_addr[1], mac_addr[2], in get_wan_client_index()
268 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wan_client_index()
281 mac_addr, in get_wan_client_index()
433 int handle_wan_hdr_init(uint8_t *mac_addr);
435 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
DIPACM_Defs.h251 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
265 uint8_t mac_addr[6]; member
315 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
353 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
DIPACM_Neighbor.h55 uint8_t mac_addr[6]; member
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h122 inline int get_wlan_client_index(uint8_t *mac_addr) in get_wlan_client_index() argument
128 mac_addr[0], mac_addr[1], mac_addr[2], in get_wlan_client_index()
129 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wlan_client_index()
142 mac_addr, in get_wlan_client_index()
239 int handle_wlan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
242 int handle_wlan_client_pwrsave(uint8_t *mac_addr);
245 int handle_wlan_client_down_evt(uint8_t *mac_addr);
DIPACM_Lan.h333 inline int get_eth_client_index(uint8_t *mac_addr) in get_eth_client_index() argument
339 mac_addr[0], mac_addr[1], mac_addr[2], in get_eth_client_index()
340 mac_addr[3], mac_addr[4], mac_addr[5]); in get_eth_client_index()
353 mac_addr, in get_eth_client_index()
440 int handle_eth_hdr_init(uint8_t *mac_addr);
446 int handle_eth_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
449 int handle_eth_client_down_evt(uint8_t *mac_addr);
452 int handle_odu_hdr_init(uint8_t *mac_addr);
DIPACM_Defs.h273 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
288 uint8_t mac_addr[6]; member
341 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
348 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
355 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
398 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
DIPACM_Wan.h424 inline int get_wan_client_index(uint8_t *mac_addr) in get_wan_client_index() argument
430 mac_addr[0], mac_addr[1], mac_addr[2], in get_wan_client_index()
431 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wan_client_index()
444 mac_addr, in get_wan_client_index()
596 int handle_wan_hdr_init(uint8_t *mac_addr, bool replaced = false, int entry = 0);
598 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
DIPACM_Neighbor.h55 uint8_t mac_addr[6]; member
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dtdls.h52 void (*on_tdls_state_changed)(mac_addr addr, wifi_tdls_status status);
65 wifi_error wifi_enable_tdls(wifi_interface_handle iface, mac_addr addr,
76 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr);
79 wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr,
Dgscan.h91 mac_addr bssid;
240 mac_addr bssid; // AP BSSID
281 mac_addr bssid; // BSSID
Drtt.h73 mac_addr addr; // peer device mac address
132 mac_addr addr; // device mac address
247 unsigned num_devices, mac_addr addr[]);
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dnan_i.h101 #define FW_MAC_ADDR_TO_CHAR_ARRAY(fw_mac_addr, mac_addr) do { \ argument
102 (mac_addr)[0] = ((fw_mac_addr).mac_addr31to0) & 0xff; \
103 (mac_addr)[1] = (((fw_mac_addr).mac_addr31to0) >> 8) & 0xff; \
104 (mac_addr)[2] = (((fw_mac_addr).mac_addr31to0) >> 16) & 0xff; \
105 (mac_addr)[3] = (((fw_mac_addr).mac_addr31to0) >> 24) & 0xff; \
106 (mac_addr)[4] = ((fw_mac_addr).mac_addr47to32) & 0xff; \
107 (mac_addr)[5] = (((fw_mac_addr).mac_addr47to32) >> 8) & 0xff; \
111 #define CHAR_ARRAY_TO_MAC_ADDR(mac_addr, fw_mac_addr) do { \ argument
113 ((mac_addr)[0] | ((mac_addr)[1] << 8) \
114 | ((mac_addr)[2] << 16) | ((mac_addr)[3] << 24)); \
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dnan_i.h67 #define FW_MAC_ADDR_TO_CHAR_ARRAY(fw_mac_addr, mac_addr) do { \ argument
68 (mac_addr)[0] = ((fw_mac_addr).mac_addr31to0) & 0xff; \
69 (mac_addr)[1] = (((fw_mac_addr).mac_addr31to0) >> 8) & 0xff; \
70 (mac_addr)[2] = (((fw_mac_addr).mac_addr31to0) >> 16) & 0xff; \
71 (mac_addr)[3] = (((fw_mac_addr).mac_addr31to0) >> 24) & 0xff; \
72 (mac_addr)[4] = ((fw_mac_addr).mac_addr47to32) & 0xff; \
73 (mac_addr)[5] = (((fw_mac_addr).mac_addr47to32) >> 8) & 0xff; \
77 #define CHAR_ARRAY_TO_MAC_ADDR(mac_addr, fw_mac_addr) do { \ argument
79 ((mac_addr)[0] | ((mac_addr)[1] << 8) \
80 | ((mac_addr)[2] << 16) | ((mac_addr)[3] << 24)); \
[all …]
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_p2p_iface_hidl_test.cpp435 std::array<uint8_t, 6> mac_addr; in TEST_P() local
436 memcpy(mac_addr.data(), kTestMacAddr, mac_addr.size()); in TEST_P()
437 p2p_iface_->getSsid(mac_addr, [](const SupplicantStatus& status, in TEST_P()
448 std::array<uint8_t, 6> mac_addr; in TEST_P() local
449 memcpy(mac_addr.data(), kTestMacAddr, mac_addr.size()); in TEST_P()
451 mac_addr, [](const SupplicantStatus& status, uint32_t /* caps */) { in TEST_P()
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c1284 sta_info->mac_addr[0], sta_info->mac_addr[1], in fill_sta_info()
1285 sta_info->mac_addr[2], sta_info->mac_addr[3], in fill_sta_info()
1286 sta_info->mac_addr[4], sta_info->mac_addr[5], in fill_sta_info()
1288 sta_info->cap, sta_info->mac_addr[0], in fill_sta_info()
1289 sta_info->mac_addr[1], sta_info->mac_addr[2], in fill_sta_info()
1316 sta_info->mac_addr[0], sta_info->mac_addr[1], in fill_sta_info()
1317 sta_info->mac_addr[2], sta_info->mac_addr[3], in fill_sta_info()
1318 sta_info->mac_addr[4], sta_info->mac_addr[5], in fill_sta_info()
1320 sta_info->cap, sta_info->mac_addr[0], in fill_sta_info()
1321 sta_info->mac_addr[1], sta_info->mac_addr[2], in fill_sta_info()
[all …]

12345