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()
77 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta()130 sta->hnext = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add()131 hapd->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add()139 s = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del()142 hapd->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del()
194 #define STA_HASH(sta) (sta[5]) macro