Home
last modified time | relevance | path

Searched refs:mec_hash (Results 1 – 4 of 4) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_txrx_wds.c200 for (index = 0; index <= soc->mec_hash.mask; index++) { in dp_peer_age_mec_entries()
205 if (!TAILQ_EMPTY(&soc->mec_hash.bins[index])) { in dp_peer_age_mec_entries()
206 TAILQ_FOREACH_SAFE(mecentry, &soc->mec_hash.bins[index], in dp_peer_age_mec_entries()
H A Ddp_peer.c786 soc->mec_hash.mask = hash_elems - 1; in dp_peer_mec_hash_attach()
787 soc->mec_hash.idx_bits = log2; in dp_peer_mec_hash_attach()
793 soc->mec_hash.bins = qdf_mem_malloc(hash_elems * in dp_peer_mec_hash_attach()
797 if (!soc->mec_hash.bins) in dp_peer_mec_hash_attach()
801 TAILQ_INIT(&soc->mec_hash.bins[i]); in dp_peer_mec_hash_attach()
822 index ^= index >> soc->mec_hash.idx_bits; in dp_peer_mec_hash_index()
823 index &= soc->mec_hash.mask; in dp_peer_mec_hash_index()
840 TAILQ_FOREACH(mecentry, &soc->mec_hash.bins[index], hash_list_elem) { in dp_peer_mec_hash_find_by_pdevid()
865 TAILQ_INSERT_TAIL(&soc->mec_hash.bins[index], mecentry, hash_list_elem); in dp_peer_mec_hash_add()
934 TAILQ_REMOVE(&soc->mec_hash.bins[index], mecentry, in dp_peer_mec_detach_entry()
[all …]
H A Ddp_main.c478 if (!soc->mec_hash.mask) in dp_peer_mec_flush_entries()
481 if (!soc->mec_hash.bins) in dp_peer_mec_flush_entries()
488 for (index = 0; index <= soc->mec_hash.mask; index++) { in dp_peer_mec_flush_entries()
489 if (!TAILQ_EMPTY(&soc->mec_hash.bins[index])) { in dp_peer_mec_flush_entries()
490 TAILQ_FOREACH_SAFE(mecentry, &soc->mec_hash.bins[index], in dp_peer_mec_flush_entries()
528 for (index = 0; index <= soc->mec_hash.mask; index++) { in dp_print_mec_stats()
530 if (TAILQ_EMPTY(&soc->mec_hash.bins[index])) { in dp_print_mec_stats()
535 TAILQ_FOREACH(mecentry, &soc->mec_hash.bins[index], in dp_print_mec_stats()
H A Ddp_types.h3166 } mec_hash; member