Re: Associd out of (hardware) bounds

From: Martin Husemann <martin_at_NetBSD.org>
Date: Sun, 06 Nov 2022 12:28:11 UTC
On Fri, Nov 04, 2022 at 07:37:38PM +0000, Bjoern A. Zeeb wrote:
> Isn't iv_max_aid for hostap mode (only)?

I don't know, it is not documented anywhere that I can see.

> run_newassoc() seems to check for "1" in case of STA in FreeBSD:
> https://cgit.freebsd.org/src/blame/sys/dev/usb/wlan/if_run.c#n2780

Oh - I see, guess I did not understand that part when seeing it earlier.
Need to trace a bit further to see if I missed other similar instances.

Thanks for the hint!

Martin