From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <leo.li@realtek.com>, <phhuang@realtek.com>,
<kevin_yang@realtek.com>, <linux-wireless@vger.kernel.org>
Subject: [PATCH 3/6] rtw89: declare support HE HTC always
Date: Mon, 4 Jul 2022 10:34:50 +0800 [thread overview]
Message-ID: <20220704023453.19935-4-pkshih@realtek.com> (raw)
In-Reply-To: <20220704023453.19935-1-pkshih@realtek.com>
Correct ability of HE HTC that both STA and AP mode can support.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
drivers/net/wireless/realtek/rtw89/core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/wireless/realtek/rtw89/core.c b/drivers/net/wireless/realtek/rtw89/core.c
index a5880a54812e7..ec6e6b4543ceb 100644
--- a/drivers/net/wireless/realtek/rtw89/core.c
+++ b/drivers/net/wireless/realtek/rtw89/core.c
@@ -2669,8 +2669,7 @@ static void rtw89_init_he_cap(struct rtw89_dev *rtwdev,
phy_cap_info = he_cap->he_cap_elem.phy_cap_info;
he_cap->has_he = true;
- if (i == NL80211_IFTYPE_AP)
- mac_cap_info[0] = IEEE80211_HE_MAC_CAP0_HTC_HE;
+ mac_cap_info[0] = IEEE80211_HE_MAC_CAP0_HTC_HE;
if (i == NL80211_IFTYPE_STATION)
mac_cap_info[1] = IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_16US;
mac_cap_info[2] = IEEE80211_HE_MAC_CAP2_ALL_ACK |
--
2.25.1
next prev parent reply other threads:[~2022-07-04 2:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 2:34 [PATCH 0/6] rtw89: correct settings of register and capability Ping-Ke Shih
2022-07-04 2:34 ` [PATCH 1/6] rtw89: 8852c: disable dma during mac init Ping-Ke Shih
2022-09-02 8:32 ` Kalle Valo
2022-07-04 2:34 ` [PATCH 2/6] rtw89: 8852a: update HW setting on BB Ping-Ke Shih
2022-07-04 2:34 ` Ping-Ke Shih [this message]
2022-07-04 2:34 ` [PATCH 4/6] rtw89: ser: leave lps with mutex Ping-Ke Shih
2022-07-04 2:34 ` [PATCH 5/6] rtw89: 8852c: modify PCIE prebkf time Ping-Ke Shih
2022-07-04 2:34 ` [PATCH 6/6] rtw89: 8852c: adjust mactxen delay of mac/phy interface Ping-Ke Shih
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=20220704023453.19935-4-pkshih@realtek.com \
--to=pkshih@realtek.com \
--cc=kevin_yang@realtek.com \
--cc=kvalo@kernel.org \
--cc=leo.li@realtek.com \
--cc=linux-wireless@vger.kernel.org \
--cc=phhuang@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).