Searched refs:aid_map (Results 1 – 1 of 1) sorted by relevance
437 unsigned long *aid_map; in mesh_allocate_aid() local440 aid_map = kcalloc(BITS_TO_LONGS(IEEE80211_MAX_AID + 1), in mesh_allocate_aid()441 sizeof(*aid_map), GFP_KERNEL); in mesh_allocate_aid()442 if (!aid_map) in mesh_allocate_aid()446 __set_bit(0, aid_map); in mesh_allocate_aid()450 __set_bit(sta->sta.aid, aid_map); in mesh_allocate_aid()453 aid = find_first_zero_bit(aid_map, IEEE80211_MAX_AID + 1); in mesh_allocate_aid()454 kfree(aid_map); in mesh_allocate_aid()