> diff --git a/include/iwinfo.h b/include/iwinfo.h > index b3f5470..1559837 100644 > --- a/include/iwinfo.h > +++ b/include/iwinfo.h > @@ -145,6 +145,24 @@ struct iwinfo_crypto_entry { > uint8_t auth_suites; > uint8_t auth_algs; > }; > +struct iwinfo_channel_info_entry { > + /** > + * sec_channel_offset - Secondary channel offset for HT40 > + * > + * 0 = HT40 disabled, > + * -1 = HT40 enabled, secondary channel below primary, > + * 1 = HT40 enabled, secondary channel above primary > + */ > + int8_t sec_channel_offset; > + /** > + * Center channel for VHT80 > + */ > + uint8_t center_idx0; > + /** > + * Center channel for VHT160 > + */ > + uint8_t center_idx1; > +};
Why 3 different fields for that (one per bandwidth)? It seems a single field would work. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel