> Le 8 oct. 2020 à 11:11, Thibaut <ha...@slashdirt.org> a écrit : > > Hi, > >> On 7 Oct 2020, at 22:41, Alexander 'lynxis' Couzens <lyn...@fe80.eu> wrote: >> >> On Fri, 25 Sep 2020 21:09:26 +0200 >> Thibaut <ha...@slashdirt.org> wrote: >> >>> Ping? >> >> LGTM. >> >> What's in the "$wdata/data_0" file? Is it the BDF? > > My understanding is (disclaimer: I don’t own any hardware that exposes these > new files) that on old style devices, the calibration (and BDF where > applicable, which means it could be dynamically loaded as well) data of all > radios was packed into a single payload, which got exposed as the “wlan_data” > sysfs file. Userspace then had to apply offsets to access data pertaining to > each radio. > > New style simply separates each radio into its own payload, so data_0 is > calib (+BDF where applicable) for one of the radios and so on, which makes it > easier to process (probably for RouterOS as well, hence the change ;) > > There are some devices out there which have been shipped with both styles > (the hap-ac2 is one of them), hence the patch ensure that 1) previous > behavior is unchanged and 2) it’s “easy” to accommodate both styles in > userspace (as suggested in the commit log).
CC’ing Robert Marko who wants to add his Tested-by. Patch at https://patchwork.ozlabs.org/project/openwrt/patch/20200824103840.38920-1-ha...@slashdirt.org/ Cheers _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel