[lvc-project] [PATCH] mac802154: fix time calculation in ieee802154_configure_durations()

Stefan Schmidt stefan at datenfreihafen.org
Sun May 19 00:49:41 MSK 2024


Hello Miquel,

On 13.05.24 09:09, Miquel Raynal wrote:
> Hi Dmitry,
> 
> + Stefan
> 
> dmantipov at yandex.ru wrote on Wed,  8 May 2024 14:40:10 +0300:
> 
>> Since 'symbol_duration' of 'struct wpan_phy' is in nanoseconds but
>> 'lifs_period' and 'sifs_period' are both in microseconds, fix time
>> calculation in 'ieee802154_configure_durations()' and use convenient
>> 'NSEC_PER_USEC' in 'ieee802154_setup_wpan_phy_pib()' as well.
>> Compile tested only.
>>
>> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>>
> 
> Requires Fixes and Cc: stable I guess.

Fixes should be enough to get picked up. Added before pushing.

regards
Stefan Schmidt



More information about the lvc-project mailing list