Re: [PATCH ustream-ssl] ustream-mbedtls: Use getrandom() instead of /dev/urandom

2023-01-28 Thread Rosen Penev
On Sat, Jan 28, 2023 at 10:45 AM Hauke Mehrtens wrote: > > Instead of keeping a file descriptor open just use the getrandom syscall > to get random data. This is supported by the musl, glibc and Linux for > some time now. > > This also improves the error handling in case this function returns not

[PATCH] ltq-*-app: extend ubus metrics/statistics

2023-01-28 Thread Jan Hoffmann
Expose a few additional useful values via ubus: - Channel error counters (CRC, FEC) - Retransmission counters (MINEFTR, LEFTRS) - Impulse noise protection level - Rate adaptation mode - OLR statistics (Bitswap, SRA, SOS) - Pilot tones - Upstream/downstream band information Signed-off-by: Jan Hoff

[PATCH] ltq-vdsl-vr9: fix upstream MINEFTR

2023-01-28 Thread Jan Hoffmann
The upstream value read from the device seems to already be in bits per second, so there is no need to multiply by 1000 again (which for typical values causes an overflow of the 32-bit unsigned integer). Signed-off-by: Jan Hoffmann --- This patch is already applied for ltq-vdsl-vr11. It is not r

Re: [PATCH] firmware-utils: tplink-safeloader: Add support for Deco M4R V4

2023-01-28 Thread Sander Vanheule
Hi, On Sat, 2023-01-28 at 18:19 +0100, Shiz wrote: > Hi Sander, > > Thanks for reviewing my patch! > > > On 28 Jan Reiwa 5, at 17:09, Sander Vanheule wrote: > > > > Hi Mark, > > > > On Sun, 2023-01-22 at 12:46 +0100, Mark Ceeha wrote: > > > Software version: > > > soft_ver:1.0.3 Build 2022042

[PATCH ustream-ssl] ustream-mbedtls: Use getrandom() instead of /dev/urandom

2023-01-28 Thread Hauke Mehrtens
Instead of keeping a file descriptor open just use the getrandom syscall to get random data. This is supported by the musl, glibc and Linux for some time now. This also improves the error handling in case this function returns not as many bytes as expected. Signed-off-by: Hauke Mehrtens --- ust

Re: [PATCH] firmware-utils: tplink-safeloader: Add support for Deco M4R V4

2023-01-28 Thread Shiz via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi Sander, Thanks for reviewing m

Re: [PATCH] firmware-utils: tplink-safeloader: Add support for Deco M4R V4

2023-01-28 Thread Sander Vanheule
Hi Mark, On Sun, 2023-01-22 at 12:46 +0100, Mark Ceeha wrote: > Software version: > soft_ver:1.0.3 Build 20220426 Rel. 32976 I assume this is the FW image you've based this on? > > Partition table: > 0004 fs-uboot > 0004 0040 os-image > 0044 00b6 file-system > 00fa0

Re: [PATCH] firmware-utils: tplink-safeloader: Add alternative partition table offset

2023-01-28 Thread Sander Vanheule
Hi Andreas, On Sun, 2023-01-22 at 22:36 +0100, Andreas Böhler wrote: > Some newer OEM firmware files, even for existing devices, have the > fwup-ptn at offset 0x1050 instead of 0x1014. If the fwup-ptn header is not > found at 0x1014, the alternative offset at 0x1050 is tried. > > Signed-off-by: A

Re: two mt7915e cards and irq 149: nobody cared dump

2023-01-28 Thread Janusz Dziedzic
czw., 5 sty 2023 o 20:24 Janusz Dziedzic napisał(a): > > czw., 5 sty 2023 o 16:41 Janusz Dziedzic > napisał(a): > > > > Hello, > > > > Have two mt7915e cards in my banana PI R64 (latest master). > > After do ifconfig wlan1 up - dump. > > While ifconfig wlan2 up works correctly. > > > > [7.09