Home
last modified time | relevance | path

Searched refs:mac_addr (Results 1 – 25 of 123) 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 …]
/hardware/qcom/sdm845/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.cpp307 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
308 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
324 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
325 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
340 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
341 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
348 memcpy(data->mac_addr, in ipa_driver_msg_notifier()
349 event_wlan->mac_addr, in ipa_driver_msg_notifier()
350 sizeof(event_wlan->mac_addr)); in ipa_driver_msg_notifier()
360 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
[all …]
DIPACM_LanToLan.cpp445 …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()
446 …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()
457 memcpy(it_mapping->l2tp_client_mac, data->mac_addr, sizeof(it_mapping->l2tp_client_mac)); in handle_client_add()
469 it_iface->handle_client_add(data->mac_addr, is_l2tp_client, mapping_info); in handle_client_add()
495 …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()
496 …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()
503 it_iface->handle_client_del(data->mac_addr); in handle_client_del()
700 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()
701 data->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5]); in handle_vlan_client_info()
714 memcpy(it_vlan->vlan_client_mac, data->mac_addr, sizeof(it_vlan->vlan_client_mac)); in handle_vlan_client_info()
[all …]
DIPACM_Wlan.cpp735 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->attribs[i].u.mac_addr, NULL, NU… in event_callback()
752 eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_DEL, IPA_IP_MAX, data->mac_addr, NULL, NULL); in event_callback()
753 handle_wlan_client_down_evt(data->mac_addr); in event_callback()
765 handle_wlan_client_pwrsave(data->mac_addr); in event_callback()
778 wlan_index = get_wlan_client_index(data->mac_addr); in event_callback()
794 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v4); in event_callback()
801 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v6); in event_callback()
820 handle_wlan_client_route_rule(data->mac_addr, data->iptype); in event_callback()
1056 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
1171 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.cpp315 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
316 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()
348 event_wlan->mac_addr[0], event_wlan->mac_addr[1], event_wlan->mac_addr[2], in ipa_driver_msg_notifier()
349 event_wlan->mac_addr[3], event_wlan->mac_addr[4], event_wlan->mac_addr[5]); in ipa_driver_msg_notifier()
356 memcpy(data->mac_addr, in ipa_driver_msg_notifier()
357 event_wlan->mac_addr, in ipa_driver_msg_notifier()
358 sizeof(event_wlan->mac_addr)); in ipa_driver_msg_notifier()
368 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.cpp737 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->attribs[i].u.mac_addr, NULL, NU… in event_callback()
767 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_DEL, IPA_IP_MAX, data->mac_addr, NULL, NULL, IPA_CLIEN… in event_callback()
768 handle_wlan_client_down_evt(data->mac_addr); in event_callback()
780 handle_wlan_client_pwrsave(data->mac_addr); in event_callback()
793 wlan_index = get_wlan_client_index(data->mac_addr); in event_callback()
809 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v4); in event_callback()
816 handle_wlan_client_route_rule(data->mac_addr, IPA_IP_v6); in event_callback()
835 handle_wlan_client_route_rule(data->mac_addr, data->iptype); in event_callback()
1009 memcpy(wlan_data->attribs[0].u.mac_addr, data->mac_addr, sizeof(wlan_data->attribs[0].u.mac_addr)); in handle_wigig_client_add()
1011 …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/sdm845/data/ipacfg-mgr/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.h324 inline int get_eth_client_index(uint8_t *mac_addr) in get_eth_client_index() argument
330 mac_addr[0], mac_addr[1], mac_addr[2], in get_eth_client_index()
331 mac_addr[3], mac_addr[4], mac_addr[5]); in get_eth_client_index()
344 mac_addr, in get_eth_client_index()
419 int handle_eth_hdr_init(uint8_t *mac_addr);
425 int handle_eth_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
428 int handle_eth_client_down_evt(uint8_t *mac_addr);
431 int handle_odu_hdr_init(uint8_t *mac_addr);
DIPACM_Wan.h322 inline int get_wan_client_index(uint8_t *mac_addr) in get_wan_client_index() argument
328 mac_addr[0], mac_addr[1], mac_addr[2], in get_wan_client_index()
329 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wan_client_index()
342 mac_addr, in get_wan_client_index()
494 int handle_wan_hdr_init(uint8_t *mac_addr);
496 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
DIPACM_Defs.h261 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
276 uint8_t mac_addr[6]; member
328 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
367 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
/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
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h119 inline int get_wlan_client_index(uint8_t *mac_addr) in get_wlan_client_index() argument
125 mac_addr[0], mac_addr[1], mac_addr[2], in get_wlan_client_index()
126 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wlan_client_index()
139 mac_addr, in get_wlan_client_index()
224 int handle_wlan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
227 int handle_wlan_client_pwrsave(uint8_t *mac_addr);
230 int handle_wlan_client_down_evt(uint8_t *mac_addr);
DIPACM_Lan.h328 inline int get_eth_client_index(uint8_t *mac_addr) in get_eth_client_index() argument
334 mac_addr[0], mac_addr[1], mac_addr[2], in get_eth_client_index()
335 mac_addr[3], mac_addr[4], mac_addr[5]); in get_eth_client_index()
348 mac_addr, in get_eth_client_index()
423 int handle_eth_hdr_init(uint8_t *mac_addr);
429 int handle_eth_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
432 int handle_eth_client_down_evt(uint8_t *mac_addr);
435 int handle_odu_hdr_init(uint8_t *mac_addr);
DIPACM_Defs.h263 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
278 uint8_t mac_addr[6]; member
331 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
338 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
345 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
385 uint8_t mac_addr[IPA_MAC_ADDR_SIZE]; member
DIPACM_Wan.h330 inline int get_wan_client_index(uint8_t *mac_addr) in get_wan_client_index() argument
336 mac_addr[0], mac_addr[1], mac_addr[2], in get_wan_client_index()
337 mac_addr[3], mac_addr[4], mac_addr[5]); in get_wan_client_index()
350 mac_addr, in get_wan_client_index()
502 int handle_wan_hdr_init(uint8_t *mac_addr);
504 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
/hardware/libhardware_legacy/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,
/hardware/qcom/wlan/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 …]

12345