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()
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()
187 #define STA_HASH(sta) (sta[5]) macro
98 #define STA_HASH(addr) \ macro255 hash = STA_HASH(macaddr); in sta_add()1330 int hash = STA_HASH(macaddr); in sta_lookup()