Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2022 19:37:38 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Martin Husemann <martin@NetBSD.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Associd out of (hardware) bounds
Message-ID:  <34q46n5-20q8-8qp4-p9q4-nsr9851p38pn@mnoonqbm.arg>
In-Reply-To: <20221031193019.GA16346@mail.duskware.de>

index | next in thread | previous in thread | raw e-mail

On Mon, 31 Oct 2022, Martin Husemann wrote:

Hi Martin,


>
> I have a reproducable failure in my version of the net80211 code
> where I don't clearly see if (or why not) this would happen in the
> FreeBSD original too...
>
> I have a run(4) usb wifi adapter, which has a hardware limit on the
> assoc table and so sets vap->iv_max_aid (to RT2870_WCID_MAX) and also
> sets the ic->ic_newassoc callback to run_newassoc to handle this.
>
> I am in station mode and start wpa_supplicant to join my home network.
[...]
> Any here tested a run(4) recently?

Isn't iv_max_aid for hostap mode (only)?

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

/bz

-- 
Bjoern A. Zeeb                                                     r15:7


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34q46n5-20q8-8qp4-p9q4-nsr9851p38pn>