blob: 0d2b350ee228f0d68c7668e28c0371f585e4d21a [file] [log] [blame]
developer8bb192d2023-08-31 11:46:57 +08001From a8a4d23f21cf56ca5d23a2ba15981b1f6459f19b Mon Sep 17 00:00:00 2001
developerd8ca5d32023-08-30 19:05:17 +08002From: Allen Ye <allen.ye@mediatek.com>
3Date: Wed, 30 Aug 2023 18:34:47 +0800
developer8bb192d2023-08-31 11:46:57 +08004Subject: [PATCH 02/15] wifi: mt76: mt7915: check sta rx control frame to
developerd8ca5d32023-08-30 19:05:17 +08005 multibss capability
6
7Add CAP3_RX_CTRL_FRAME_TO_MULTIBSS check when setting sta_muru_tlv,
8which is used to get stations's capability of receving control frames
9when running OFDMA with MBSSIDs.
10
11Signed-off-by: Allen Ye <allen.ye@mediatek.com>
12Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
13---
14 mt7915/mcu.c | 2 ++
15 1 file changed, 2 insertions(+)
16
17diff --git a/mt7915/mcu.c b/mt7915/mcu.c
developer8bb192d2023-08-31 11:46:57 +080018index 6d000841..35cd4fb0 100644
developerd8ca5d32023-08-30 19:05:17 +080019--- a/mt7915/mcu.c
20+++ b/mt7915/mcu.c
21@@ -906,6 +906,8 @@ mt7915_mcu_sta_muru_tlv(struct mt7915_dev *dev, struct sk_buff *skb,
22 HE_MAC(CAP2_MU_CASCADING, elem->mac_cap_info[2]);
23 muru->ofdma_ul.uo_ra =
24 HE_MAC(CAP3_OFDMA_RA, elem->mac_cap_info[3]);
25+ muru->ofdma_ul.rx_ctrl_frame_to_mbss =
26+ HE_MAC(CAP3_RX_CTRL_FRAME_TO_MULTIBSS, elem->mac_cap_info[3]);
27 }
28
29 static void
30--
312.39.2
32