[PATCH] Add to bss command option RANGE=ALL|N1-N2 [MASK=0xH]
j at w1.fi
Sat Apr 7 05:56:59 EDT 2012
On Mon, Mar 26, 2012 at 12:43:26PM -0700, Dmitry Shmidt wrote:
> Add to bss command ability to get information about several bss's in
> one call and to limit amount of fields
Thanks! Applied in three commits to make it easier to review the changes
and to help with merge conflict resolution with other branches. In
addition, I changed the RANGE handling a bit to allow set of BSSes to be
fetched even when not knowing the exact id of the last entry.
While reviewing the changes for the RANGE parameter, I started to think
whether it really is best to use the BSS id here as the value. That
identifier is given a unique number for each BSS and when old entries
are expired, there will be gaps in the sequence of IDs (e.g., the BSS
table could include ids 7, 10, 14-18, 23). It could be simpler to use
the position of the BSS entry where that example would turn into 0-7.
This is similar to the use of "BSS ID-7" and "BSS 0" to fetch the first
entry in this particular example.
Jouni Malinen PGP id EFC895FA
More information about the HostAP