From: Kalle Valo <kvalo@codeaurora.org>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: <Larry.Finger@lwfinger.net>, <linux-wireless@vger.kernel.org>,
<dan.carpenter@oracle.com>
Subject: Re: [PATCH] rtlwifi: rtl8192de: fix ofdm power compensation
Date: Wed, 9 Dec 2020 07:22:53 +0000 (UTC) [thread overview]
Message-ID: <20201209072253.824C1C43461@smtp.codeaurora.org> (raw)
In-Reply-To: <20201207031903.7599-1-pkshih@realtek.com>
Ping-Ke Shih <pkshih@realtek.com> wrote:
> ofdm_index[] is used to indicate how many power compensation is needed to
> current thermal value. For internal PA module or 2.4G band, the min_index
> is different from other cases.
>
> This issue originally is reported by Dan. He found the size of ofdm_index[]
> is 2, but access index 'i' may be equal to 2 if 'rf' is 2 in case of
> 'is2t'.
>
> In fact, the chunk of code is added to wrong place, so move it back to
> proper place, and then power compensation and buffer overflow are fixed.
>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Patch applied to wireless-drivers-next.git, thanks.
3f79e541593f rtlwifi: rtl8192de: fix ofdm power compensation
--
https://patchwork.kernel.org/project/linux-wireless/patch/20201207031903.7599-1-pkshih@realtek.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
prev parent reply other threads:[~2020-12-09 7:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-07 3:19 [PATCH] rtlwifi: rtl8192de: fix ofdm power compensation Ping-Ke Shih
2020-12-09 7:22 ` Kalle Valo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201209072253.824C1C43461@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=Larry.Finger@lwfinger.net \
--cc=dan.carpenter@oracle.com \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).