]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/ieee802_11.c
Replace sta_aid array with bitfield
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 25 Mar 2009 13:54:25 +0000 (15:54 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Mar 2009 13:54:25 +0000 (15:54 +0200)
commit2991469cd131355fef2fca55605b76d81cdfa3ea
treeab5b2ca2ac12e83aa928190b4a27e955b0a27413
parentd42a62b36c98b6676cead873639d051c5469cde3
Replace sta_aid array with bitfield

The actual pointer to struct sta_info was not really used and it is
enough to use a single bit to indicate whether an AID is allocated. This
makes the BSS data take less memory while making the allocation routine
faster and removing the arbitrary MAX_AID_TABLE_SIZE limit of 128 STAs.
hostapd/ap.h
hostapd/hostapd.h
hostapd/ieee802_11.c
hostapd/sta_info.c