linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] rtlwifi: 8192de: Fix used uninitialized variables in power tracking
@ 2019-05-10  8:03 pkshih
  2019-05-10  8:03 ` [PATCH 1/4] rtlwifi: 8192de: Reduce indentation and fix coding style pkshih
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: pkshih @ 2019-05-10  8:03 UTC (permalink / raw)
  To: kvalo; +Cc: Larry.Finger, linux-wireless, colin.king

From: Ping-Ke Shih <pkshih@realtek.com>

This issue is found by Coverity and repoerted by Colin Ian King. An array
ofdm_index[3] is never initialized.

In order to fix this issue, I refactor the code to be more readable, and
then I investigate the variable ofdm_index[] should be initialized as
the index corresponding to thermal value programmed in efuse.

The cckswing table in the last patch is used to adjust TX power. When I
check this function, the table is in little-endian order, but compare
with register value in cpu order. Then, fix it as well.

Ping-Ke Shih (4):
  rtlwifi: 8192de: Reduce indentation and fix coding style
  rtlwifi: 8192de: make tables to be 'static const'
  rtlwifi: 8192de: Fix used uninitialized variables in power tracking
  rtlwifi: 8192de: use le32 to access cckswing tables

 .../wireless/realtek/rtlwifi/rtl8192de/dm.c   | 695 +++++++++---------
 1 file changed, 330 insertions(+), 365 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-05-28 12:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10  8:03 [PATCH 0/4] rtlwifi: 8192de: Fix used uninitialized variables in power tracking pkshih
2019-05-10  8:03 ` [PATCH 1/4] rtlwifi: 8192de: Reduce indentation and fix coding style pkshih
2019-05-28 12:34   ` Kalle Valo
2019-05-10  8:03 ` [PATCH 2/4] rtlwifi: 8192de: make tables to be 'static const' pkshih
2019-05-10  8:03 ` [PATCH 3/4] rtlwifi: 8192de: Fix used uninitialized variables in power tracking pkshih
2019-05-10  8:03 ` [PATCH 4/4] rtlwifi: 8192de: use le32 to access cckswing tables pkshih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).