Home
last modified time | relevance | path

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

123

/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 …]
DIPACM_Lan.cpp830 handle_odu_hdr_init(data->mac_addr); in event_callback()
853 handle_eth_hdr_init(data->mac_addr); in event_callback()
860 handle_eth_client_route_rule(data->mac_addr, data->iptype); in event_callback()
866 eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->mac_addr); in event_callback()
894 eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_DEL, IPA_IP_MAX, data->mac_addr); in event_callback()
897 handle_eth_client_down_evt(data->mac_addr); in event_callback()
972 clnt_indx = get_eth_client_index(data->mac_addr); in handle_del_ipv6_addr()
1632 int IPACM_Lan::handle_eth_hdr_init(uint8_t *mac_addr) in handle_eth_hdr_init() argument
1644 clnt_indx = get_eth_client_index(mac_addr); in handle_eth_hdr_init()
1662 mac_addr, in handle_eth_hdr_init()
[all …]
DIPACM_IfaceManager.cpp98 data_all->mac_addr, in event_callback()
191 memcpy(ifmgr_data.mac_addr, StaData->mac_addr, sizeof(ifmgr_data.mac_addr)); in event_callback()
422 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance()
DIPACM_Wan.cpp91 uint8_t *mac_addr) : IPACM_Iface(iface_index) in IPACM_Wan() argument
99 mac_addr = NULL; in IPACM_Wan()
1114 if(memcmp(data->mac_addr, in event_callback()
1116 sizeof(data->mac_addr)) == 0) in event_callback()
1119 data->mac_addr[0], data->mac_addr[1], data->mac_addr[2], in event_callback()
1120 data->mac_addr[3], data->mac_addr[4], data->mac_addr[5]); in event_callback()
1124 handle_wan_hdr_init(data->mac_addr); in event_callback()
1131 handle_wan_client_route_rule(data->mac_addr, data->iptype); in event_callback()
5137 int IPACM_Wan::handle_wan_hdr_init(uint8_t *mac_addr) in handle_wan_hdr_init() argument
5149 clnt_indx = get_wan_client_index(mac_addr); in handle_wan_hdr_init()
[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/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,
Drtt.h62 mac_addr addr; // peer device mac address
109 mac_addr addr; // device mac address
159 unsigned num_devices, mac_addr addr[]);
Dgscan.h91 mac_addr bssid;
240 mac_addr bssid; // AP BSSID
281 mac_addr bssid; // BSSID
Dwifi_hal.h80 typedef byte mac_addr[6]; typedef
267 mac_addr[]);
296 wifi_error (* wifi_enable_tdls)(wifi_interface_handle, mac_addr, wifi_tdls_params *,
298 wifi_error (* wifi_disable_tdls)(wifi_interface_handle, mac_addr);
299 wifi_error (*wifi_get_tdls_status) (wifi_interface_handle, mac_addr, wifi_tdls_status *);
Droam.h43 mac_addr blacklist_bssid[MAX_BLACKLIST_BSSID]; // List of bssids which should not be considered
/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 …]
Dtdls.cpp104 mac_addr addr; in handleEvent()
107 memset(&addr, 0, sizeof(mac_addr)); in handleEvent()
348 mac_addr addr, in wifi_enable_tdls()
429 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr) in wifi_disable_tdls()
478 wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr, in wifi_get_tdls_status()
Droamcommand.h31 mac_addr bssids[MAX_BLACKLIST_BSSID]; // blacklisted BSSIDs
Dcpp_bindings.h261 int put_addr(int attribute, mac_addr value) { in put_addr()
262 return nla_put(mMsg, attribute, sizeof(mac_addr), value); in put_addr()
442 virtual int put_addr(int attribute, mac_addr value);
454 mac_addr addr);
Drssi_monitor.cpp187 mac_addr addr; in handleEvent()
196 memset(addr, 0, sizeof(mac_addr)); in handleEvent()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_p2p_iface_hidl_test.cpp404 std::array<uint8_t, 6> mac_addr; in TEST_F() local
405 memcpy(mac_addr.data(), kTestMacAddr, mac_addr.size()); in TEST_F()
406 p2p_iface_->getSsid(mac_addr, [](const SupplicantStatus& status, in TEST_F()
417 std::array<uint8_t, 6> mac_addr; in TEST_F() local
418 memcpy(mac_addr.data(), kTestMacAddr, mac_addr.size()); in TEST_F()
420 mac_addr, [](const SupplicantStatus& status, uint32_t /* caps */) { in TEST_F()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.h200 mac_addr bssid;
206 mac_addr bssid; // BSSID
Drtt.cpp429 int createTeardownRequest(WifiRequest& request, unsigned num_devices, mac_addr addr[]) { in createTeardownRequest()
484 int cancel_specific(unsigned num_devices, mac_addr addr[]) { in cancel_specific()
520 mac_addr bssid; in handleEvent()
523 memcpy(bssid, it2.get_data(), sizeof(mac_addr)); in handleEvent()
634 unsigned num_devices, mac_addr addr[]) in wifi_rtt_range_cancel()

123