Searched refs:STA_HASH (Results 1 – 4 of 4) 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()
75 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta()128 sta->hnext = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add()129 hapd->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add()137 s = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del()140 hapd->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del()
158 #define STA_HASH(sta) (sta[5]) macro
100 #define STA_HASH(addr) \ macro257 hash = STA_HASH(macaddr); in sta_add()1326 int hash = STA_HASH(macaddr); in sta_lookup()