Lines Matching refs:ase
1192 struct dp_ast_entry *ase) in dp_peer_ast_hash_add() argument
1196 index = dp_peer_ast_hash_index(soc, &ase->mac_addr); in dp_peer_ast_hash_add()
1197 TAILQ_INSERT_TAIL(&soc->ast_hash.bins[index], ase, hash_list_elem); in dp_peer_ast_hash_add()
1201 struct dp_ast_entry *ase) in dp_peer_ast_hash_remove() argument
1210 index = dp_peer_ast_hash_index(soc, &ase->mac_addr); in dp_peer_ast_hash_remove()
1215 ase->peer_id, index, QDF_MAC_ADDR_REF(ase->mac_addr.raw)); in dp_peer_ast_hash_remove()
1218 if (tmpase == ase) { in dp_peer_ast_hash_remove()
1227 TAILQ_REMOVE(&soc->ast_hash.bins[index], ase, hash_list_elem); in dp_peer_ast_hash_remove()
1236 struct dp_ast_entry *ase; in dp_peer_ast_hash_find_by_vdevid() local
1243 TAILQ_FOREACH(ase, &soc->ast_hash.bins[index], hash_list_elem) { in dp_peer_ast_hash_find_by_vdevid()
1244 if ((vdev_id == ase->vdev_id) && in dp_peer_ast_hash_find_by_vdevid()
1245 !dp_peer_find_mac_addr_cmp(mac_addr, &ase->mac_addr)) { in dp_peer_ast_hash_find_by_vdevid()
1246 return ase; in dp_peer_ast_hash_find_by_vdevid()
1259 struct dp_ast_entry *ase; in dp_peer_ast_hash_find_by_pdevid() local
1266 TAILQ_FOREACH(ase, &soc->ast_hash.bins[index], hash_list_elem) { in dp_peer_ast_hash_find_by_pdevid()
1267 if ((pdev_id == ase->pdev_id) && in dp_peer_ast_hash_find_by_pdevid()
1268 !dp_peer_find_mac_addr_cmp(mac_addr, &ase->mac_addr)) { in dp_peer_ast_hash_find_by_pdevid()
1269 return ase; in dp_peer_ast_hash_find_by_pdevid()
1281 struct dp_ast_entry *ase; in dp_peer_ast_hash_find_soc() local
1291 TAILQ_FOREACH(ase, &soc->ast_hash.bins[index], hash_list_elem) { in dp_peer_ast_hash_find_soc()
1292 if (dp_peer_find_mac_addr_cmp(mac_addr, &ase->mac_addr) == 0) { in dp_peer_ast_hash_find_soc()
1293 return ase; in dp_peer_ast_hash_find_soc()
1307 struct dp_ast_entry *ase; in dp_peer_ast_hash_find_soc_by_type() local
1317 TAILQ_FOREACH(ase, &soc->ast_hash.bins[index], hash_list_elem) { in dp_peer_ast_hash_find_soc_by_type()
1318 if (dp_peer_find_mac_addr_cmp(mac_addr, &ase->mac_addr) == 0 && in dp_peer_ast_hash_find_soc_by_type()
1319 ase->type == type) { in dp_peer_ast_hash_find_soc_by_type()
1320 return ase; in dp_peer_ast_hash_find_soc_by_type()
2185 struct dp_ast_entry *ase) in dp_peer_ast_hash_remove() argument