On Tue, 27 Jun 2023 at 10:40, Dmitry Antipov <dmantipov@xxxxxxxxx> wrote: > > To everyone still interested in b43 driver: > > In 'lpphy_start_tx_tone()', how 'CORDIC_FLOAT((sample.i * max) & 0xFF)' may > be non-zero? Basically it is (<32-bit> & 0xff) shifted right by 15 bits. Looking at other users like e.g. https://elixir.bootlin.com/linux/latest/source/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c#L3377 the the result should be masked, and not the argument to CORDIC_FLOAT(). So that very much looks like a bug and likely should be 'CORDIC_FLOAT(sample.i * max) & 0xFF' or so. Good catch! Can you send a patch? Best regards, Jonas