Searched refs:aid_map (Results 1 – 1 of 1) sorted by relevance
475 unsigned long *aid_map; in mesh_allocate_aid() local478 aid_map = kcalloc(BITS_TO_LONGS(IEEE80211_MAX_AID + 1), in mesh_allocate_aid()479 sizeof(*aid_map), GFP_KERNEL); in mesh_allocate_aid()480 if (!aid_map) in mesh_allocate_aid()484 __set_bit(0, aid_map); in mesh_allocate_aid()488 __set_bit(sta->sta.aid, aid_map); in mesh_allocate_aid()491 aid = find_first_zero_bit(aid_map, IEEE80211_MAX_AID + 1); in mesh_allocate_aid()492 kfree(aid_map); in mesh_allocate_aid()