blob: 087907ffe652b96c605a0f27fd324aff2f053eb3 [file] [log] [blame]
developerbd892782023-01-12 15:27:46 +08001From 1a2d1f83920eb159138ea226150f2e90398337a1 Mon Sep 17 00:00:00 2001
2From: MeiChia Chiu <meichia.chiu@mediatek.com>
3Date: Thu, 12 Jan 2023 15:15:42 +0800
4Subject: [PATCH] wifi: mt76: mt7915: add support for he ldpc control from hostapd
5
6---
7 mt7915/mcu.c | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/mt7915/mcu.c b/mt7915/mcu.c
11index 8fab4c7..7954745 100644
12--- a/mt7915/mcu.c
13+++ b/mt7915/mcu.c
14@@ -1983,6 +1983,7 @@ mt7915_mcu_beacon_check_caps(struct mt7915_phy *phy, struct ieee80211_vif *vif,
15 he = (void *)(ie + 3);
16
17 vc->he_ldpc =
18+ HE_PHY(CAP1_LDPC_CODING_IN_PAYLOAD, he->phy_cap_info[1]) &&
19 HE_PHY(CAP1_LDPC_CODING_IN_PAYLOAD, pe->phy_cap_info[1]);
20 vc->he_su_ebfer =
21 HE_PHY(CAP3_SU_BEAMFORMER, he->phy_cap_info[3]) &&
22--
232.39.0
24