Re: Copy-and-paste error on the page for the "antenna noise" field?

Johannes Berg <[email protected]> Thu, 19 Jan 2023 20:17:41 +0100
Newsgroups org.netbsd.radiotap
Message-ID <[email protected]>
On Thu, 2023-01-12 at 00:58 -0800, Guy Harris wrote:
> On Jan 12, 2023, at 12:30 AM, Johannes Berg <[email protected]> w=
rote:
>=20
> > I don't know what adapter they're using to capture, but it _looks_ like
> > mac80211 (with the per-antenna signal encoded that way),
>=20
> Should that encoding scheme be documented, so as to encourage its use
> in other OS's 802.11 frameworks?

I don't know.

For the record, the encoding is to use a separate radiotap namespace for
each antenna, and then put an antenna signal and antenna field into it,
with the signal value and antenna number, respectively.

It's honestly not the greatest encoding, but it's sometimes useful to
have that data.

I've been hoping to replace namespaces with TLVs, but obviously in this
case that doesn't work since the namespace holds the two pieces of
information together ...

johannes