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()
67 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta()120 sta->hnext = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add()121 hapd->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add()129 s = hapd->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del()132 hapd->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del()
110 #define STA_HASH(sta) (sta[5]) macro