summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2024-07-06 01:28:14 -0700
committerFelix Fietkau <nbd@nbd.name>2024-07-09 23:02:09 +0200
commit696d9f3baf03f59584c7c46b62ae28dfd1a731ae (patch)
treef8efe6bcdd72dae87f7b9b1abf864ded1ce10d23
parentcfbe7f78346e00d33a6461f3f8d94f72c6256acb (diff)
downloadlinux-696d9f3baf03f59584c7c46b62ae28dfd1a731ae.tar.gz
linux-696d9f3baf03f59584c7c46b62ae28dfd1a731ae.tar.bz2
linux-696d9f3baf03f59584c7c46b62ae28dfd1a731ae.zip
wifi: mt76: mt7925: update mt7925_mcu_bss_basic_tlv for MLO
update mt7925_mcu_bss_basic_tlv for the MLO-enabled firmware. The change remains compatible with the non-MLO mode and the older firmware. Co-developed-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Co-developed-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Link: https://patch.msgid.link/583a3ac10583cfef0028f9a0b5a4802fc4070b99.1720248331.git.sean.wang@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7925/mcu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c
index bc6d6d957765..7bfb9c51388c 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c
@@ -2385,6 +2385,7 @@ mt7925_mcu_bss_basic_tlv(struct sk_buff *skb,
basic_req->bcn_interval = cpu_to_le16(link_conf->beacon_int);
basic_req->dtim_period = link_conf->dtim_period;
basic_req->bmc_tx_wlan_idx = cpu_to_le16(wlan_idx);
+ basic_req->link_idx = mconf->mt76.idx;
if (link_sta) {
struct mt792x_sta *msta;