/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_peer.c | 74 peer->mac_addr.raw, in dp_add_wds_entry_wrapper() 104 peer->mac_addr.raw, in dp_update_wds_entry_wrapper() 143 peer->mac_addr.raw, in dp_add_wds_entry_wrapper() 146 peer->mac_addr.raw, in dp_add_wds_entry_wrapper() 164 peer->mac_addr.raw, in dp_update_wds_entry_wrapper() 280 struct dp_peer *dp_find_peer_by_macaddr(struct dp_soc *soc, uint8_t *mac_addr, in dp_find_peer_by_macaddr() argument 294 ast_entry = dp_peer_ast_hash_find_soc(soc, mac_addr); in dp_find_peer_by_macaddr() 297 (soc, mac_addr, vdev_id); in dp_find_peer_by_macaddr() 314 DP_PEER_INFO_PARAMS_INIT(&peer_info, vdev_id, mac_addr, false, in dp_find_peer_by_macaddr() 357 union dp_align_mac_addr *mac_addr) in dp_peer_find_hash_index() argument [all …]
|
D | dp_txrx_wds.c | 87 QDF_MAC_ADDR_REF(ase->mac_addr.raw), in dp_pdev_build_peer_ase_list() 110 wds_entry->dest_addr = ase->mac_addr.raw; in dp_pdev_build_peer_ase_list() 120 QDF_MAC_ADDR_REF(ase->mac_addr.raw), in dp_pdev_build_peer_ase_list() 328 uint8_t mac_addr[QDF_MAC_ADDR_SIZE], i; in dp_tx_mec_handler() local 340 mac_addr[(QDF_MAC_ADDR_SIZE - 1) - i] = in dp_tx_mec_handler() 344 soc, QDF_MAC_ADDR_REF(mac_addr)); in dp_tx_mec_handler() 346 if (qdf_mem_cmp(mac_addr, vdev->mac_addr.raw, QDF_MAC_ADDR_SIZE)) { in dp_tx_mec_handler() 347 add_mec_status = dp_peer_mec_add_entry(soc, vdev, mac_addr); in dp_tx_mec_handler() 641 (struct qdf_mac_addr *)peer->mac_addr.raw)) { in dp_peer_ast_index_flow_queue_map_create() 649 (struct qdf_mac_addr *)peer->vdev->mac_addr.raw)) { in dp_peer_ast_index_flow_queue_map_create() [all …]
|
D | dp_peer.h | 660 QDF_MAC_ADDR_REF((_peer)->mac_addr.raw)); \ 672 QDF_MAC_ADDR_REF((_peer)->mac_addr.raw)); \ 828 uint8_t *mac_addr, enum cdp_txrx_ast_entry_type type, 1056 uint8_t *mac_addr); 1371 struct dp_peer *dp_find_peer_by_macaddr(struct dp_soc *soc, uint8_t *mac_addr, 1665 peer = dp_peer_find_hash_find(soc, peer_info->mac_addr, in dp_peer_hash_find_wrapper() 1675 soc, peer_info->mac_addr, in dp_peer_hash_find_wrapper() 1763 qdf_mem_copy(link_peer_info->mac_addr.raw, in dp_mld_peer_add_link_peer() 1764 link_peer->mac_addr.raw, in dp_mld_peer_add_link_peer() 1781 link_peer, QDF_MAC_ADDR_REF(link_peer->mac_addr.raw), in dp_mld_peer_add_link_peer() [all …]
|
D | dp_rx_defrag.c | 1016 union dp_align_mac_addr mac_addr; in dp_rx_defrag_nwifi_to_8023() local 1058 &mac_addr.raw[0]); in dp_rx_defrag_nwifi_to_8023() 1059 qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1062 &mac_addr.raw[0]); in dp_rx_defrag_nwifi_to_8023() 1063 qdf_mem_copy(eth_hdr->src_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1068 &mac_addr.raw[0]); in dp_rx_defrag_nwifi_to_8023() 1069 qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1072 &mac_addr.raw[0]); in dp_rx_defrag_nwifi_to_8023() 1073 qdf_mem_copy(eth_hdr->src_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1078 &mac_addr.raw[0]); in dp_rx_defrag_nwifi_to_8023() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/crypto/src/ |
D | wlan_cfg80211_crypto.c | 39 const u8 *mac_addr, in wlan_cfg80211_translate_ml_sta_key() argument 55 if (IS_WEP_CIPHER(crypto_key->cipher_type) && !mac_addr) { in wlan_cfg80211_translate_ml_sta_key() 65 qdf_mem_copy(&crypto_key->macaddr, mac_addr, in wlan_cfg80211_translate_ml_sta_key() 74 const u8 *mac_addr, in wlan_cfg80211_translate_key() argument 89 if (IS_WEP_CIPHER(crypto_key->cipher_type) && !mac_addr) { in wlan_cfg80211_translate_key() 100 qdf_mem_copy(&crypto_key->macaddr, mac_addr, QDF_MAC_ADDR_SIZE); in wlan_cfg80211_translate_key() 104 qdf_mem_copy(&crypto_key->macaddr, mac_addr, in wlan_cfg80211_translate_key() 118 const u8 *mac_addr, struct key_params *params, in wlan_cfg80211_store_link_key() argument 144 !mac_addr) { in wlan_cfg80211_store_link_key() 172 wlan_cfg80211_translate_ml_sta_key(key_index, key_type, mac_addr, in wlan_cfg80211_store_link_key() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
D | wlan_dp_softap_txrx.c | 110 struct qdf_mac_addr *mac_addr; in dp_softap_inspect_tx_eap_pkt() local 141 mac_addr = (struct qdf_mac_addr *)qdf_nbuf_data(nbuf) + in dp_softap_inspect_tx_eap_pkt() 145 mac_addr->bytes, in dp_softap_inspect_tx_eap_pkt() 159 QDF_MAC_ADDR_REF(mac_addr->bytes)); in dp_softap_inspect_tx_eap_pkt() 165 QDF_MAC_ADDR_REF(mac_addr->bytes)); in dp_softap_inspect_tx_eap_pkt() 175 struct qdf_mac_addr *mac_addr) in dp_softap_check_wait_for_tx_eap_pkt() argument 185 mac_addr->bytes, in dp_softap_check_wait_for_tx_eap_pkt() 196 QDF_MAC_ADDR_REF(mac_addr->bytes)); in dp_softap_check_wait_for_tx_eap_pkt() 215 int dp_post_dhcp_ind(struct wlan_dp_link *dp_link, uint8_t *mac_addr, in dp_post_dhcp_ind() argument 224 " , start=%u", QDF_MAC_ADDR_REF(mac_addr), dhcp_start); in dp_post_dhcp_ind() [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/logging/inc/ |
D | wlan_roam_debug.h | 30 #define wlan_rec_conn_info(vdev_id, op, mac_addr, arg1, arg2) \ argument 31 wlan_rec_debug_log(REC_CONN, vdev_id, op, 0, mac_addr, 0, arg1,\ 115 struct qdf_mac_addr mac_addr; member 153 uint16_t peer_id, void *mac_addr, 169 uint16_t peer_id, const void *mac_addr, 219 uint16_t peer_id, void *mac_addr, in wlan_roam_debug_log() argument 226 uint16_t peer_id, const void *mac_addr, in wlan_rec_debug_log() argument
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_txrx_peer_find.c | 142 union ol_txrx_align_mac_addr_t *mac_addr) in ol_txrx_peer_find_hash_index() argument 147 mac_addr->align2.bytes_ab ^ in ol_txrx_peer_find_hash_index() 148 mac_addr->align2.bytes_cd ^ mac_addr->align2.bytes_ef; in ol_txrx_peer_find_hash_index() 160 index = ol_txrx_peer_find_hash_index(pdev, &peer->mac_addr); in ol_txrx_peer_find_hash_add() 179 union ol_txrx_align_mac_addr_t local_mac_addr_aligned, *mac_addr; in ol_txrx_peer_vdev_find_hash() local 184 mac_addr = (union ol_txrx_align_mac_addr_t *)peer_mac_addr; in ol_txrx_peer_vdev_find_hash() 188 mac_addr = &local_mac_addr_aligned; in ol_txrx_peer_vdev_find_hash() 190 index = ol_txrx_peer_find_hash_index(pdev, mac_addr); in ol_txrx_peer_vdev_find_hash() 193 if (ol_txrx_peer_find_mac_addr_cmp(mac_addr, &peer->mac_addr) == in ol_txrx_peer_vdev_find_hash() 214 union ol_txrx_align_mac_addr_t local_mac_addr_aligned, *mac_addr; in ol_txrx_peer_find_hash_find_get_ref() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/logging/src/ |
D | wlan_roam_debug.c | 151 uint16_t peer_id, void *mac_addr, in wlan_roam_debug_log() argument 154 wlan_rec_debug_log(REC_ROAM, vdev_id, op, peer_id, mac_addr, in wlan_roam_debug_log() 161 uint16_t peer_id, const void *mac_addr, in wlan_rec_debug_log() argument 180 if (mac_addr) in wlan_rec_debug_log() 181 qdf_mem_copy(rec->mac_addr.bytes, mac_addr, in wlan_rec_debug_log() 184 qdf_mem_zero(rec->mac_addr.bytes, in wlan_rec_debug_log() 268 QDF_MAC_ADDR_REF(dbg_rec->mac_addr.bytes)); in wlan_roam_rec_print() 284 QDF_MAC_ADDR_REF(dbg_rec->mac_addr.bytes)); in wlan_conn_rec_print() 290 QDF_MAC_ADDR_REF(dbg_rec->mac_addr.bytes)); in wlan_conn_rec_print()
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/ |
D | wlan_crypto_obj_mgr.c | 95 union crypto_align_mac_addr *mac_addr, in crypto_hash_index() argument 101 mac_addr->align2.bytes_ab ^ in crypto_hash_index() 102 mac_addr->align2.bytes_cd ^ in crypto_hash_index() 103 mac_addr->align2.bytes_ef; in crypto_hash_index() 130 uint8_t *mac_addr) in crypto_hash_find_by_linkid_and_macaddr() argument 137 mac_addr, QDF_MAC_ADDR_SIZE); in crypto_hash_find_by_linkid_and_macaddr() 146 &hash_entry->mac_addr)) { in crypto_hash_find_by_linkid_and_macaddr() 150 QDF_MAC_ADDR_REF(mac_addr)); in crypto_hash_find_by_linkid_and_macaddr() 163 index = crypto_hash_index(psoc, &hash_entry->mac_addr, link_id); in crypto_hash_add() 191 QDF_MAC_ADDR_REF(new_entry->mac_addr.raw)); in wlan_crypto_add_key_entry() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/crypto/inc/ |
D | wlan_cfg80211_crypto.h | 53 const u8 *mac_addr, 71 const u8 *mac_addr, 89 const u8 *mac_addr, struct key_params *params, 106 const u8 *mac_addr, struct key_params *params);
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_wds.c | 61 uint8_t *mac_addr) in hdd_wds_replace_peer_mac() argument 67 if (!cdp_find_peer_exist(soc, OL_TXRX_PDEV_ID, mac_addr)) { in hdd_wds_replace_peer_mac() 76 if (!cdp_peer_get_ast_info_by_soc(soc, mac_addr, in hdd_wds_replace_peer_mac() 80 qdf_mem_copy(mac_addr, ast_entry_info.peer_mac_addr, in hdd_wds_replace_peer_mac()
|
D | wlan_hdd_nan_datapath.c | 397 struct qdf_mac_addr *mac_addr) in hdd_get_random_nan_mac_addr() argument 410 qdf_mem_copy(mac_addr, &adapter->mac_addr, in hdd_get_random_nan_mac_addr() 411 sizeof(*mac_addr)); in hdd_get_random_nan_mac_addr() 419 mac_addr->bytes[byte_pos + 1] ^= mask; in hdd_get_random_nan_mac_addr() 421 qdf_get_random_bytes(mac_addr, sizeof(*mac_addr)); in hdd_get_random_nan_mac_addr() 426 mac_addr->bytes[0] = 0x2; in hdd_get_random_nan_mac_addr() 432 mac_addr->bytes[5] &= 0xFE; in hdd_get_random_nan_mac_addr() 437 mac_addr, sizeof(*mac_addr)))) { in hdd_get_random_nan_mac_addr() 449 mac_addr, sizeof(*mac_addr)))) { in hdd_get_random_nan_mac_addr() 457 adapter = hdd_get_adapter_by_macaddr(hdd_ctx, mac_addr->bytes); in hdd_get_random_nan_mac_addr() [all …]
|
D | wlan_hdd_softap_tx_rx.c | 456 struct qdf_mac_addr *mac_addr; in hdd_softap_deregister_sta() local 488 mac_addr = &adapter->mac_addr; in hdd_softap_deregister_sta() 492 mac_addr = &sta->mld_addr; in hdd_softap_deregister_sta() 494 mac_addr = &sta->sta_mac; in hdd_softap_deregister_sta() 502 mac_addr->bytes, in hdd_softap_deregister_sta() 557 qdf_mem_copy(&txrx_desc.peer_addr, &adapter->mac_addr, in hdd_softap_register_sta() 758 struct qdf_mac_addr mac_addr; in hdd_softap_change_per_sta_state() local 774 qdf_mem_copy(&mac_addr, &adapter->mac_addr, QDF_MAC_ADDR_SIZE); in hdd_softap_change_per_sta_state() 776 qdf_mem_copy(&mac_addr, sta_mac, QDF_MAC_ADDR_SIZE); in hdd_softap_change_per_sta_state() 779 hdd_change_peer_state(adapter->deflink, mac_addr.bytes, state); in hdd_softap_change_per_sta_state() [all …]
|
D | wlan_hdd_sta_info.c | 188 const uint8_t *mac_addr, in hdd_get_sta_info_by_mac() argument 193 if (!mac_addr || !sta_info_container || in hdd_get_sta_info_by_mac() 194 qdf_is_macaddr_zero((struct qdf_mac_addr *)mac_addr)) { in hdd_get_sta_info_by_mac() 203 (struct qdf_mac_addr *)mac_addr) || in hdd_get_sta_info_by_mac() 205 (struct qdf_mac_addr *)mac_addr)) { in hdd_get_sta_info_by_mac()
|
D | wlan_hdd_pre_cac.c | 129 wlan_hdd_release_intf_addr(hdd_ctx, pre_cac_adapter->mac_addr.bytes); in hdd_close_pre_cac_adapter() 215 uint8_t *mac_addr = NULL; in __wlan_hdd_request_pre_cac() local 293 mac_addr = wlan_hdd_get_intf_addr(hdd_ctx, QDF_SAP_MODE); in __wlan_hdd_request_pre_cac() 294 if (!mac_addr) { in __wlan_hdd_request_pre_cac() 324 mac_addr, NET_NAME_UNKNOWN, in __wlan_hdd_request_pre_cac() 462 if (mac_addr) in __wlan_hdd_request_pre_cac() 463 wlan_hdd_release_intf_addr(hdd_ctx, mac_addr); in __wlan_hdd_request_pre_cac()
|
D | wlan_hdd_station_info.c | 1382 struct qdf_mac_addr mac_addr) in hdd_get_cached_station_remote() argument 1392 mac_addr.bytes, in hdd_get_cached_station_remote() 1397 QDF_MAC_ADDR_REF(mac_addr.bytes)); in hdd_get_cached_station_remote() 1530 struct qdf_mac_addr mac_addr, in hdd_get_connected_station_info() argument 1555 link_info->vdev, mac_addr.bytes, in hdd_get_connected_station_info() 1657 struct qdf_mac_addr mac_addr) in hdd_get_station_remote() argument 1665 mac_addr.bytes, in hdd_get_station_remote() 1670 mac_addr); in hdd_get_station_remote() 1674 status = hdd_get_connected_station_info(link_info, mac_addr, stainfo); in hdd_get_station_remote() 1730 struct qdf_mac_addr mac_addr; in __hdd_cfg80211_get_station_cmd() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_util.h | 371 static inline bool qdf_is_macaddr_zero(const struct qdf_mac_addr *mac_addr) in qdf_is_macaddr_zero() argument 375 return qdf_is_macaddr_equal(mac_addr, &zero_mac_addr); in qdf_is_macaddr_zero() 386 static inline void qdf_zero_macaddr(struct qdf_mac_addr *mac_addr) in qdf_zero_macaddr() argument 388 __qdf_zero_macaddr(mac_addr); in qdf_zero_macaddr() 404 static inline bool qdf_is_macaddr_group(struct qdf_mac_addr *mac_addr) in qdf_is_macaddr_group() argument 406 return mac_addr->bytes[0] & 0x01; in qdf_is_macaddr_group() 420 static inline bool qdf_is_macaddr_broadcast(const struct qdf_mac_addr *mac_addr) in qdf_is_macaddr_broadcast() argument 423 return qdf_is_macaddr_equal(mac_addr, &broadcast_mac_addr); in qdf_is_macaddr_broadcast() 450 static inline void qdf_set_macaddr_broadcast(struct qdf_mac_addr *mac_addr) in qdf_set_macaddr_broadcast() argument 452 __qdf_set_macaddr_broadcast(mac_addr); in qdf_set_macaddr_broadcast()
|
/wlan-driver/qcacld-3.0/components/dp/core/inc/ |
D | wlan_dp_txrx.h | 88 struct qdf_mac_addr *mac_addr); 100 uint8_t *mac_addr, bool dhcp_start); 135 uint8_t *mac_addr, bool dhcp_start) in dp_post_dhcp_ind() argument 435 struct qdf_mac_addr *mac_addr); 491 struct qdf_mac_addr *mac_addr) in dp_get_tx_resource() argument 658 if (qdf_mem_cmp(qdf_nbuf_data(nbuf), dp_intf->mac_addr.bytes, in dp_rx_pkt_da_check() 662 QDF_MAC_ADDR_REF(dp_intf->mac_addr.bytes)); in dp_rx_pkt_da_check() 663 qdf_mem_copy(qdf_nbuf_data(nbuf), dp_intf->mac_addr.bytes, in dp_rx_pkt_da_check()
|
/wlan-driver/qca-wifi-host-cmn/dp/inc/ |
D | cdp_txrx_sawf.h | 350 cdp_sawf_peer_config_ul(ol_txrx_soc_handle soc, uint8_t *mac_addr, uint8_t tid, in cdp_sawf_peer_config_ul() argument 362 return soc->ops->sawf_ops->peer_config_ul(soc, mac_addr, tid, in cdp_sawf_peer_config_ul() 381 cdp_sawf_peer_flow_count(ol_txrx_soc_handle soc, uint8_t *mac_addr, in cdp_sawf_peer_flow_count() argument 394 (soc, mac_addr, svc_id, direction, start_or_stop, peer_mac, in cdp_sawf_peer_flow_count() 406 cdp_swaf_peer_sla_configuration(ol_txrx_soc_handle soc, uint8_t *mac_addr, in cdp_swaf_peer_sla_configuration() argument 416 return soc->ops->sawf_ops->swaf_peer_sla_configuration(soc, mac_addr, in cdp_swaf_peer_sla_configuration() 448 cdp_swaf_peer_sla_configuration(ol_txrx_soc_handle soc, uint8_t *mac_addr, in cdp_swaf_peer_sla_configuration() argument 473 cdp_sawf_3_link_peer_flow_count(ol_txrx_soc_handle soc, uint8_t *mac_addr, in cdp_sawf_3_link_peer_flow_count() argument 484 (soc, mac_addr, peer_id, mark_metadata); in cdp_sawf_3_link_peer_flow_count()
|
/wlan-driver/qcacld-3.0/components/tdls/dispatcher/inc/ |
D | wlan_tdls_api.h | 124 struct qdf_mac_addr *mac_addr); 135 struct qdf_mac_addr *mac_addr, 258 struct qdf_mac_addr *mac_addr) in wlan_tdls_update_tx_pkt_cnt() argument 264 struct qdf_mac_addr *mac_addr, in wlan_tdls_update_rx_pkt_cnt() argument
|
D | wlan_tdls_ucfg_api.h | 334 struct qdf_mac_addr *mac_addr, 345 struct qdf_mac_addr *mac_addr); 542 struct qdf_mac_addr *mac_addr, in ucfg_tdls_update_rx_pkt_cnt() argument 549 struct qdf_mac_addr *mac_addr) in ucfg_tdls_update_tx_pkt_cnt() argument
|
/wlan-driver/qca-wifi-host-cmn/iot_sim/core/ |
D | iot_sim_utils.c | 221 struct qdf_mac_addr *mac_addr) in iot_sim_apply_delay_drop_rule() argument 274 (uint8_t *)mac_addr, in iot_sim_apply_delay_drop_rule() 330 struct qdf_mac_addr *mac_addr; in iot_sim_frame_update() local 380 mac_addr = (struct qdf_mac_addr *)wh->i_addr1; in iot_sim_frame_update() 382 mac_addr = (struct qdf_mac_addr *)wh->i_addr2; in iot_sim_frame_update() 384 peer_rule = iot_sim_find_peer_from_mac(isc, mac_addr); in iot_sim_frame_update() 437 isc, mac_addr); in iot_sim_frame_update()
|
D | iot_sim_common.c | 933 struct qdf_mac_addr *mac_addr; in iot_sim_delay_cb() local 954 mac_addr = (struct qdf_mac_addr *)wh->i_addr2; in iot_sim_delay_cb() 956 (uint8_t *)mac_addr, in iot_sim_delay_cb() 1187 struct qdf_mac_addr mac_addr = QDF_MAC_ADDR_BCAST_INIT; in iot_sim_debug_content_change_write() local 1209 &mac_addr); in iot_sim_debug_content_change_write() 1232 status = iot_sim_send_rule_to_fw(isc, oper, &mac_addr, type, subtype, in iot_sim_debug_content_change_write() 1242 &mac_addr, in iot_sim_debug_content_change_write() 1246 status = iot_sim_add_rule_for_mac(isc, oper, &mac_addr, in iot_sim_debug_content_change_write() 1381 struct qdf_mac_addr mac_addr = QDF_MAC_ADDR_BCAST_INIT; in iot_sim_debug_delay_write() local 1402 &action, &delay, &mac_addr); in iot_sim_debug_delay_write() [all …]
|
/wlan-driver/qca-wifi-host-cmn/ipa/core/src/ |
D | wlan_ipa_core.c | 1441 qdf_is_macaddr_equal(&sta_map->mac_addr, in wlan_ipa_set_sap_client_auth() 1458 qdf_is_macaddr_equal(&sta_map->mac_addr, in wlan_ipa_get_sap_client_auth() 2072 const uint8_t *mac_addr) in wlan_ipa_uc_find_add_assoc_sta() argument 2080 &ipa_ctx->assoc_stas_map[idx].mac_addr, in wlan_ipa_uc_find_add_assoc_sta() 2081 (struct qdf_mac_addr *)mac_addr))) { in wlan_ipa_uc_find_add_assoc_sta() 2088 QDF_MAC_ADDR_REF(mac_addr)); in wlan_ipa_uc_find_add_assoc_sta() 2096 mac_addr, mac_addr, in wlan_ipa_uc_find_add_assoc_sta() 2104 QDF_MAC_ADDR_FMT, QDF_MAC_ADDR_REF(mac_addr)); in wlan_ipa_uc_find_add_assoc_sta() 2111 &ipa_ctx->assoc_stas_map[idx].mac_addr, in wlan_ipa_uc_find_add_assoc_sta() 2112 (struct qdf_mac_addr *)mac_addr))) { in wlan_ipa_uc_find_add_assoc_sta() [all …]
|