StanleyYP Wang and Felix Fietkau
3cec186474
wifi: mt76: mt7915: set correct background radar capability
...
Some of the variants do not support background radar, so add a
helper to report background radar capability.
For mt7916, only the variant of 5G 2T2R + 1R supports background
radar.
Signed-off-by: StanleyYP Wang <[email protected] >
Reviewed-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:40:33 +02:00
Peter Chiu and Felix Fietkau
f8c3dd3677
wifi: mt76: mt7996: add PCI device id for mt7990
...
Add PCI device IDs to enable support for mt7990 chipsets.
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
StanleyYP Wang and Felix Fietkau
bc588ac3d1
wifi: mt76: mt7996: rework background radar check for mt7990
...
The MT7990 comes in 2T2R and 3T3R variants, with only the 2T2R supporting
background radar.
Signed-off-by: StanleyYP Wang <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
Shayne Chen and Felix Fietkau
10c3ea97a8
wifi: mt76: connac: rework TX descriptor and TX free for mt7990
...
Adjust the TX descriptor and TX free for updated hardware fields.
This is a preliminary patch to support mt7990 chipset.
Co-developed-by: StanleyYP Wang <[email protected] >
Signed-off-by: StanleyYP Wang <[email protected] >
Co-developed-by: Benjamin Lin <[email protected] >
Signed-off-by: Benjamin Lin <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
Peter Chiu and Felix Fietkau
d0799f3303
wifi: mt76: mt7996: adjust HW capabilities for mt7990
...
This is a preliminary patch to support mt7990 chipset.
Co-developed-by: Howard Hsu <[email protected] >
Signed-off-by: Howard Hsu <[email protected] >
Co-developed-by: Shayne Chen <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
StanleyYP Wang and Felix Fietkau
51db7a2d57
wifi: mt76: mt7996: add eeprom support for mt7990
...
Add eeprom definition and default bin file for mt7990.
This is a preliminary patch to support mt7990 chipset.
Signed-off-by: StanleyYP Wang <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
StanleyYP Wang and Felix Fietkau
a8def214d7
wifi: mt76: mt7996: rework register mapping for mt7990
...
Rework register offset and l1/l2/cbtop mapping for mt7990.
This is a preliminary patch to support mt7990 chipset.
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Co-developed-by: Shayne Chen <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: StanleyYP Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
Peter Chiu and Felix Fietkau
6243414a4e
wifi: mt76: mt7996: rework DMA configuration for mt7990
...
Modify DMA ring setting for mt7990.
This is a preliminary patch to support mt7990 chipset.
Co-developed-by: StanleyYP Wang <[email protected] >
Signed-off-by: StanleyYP Wang <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
Peter Chiu and Felix Fietkau
3908cf04aa
wifi: mt76: mt7996: rework WA mcu command for mt7990
...
Since mt7990 lacks WA firmware, some WA commands are not supported or
need to be refactored to use the SDO command.
This is a preliminary patch to support mt7990 chipset.
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
StanleyYP Wang and Felix Fietkau
a2dd2f7896
wifi: mt76: connac: add support to load firmware for mt7990
...
Add firmware download support. Note that mt7990 does not have WA and DSP
firmwares. This is a preliminary patch to support mt7990 chipset.
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: StanleyYP Wang <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
Shayne Chen and Felix Fietkau
63a4edf1cb
wifi: mt76: mt7996: add macros for pci decive id
...
The chipset name (i.e., brand name) used by the driver may cause confusion
with the PCI device ID when adding support for new chipsets.
| Chipset name | PCI device id |
|--------------|----------------|
| 7996 | 0x7990, 0x7991 |
| 7992 | 0x7992, 0x799a |
| 7990 | 0x7993, 0x799b |
To prevent confusion, replace the code that directly uses the device ID
with macros. This is a preliminary patch to support mt7990 chipset.
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-04-11 10:29:38 +02:00
Johannes Berg and Felix Fietkau
de635e1e3a
wifi: mt76: mt7996: fix locking in mt7996_mac_sta_rc_work()
...
The 'continue' statements need to be under spinlock, since
the spinlock needs to be held as a loop invariant.
Fixes: 0762bdd30279 ("wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO")
Signed-off-by: Johannes Berg <[email protected] >
2025-03-20 10:35:27 +01:00
Felix Fietkau
46f3a10a9f
mt76: mt7925: sync with upstream cleanups
...
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 14:21:34 +01:00
Icenowy Zheng and Felix Fietkau
5169d4e866
wifi: mt76: mt76x2u: add TP-Link TL-WDN6200 ID to device table
...
The TP-Link TL-WDN6200 "Driverless" version cards use a MT7612U chipset.
Add the USB ID to mt76x2u driver.
Signed-off-by: Icenowy Zheng <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 14:11:43 +01:00
Ming Yen Hsieh and Felix Fietkau
0994f0af63
wifi: mt76: mt7925: fix the incomplete revert of [tx,rx]_ba for MLO
...
Since the `Revert wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO`
was not completely clean, submit this patch to fully clean it up.
Cc: [email protected]
Fixes: 73915469c55a ("Revert "wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO"")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 14:10:34 +01:00
Ming Yen Hsieh and Felix Fietkau
a826fc2874
wifi: mt76: mt7925: update MLO cleanup flow during disconnection
...
Refine the disconnection cleanup process for MLO. It introduces a dedicated
function to handle device removal, ensuring proper resource cleanup for both
BSS and device information.
Fixes: 21e40c17361e ("wifi: mt76: mt7925: adjust rm BSS flow to prevent next connection failure")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 14:09:49 +01:00
Ming Yen Hsieh and Felix Fietkau
a1ed21a669
wifi: mt76: mt792x: re-register CHANCTX_STA_CSA only for the mt7921 series
...
CSA is currently not supported on mt7925, so CSA is only registered for
the mt7921 series
Cc: [email protected]
Fixes: 8aa2f59260eb ("wifi: mt76: mt7921: introduce CSA support")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 14:09:49 +01:00
Lorenzo Bianconi and Felix Fietkau
d5cddf65f7
wifi: mt76: mt7996: Update mt7996_tx to MLO support
...
Rework mt7996_tx routine in order to support multi-link
setup.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
d01b9d300e
wifi: mt76: mt7996: rework mt7996_ampdu_action to support MLO
...
Active/de-active TX/RX BA sessssion for each active links running
mt7996_ampdu_action routine.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
70717b761a
wifi: mt76: mt7996: rework set/get_tsf callabcks to support MLO
...
This is a preliminary patch in order to enable MLO for MT7996 driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
974e6c2df9
wifi: mt76: mt7996: set vif default link_id adding/removing vif links
...
This info will be consumed by subsequent patches (e.g. in set/get tsf
routines).
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
c788d5748d
wifi: mt76: mt7996: rework mt7996_mcu_beacon_inband_discov to support MLO
...
Rework mt7996_mcu_beacon_inband_discov routine in order to support
multi-link setup.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
56529041b3
wifi: mt76: mt7996: rework mt7996_mcu_add_obss_spr to support MLO
...
Rework mt7996_mcu_add_obss_spr routine in order to support multi-link
setup.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
d1a5a0afa6
wifi: mt76: mt7996: rework mt7996_net_fill_forward_path to support MLO
...
Rework mt7996_net_fill_forward_path routine in order to support multi-link
setup.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
b9682a51c1
wifi: mt76: mt7996: rework mt7996_update_mu_group to support MLO
...
Rework mt7996_update_mu_group routine in order to support multi-link
setup.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
057822770c
wifi: mt76: mt7996: rework mt7996_mac_sta_poll to support MLO
...
Rework mt7996_mac_sta_poll routine in order to support multi-link
setup.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
275e6a681b
wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO
...
Rework mt7996_mac_sta_rc_work routine in order to support multi-link
setup.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Co-developed-by: Shayne Chen <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
3668d57795
wifi: mt76: mt7996: remove mt7996_mac_enable_rtscts()
...
It is controlled by FW, also, driver should not directly write WTBL to
prevent WTBL overwritten issues.
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
60967d28a5
wifi: mt76: mt7996: rework mt7996_sta_hw_queue_read to support MLO
...
Extend mt7996_sta_hw_queue_read to support multi-link setup.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
9c6ec015af
wifi: mt76: mt7996: rework mt7996_set_hw_key to support MLO
...
Modify mt7996_set_hw_key routine to work in a multi-link setup.
This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Lorenzo Bianconi and Felix Fietkau
a369b0c14d
wifi: mt76: mt7996: Add mt7996_sta_link to mt7996_mcu_add_bss_info signature
...
This is a preliminary patch to introduce MLO support for MT996 driver.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
9b4de3ce7f
wifi: mt76: mt7996: rework mt7996_sta_set_4addr and mt7996_sta_set_decap_offload to support MLO
...
Rework mt7996_sta_set_4addr and mt7996_sta_set_decap_offload routines in
order to properly support multi-link. This is a preliminary patch to enable
MLO for MT7996 driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
87c437fa8b
wifi: mt76: mt7996: rework mt7996_rx_get_wcid to support MLO
...
The wcid idx and band idx in the TXS are sometimes mismatched since the
FW will select a transmission link according to a private algorithm.
That is, the wcid idx in the TXS would be the one registered by the
driver rather than the actual wcid idx used during transmission.
However, the band idx in the TXS is the band select for transmission.
Therefore, we should get the driver-registered wcid in order
to notify the driver the packet has been acked; otherwise,
the driver will be unable to match the transmitted packet and its TXS.
This is a preliminary patch to enable MLO for MT7996 driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
21aa0c2884
wifi: mt76: mt7996: Rely on wcid_to_sta in mt7996_mac_add_txs_skb()
...
This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
e0b422f2ac
wifi: mt76: mt7996: rework mt7996_mac_write_txwi() for MLO support
...
Update mt7996_mac_write_txwi routine and all the called subroutines to
support MLO.
This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
58e8b71782
wifi: mt76: mt7996: Add mt7996_mcu_teardown_mld_sta rouine
...
mt7996_mcu_teardown_mld_sta is used to remove MLO configuration from the
MCU. This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
2a005953dc
wifi: mt76: mt7996: Add mt7996_mcu_sta_mld_setup_tlv() and mt7996_mcu_sta_eht_mld_tlv()
...
mt7996_mcu_sta_mld_setup_tlv is needed to push MLO configuration to the
MCU. This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Shayne Chen and Felix Fietkau
a3b651aeb5
wifi: mt76: mt7996: Update mt7996_mcu_add_rate_ctrl to MLO
...
Update mt7996_mcu_add_rate_ctrl routine and all the called subroutines
to support MLO.
This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-19 13:05:59 +01:00
Johannes Berg and Felix Fietkau
7757e7c140
wifi: mac80211: call rate_control_rate_update() for link STA
...
In order to update the right link information, call the update
rate_control_rate_update() with the right link_sta, and then
pass that through to the driver's sta_rc_update() method. The
software rate control still doesn't support it, but that'll be
skipped by not having a rate control ref.
Since it now operates on a link sta, rename the driver method.
Signed-off-by: Johannes Berg <[email protected] >
Signed-off-by: Miri Korenblit <[email protected] >
Link: https://patch.msgid.link/20241007144851.5851b6b5fd41.Ibdf50d96afa4b761dd9b9dfd54a1147e77a75329@changeid
Signed-off-by: Johannes Berg <[email protected] >
2025-03-19 13:05:44 +01:00
Lorenzo Bianconi and Felix Fietkau
d195324131
wifi: mt76: mt7996: Rely on mt7996_vif/sta_link in twt teardown
...
This is a preliminary patch to enable MLO for MT7996 driver
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Shayne Chen and Felix Fietkau
200ce414fe
wifi: mt76: mt7996: Rely on mt7996_vif_link in mt7996_mcu_twt_agrt_update signature
...
This is a preliminary patch to enable MLO for MT7996 driver
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Shayne Chen and Felix Fietkau
0eee20d3e3
wifi: mt76: mt7996: Update mt7996_mcu_add_sta to MLO support
...
Update mt7996_mcu_add_sta routine and all the called subroutines to
support MLO. This is a preliminary patch to enable MLO for MT7996
driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Shayne Chen and Felix Fietkau
2e249744bc
wifi: mt76: Check link_conf pointer in mt76_connac_mcu_sta_basic_tlv()
...
This is a preliminary patch to introduce MLO support for MT7996 driver.
Signed-off-by: Shayne Chen <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Lorenzo Bianconi and Felix Fietkau
2efb26f1fc
wifi: mt76: mt7996: Support MLO in mt7996_mac_sta_event()
...
Similar to mt7996_mac_sta_add() adn mt7996_mac_sta_remove(), update
mt7996_mac_sta_event routine to take into account MLO support.
Please note mcu routines does not support MLO yet.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Co-developed-by: Shayne Chen <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Shayne Chen and Felix Fietkau
1de1808215
wifi: mt76: mt7996: Add mt7996_mac_sta_change_links callback
...
Intrdouce mt7996_mac_sta_change_links routine to set change_sta_links
required by mac80211. This is a preliminary patch to introduce MLO
support for MT7996 driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Co-developed-by: Lorenzo Bianconi <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Lorenzo Bianconi and Felix Fietkau
46e20e5d74
wifi: mt76: mt7996: Rely on mt7996_sta_link in sta_add/sta_remove callbacks
...
Generalize mt7996_mac_sta_add() and mt7996_mac_sta_remove() routines to
deal with mt7996_sta_link structure.
This is a preliminary patch to introduce MLO support for MT7996 driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Co-developed-by: Shayne Chen <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Lorenzo Bianconi and Felix Fietkau
3082c9edbe
wifi: mt76: mt7996: Add mt7996_sta_state routine
...
Introduce mt7996_sta_state routine in order to initialize wcid structure
in mt7996 codebase. This is a preliminary patch to enable MLO support in
MT7996 driver.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:38:01 +01:00
Lorenzo Bianconi and Felix Fietkau
f419c62e91
wifi: mt76: mt7996: Add link_info_changed callback
...
Convert bss_info_changed mac80211 callback in link_info_changed one.
This is a preliminary patch to enable MLO support in MT7996 driver.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:37:53 +01:00
Lorenzo Bianconi and Felix Fietkau
3e06380a43
wifi: mt76: mt7996: Add vif_cfg_changed callback
...
Introduce vif_cfg_changed mac80211 callback as preliminary patch to
enable MLO support in MT7996 driver.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Co-developed-by: Peter Chiu <[email protected] >
Signed-off-by: Peter Chiu <[email protected] >
Co-developed-by: Shayne Chen <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:37:42 +01:00
Lorenzo Bianconi and Felix Fietkau
915938e83c
wifi: mt76: mt7996: Add mt7996_sta_link struct in mt7996_vif_link
...
Introduce mt7996_sta_link field in mt7996_vif_link structure instead of
mt7996_sta. This is a preliminary patch to support MLO in MT7996 driver.
Signed-off-by: Lorenzo Bianconi <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2025-03-12 10:37:15 +01:00