Searched refs:STA_HASH (Results 1 – 3 of 3) sorted by relevance
57 s = iface->ap_hash[STA_HASH(ap)]; in ap_get_ap()92 ap->hnext = iface->ap_hash[STA_HASH(ap->addr)]; in ap_ap_hash_add()93 iface->ap_hash[STA_HASH(ap->addr)] = ap; in ap_ap_hash_add()101 s = iface->ap_hash[STA_HASH(ap->addr)]; in ap_ap_hash_del()104 iface->ap_hash[STA_HASH(ap->addr)] = s->hnext; in ap_ap_hash_del()
73 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta()126 sta->hnext = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add()127 hapd->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add()135 s = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del()138 hapd->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del()
167 #define STA_HASH(sta) (sta[5]) macro