AID limitations in hostAPD

Jouni Malinen j at w1.fi
Wed Mar 18 05:11:44 EDT 2015


On Wed, Mar 18, 2015 at 07:05:05AM +0000, Atul Joshi wrote:
> I  can see that the AIDS are assigned from 1 onwards by hostAPD.
> It would mean that if an AP supports (or GO), 8 stations, it would have to keep changing the TIM IE length based on if the TIM bit needs to be set or not. (If no station is in PS or no bit in TIM bit PVB is set, the PVB length, according to the spec has to be 1 octet rather than 2 octets)
> Instead if it could assign the AID from 16-23 for example, it will not have to  keep changing the length of the TIM IE.
> Can I  have some thoughts from what the group thinks and if others agree, I  can propose a patch.

It is up to the driver to decide how long a TIM element to send. If you
want to make it fixed length, you can do so. I don't see any need for
increasing the AIDs assigned by hostapd for this purpose (nor is such a
change really desired for other reasons as Johannes pointed out).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list