R: [RPCD PATCH v4 3/4] iwinfo: add ht and vht operation info to wifi scan

Jo-Philipp Wich jo at mein.io
Wed Jan 6 11:52:03 EST 2021


Hi,

> I didn't add the check here as we can assume that ht_operation are always present.
> Should I add this anyway? 

why can we assume it? They way I see it, HT info is only populated if IE type
61 was present, valid and parsed from BSS info, otherwise the structure mightr
be present but zero-initialized.

It is counter-intuitive to include a `"ht_operation": { ... }` object in the
JSON dump for legacy stations that do not present this information.

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210106/3aa7649f/attachment.sig>


More information about the openwrt-devel mailing list