Search Linux Wireless

Re: [PATCH] wifi: iwlwifi: add missing milliseconds to TUs conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2023-11-07 at 18:26 +0300, Dmitry Antipov wrote:
> Since 'max_delay' and 'duration' of 'struct iwl_time_event_cmd'
> are in TUs rather than milliseconds, add missing 'MSEC_TO_TU()'
> in 'iwl_mvm_protect_session()' and 'iwl_mvm_schedule_csa_period()'.
> Compile tested only.

Well, the function is actually documenting both TUs and ms depending
where you look ;-)

Not sure I'd want to actually change the behaviour here, but maybe clean
up the docs a bit?

It's also only 2.4% off, so ...

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux