RE: [PATCH 05/12] mwifiex: avoid gettimeofday in ba_threshold setting

2015-10-09 Thread Amitkumar Karwar
gt; linux-wireless@vger.kernel.org > Subject: [PATCH 05/12] mwifiex: avoid gettimeofday in ba_threshold > setting > > mwifiex_get_random_ba_threshold() uses a complex homegrown > implementation to generate a pseudo-random number from the current time > as returned from do_gettimeofday().

[PATCH 05/12] mwifiex: avoid gettimeofday in ba_threshold setting

2015-09-30 Thread Arnd Bergmann
mwifiex_get_random_ba_threshold() uses a complex homegrown implementation to generate a pseudo-random number from the current time as returned from do_gettimeofday(). This currently requires two 32-bit divisions plus a couple of other computations that are eventually discarded as only eight bits o