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 <[email protected]>
Signed-off-by: Ming Yen Hsieh <[email protected]>
Co-developed-by: Deren Wu <[email protected]>
Signed-off-by: Deren Wu <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Link: https://patch.msgid.link/583a3ac10583cfef0028f9a0b5a4802fc4070b99.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Sean Wang
2024-07-16 14:30:13 +02:00
committed by Felix Fietkau
parent 6a3af6e618
commit 783bb83145
+1
View File
@@ -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->bcn_interval = cpu_to_le16(link_conf->beacon_int);
basic_req->dtim_period = link_conf->dtim_period; basic_req->dtim_period = link_conf->dtim_period;
basic_req->bmc_tx_wlan_idx = cpu_to_le16(wlan_idx); basic_req->bmc_tx_wlan_idx = cpu_to_le16(wlan_idx);
basic_req->link_idx = mconf->mt76.idx;
if (link_sta) { if (link_sta) {
struct mt792x_sta *msta; struct mt792x_sta *msta;