Linux wireless drivers development
 help / color / mirror / Atom feed
* question: crda timeout in cfg80211
@ 2019-03-26 12:42 Sergey Matyukevich
  2019-04-08 19:06 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Matyukevich @ 2019-03-26 12:42 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org; +Cc: Igor Mitsyanko

Hi all,

Linux cfg80211 regulatory subsystem uses CRDA timeout to ensure completion
of regulatory updates, performed by user-space software. See call_crda
functon in net/wireless/reg.c:

static int call_crda(const char *alpha2)
{
	...

	queue_delayed_work(system_power_efficient_wq,
			&crda_timeout, msecs_to_jiffies(3142));
	return 0;
}

So regulatory update/reset operations shall be completed in 3142 msec.
And that includes processing of regulatory notifiers for all the
wireless cards in the system.

It is not quite clear where this specific timeout value came from.
Original commit (a90c7a313a1c5b) doesn't go into details about it.

Any ideas where it could come from ?

Regards,
Sergey

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-23 12:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26 12:42 question: crda timeout in cfg80211 Sergey Matyukevich
2019-04-08 19:06 ` Johannes Berg
2019-04-09  8:35   ` Sergey Matyukevich
2019-04-09  8:40     ` Johannes Berg
2019-04-11 12:40       ` Sergey Matyukevich
2019-04-23 12:31         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox