Searched refs:aid_map (Results 1 – 1 of 1) sorted by relevance
469 unsigned long *aid_map; in mesh_allocate_aid() local472 aid_map = kcalloc(BITS_TO_LONGS(IEEE80211_MAX_AID + 1), in mesh_allocate_aid()473 sizeof(*aid_map), GFP_KERNEL); in mesh_allocate_aid()474 if (!aid_map) in mesh_allocate_aid()478 __set_bit(0, aid_map); in mesh_allocate_aid()482 __set_bit(sta->sta.aid, aid_map); in mesh_allocate_aid()485 aid = find_first_zero_bit(aid_map, IEEE80211_MAX_AID + 1); in mesh_allocate_aid()486 kfree(aid_map); in mesh_allocate_aid()