Ming Yen Hsieh and Felix Fietkau
3c99ef40e0
wifi: mt76: mt7925: Update mt7925_mcu_sta_update for BC in ASSOC state
...
Update mt7925_mcu_sta_update for broadcast (BC) in the ASSOC state.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:44:39 +01:00
Ming Yen Hsieh and Felix Fietkau
53ec7a551f
wifi: mt76: Enhance mt7925_mac_link_sta_add to support MLO
...
Enhance mt7925_mac_link_sta_add to support MLO.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:44:39 +01:00
Ming Yen Hsieh and Felix Fietkau
b90b1a1dc7
wifi: mt76: mt7925: Enhance mt7925_mac_link_bss_add to support MLO
...
In mt7925_mac_link_bss_add(), the mt76_connac_mcu_uni_add_dev() function
must be executed only after all parameters have been properly initialized.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:44:39 +01:00
Leon Yen and Felix Fietkau
01e02947bd
wifi: mt76: mt7925: Fix CNM Timeout with Single Active Link in MLO
...
Fix CNM command timeout issue when only a single active link is available
during MLO connection to fix the following kernel log error.
[ 741.931030] wlan0: [link 1] local address be:90:e0:22:c4:22, AP link address 08:0c:43:7a:19:2a
[ 741.931042] wlan0: [link 1] determined AP 08:0c:43:7a:19:2a to be EHT
[ 741.931052] wlan0: [link 1] connecting with EHT mode, max bandwidth 160 MHz
[ 741.931071] wlan0: WMM AC=0 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=0, downgraded=0
[ 741.931076] wlan0: WMM AC=1 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 uapsd=0, downgraded=0
[ 741.931080] wlan0: WMM AC=2 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 741.931085] wlan0: WMM AC=3 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 741.931095] wlan0: moving STA 22:0c:43:7a:19:2a to state 3
[ 749.090928] mt7925e 0000:2b:00.0: Message 00020002 (seq 15) timeout
[ 752.162972] mt7925e 0000:2b:00.0: Message 00020003 (seq 1) timeout
[ 755.234975] mt7925e 0000:2b:00.0: Message 00020002 (seq 2) timeout
[ 758.306971] mt7925e 0000:2b:00.0: Message 00020004 (seq 3) timeout
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Leon Yen <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:44:39 +01:00
Ming Yen Hsieh and Felix Fietkau
1c04e96934
wifi: mt76: mt7925: fix wrong parameter for related cmd of chan info
...
Fix incorrect parameters for the related channel information command.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:44:39 +01:00
allan.wang and Felix Fietkau
6bd2c044e6
wifi: mt76: mt7925: Fix incorrect WCID phy_idx assignment
...
Fix incorrect WCID phy_idx assignment.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: allan.wang <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:44:39 +01:00
Ming Yen Hsieh and Felix Fietkau
72b4688b39
wifi: mt76: mt7925: Fix incorrect WCID assignment for MLO
...
For MLO, each link must have a corresponding WCID.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:43:32 +01:00
Ming Yen Hsieh and Felix Fietkau
1b5e6abc2e
wifi: mt76: mt7925: Fix incorrect MLD address in bss_mld_tlv for MLO support
...
For this TLV, the address should be set to the MLD address rather than
the link address.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:41:28 +01:00
Sean Wang and Felix Fietkau
7f65b1b28b
wifi: mt76: connac: Extend mt76_connac_mcu_uni_add_dev for MLO
...
This commit extends the `mt76_connac_mcu_uni_add_dev` function to include
support for Multi-Link Operation (MLO). Additionally, backward
compatibility for MT7921 is preserved, enabling seamless integration with
existing setups.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:41:28 +01:00
Ming Yen Hsieh and Felix Fietkau
eede99f524
wifi: mt76: mt7925: fix the invalid ip address for arp offload
...
The wrong ieee80211_vif will lead to get invalid ip address and
the correct ieee80211_vif can be obtained from ieee80211_bss_conf.
Fixes: 147324292979 ("wifi: mt76: mt7925: add link handling in the BSS_CHANGED_ARP_FILTER handler")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:36:08 +01:00
Ming Yen Hsieh and Felix Fietkau
3f1401a0f0
wifi: mt76: mt7925: fix get wrong chip cap from incorrect pointer
...
Use tlv instead of skb, because using skb will get valid data
with wrong offset.
Fixes: 86c051f2c418 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:36:08 +01:00
Eric-SY Chang and Felix Fietkau
3e3c484726
wifi: mt76: mt7925: fix wrong band_idx setting when enable sniffer mode
...
Currently, sniffer mode does not support band auto,
so set band_idx to the default 0.
Fixes: 0cb349d742d1 ("wifi: mt76: mt7925: update mt7925_mac_link_bss_add for MLO")
Signed-off-by: Eric-SY Chang <[email protected] >
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:36:08 +01:00
Charles Han and Felix Fietkau
b47e20b440
wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links
...
In mt7925_change_vif_links() devm_kzalloc() may return NULL but this
returned value is not checked.
Fixes: 69acd6d910b0 ("wifi: mt76: mt7925: add mt7925_change_vif_links")
Signed-off-by: Charles Han <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:36:08 +01:00
Allan Wang and Felix Fietkau
83e4d4a82e
wifi: mt76: introduce mt792x_config_mac_addr_list routine
...
Add mt792x_config_mac_addr_list routine in order to set
the mac address list supported by the driver. Initialize
wiphy->addresses/n_addresses for mt792x driver
Signed-off-by: Hao Zhang <[email protected] >
Signed-off-by: Leon Yen <[email protected] >
Signed-off-by: Allan Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 19:36:08 +01:00
Felix Fietkau
1884f568ba
wifi: mt76: do not add wcid entries to sta poll list during MCU reset
...
Fixes linked list management issues during restart, where sta entries
can be recreated and reinitialized while still in the poll list, triggering
kernel warnings.
Signed-off-by: Felix Fietkau <[email protected] >
2024-12-30 18:40:23 +01:00
Shayne Chen and Felix Fietkau
7c00df0e7e
wifi: mt76: connac: rework connac helpers
...
Rework connac helpers related to rate and phymode.
This is a preliminary patch to add MLO support for mt7996 chipsets.
Co-developed-by: Bo Jiao <[email protected] >
Signed-off-by: Bo Jiao <[email protected] >
Signed-off-by: Shayne Chen <[email protected] >
Signed-off-by: Felix Fietkau <[email protected] >
2024-10-28 10:04:14 +01:00
Felix Fietkau
60bf2bef95
wifi: mt76: connac: prepare mt76_connac_mcu_sta_basic_tlv for MLO support
...
Pass in struct ieee80211_bss_conf in order to use link specific data.
Signed-off-by: Felix Fietkau <[email protected] >
2024-10-28 10:04:13 +01:00
Felix Fietkau
0b05795ca8
wifi: mt76: remove dev->wcid_phy_mask
...
Explicitly check wcid->phy_idx instead. Reduces allocated data size.
Signed-off-by: Felix Fietkau <[email protected] >
2024-10-22 10:18:59 +02:00
Felix Fietkau
d388deab9e
wifi: mt76: initialize more wcid fields mt76_wcid_init
...
Reduces code duplication and ensures that the phy index is always set.
Signed-off-by: Felix Fietkau <[email protected] >
2024-10-22 10:18:59 +02:00
Felix Fietkau
8cd0263f92
wifi: mt76: rename struct mt76_vif to mt76_vif_link
...
Preparation to use it for private bss link data instead of the full vif
on MLO capable devices.
Signed-off-by: Felix Fietkau <[email protected] >
2024-10-22 10:18:59 +02:00
Dan Carpenter and Felix Fietkau
7b5d653ea9
wifi: mt76: mt7925: fix off by one in mt7925_load_clc()
...
This comparison should be >= instead of > to prevent an out of bounds
read and write.
Fixes: 9679ca7326e5 ("wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc")
Signed-off-by: Dan Carpenter <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-09-27 08:11:07 +02:00
Ming Yen Hsieh and Felix Fietkau
922e515bd8
wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc
...
Due to the lack of checks on the clc array, if the firmware supports
more clc configuration, it will cause illegal memory access.
Cc: [email protected]
Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-09-06 11:05:39 +02:00
Chen Ni and Felix Fietkau
eeb51b5273
wifi: mt76: mt7925: convert comma to semicolon
...
Replace comma between expressions with semicolons.
Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by: Chen Ni <[email protected] >
Reviewed-by: Matthias Brugger <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-09-06 11:05:39 +02:00
Michael Lo and Felix Fietkau
5fdb1841f7
wifi: mt76: mt7925: fix a potential association failure upon resuming
...
In multi-channel scenarios, the granted channel must be aborted before
suspending. Otherwise, the firmware will be put into a wrong state,
resulting in an association failure after resuming.
With this patch, the granted channel will be aborted before suspending
if necessary.
Cc: [email protected]
Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Michael Lo <[email protected] >
Signed-off-by: Ming Yen Hsieh <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-09-06 11:05:39 +02:00
Peter Chiu and Felix Fietkau
4e8167b941
wifi: mt76: connac: fix checksum offload fields of connac3 RXD
...
Fix incorrect RXD offset and bitfield related to RX checksum offload.
Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Fixes: 4e9011fcdfc4 ("wifi: mt76: connac: move connac3 definitions in mt76_connac3_mac.h")
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] >
2024-08-21 17:16:19 +02:00
Felix Fietkau
ea8c3eac12
wifi: mt76: change .sta_assoc callback to .sta_event
...
Also report auth/disassoc events, in order to give the driver more control over
handling the station state.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:09:03 +02:00
Felix Fietkau
1305484d04
wifi: mt76: connac: add support for passing connection state directly
...
Preparation for improvements to sta handling. No functional changes.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:08:54 +02:00
Michael Lo and Felix Fietkau
3a367258d9
wifi: mt76: mt792x: fix scheduler interference in drv own process
...
Add some time to wait for LP engine to complete its operation
before polling pmctrl register.
Signed-off-by: Michael Lo <[email protected] >
Signed-off-by: Ming Yen Hsieh <[email protected] >
Tested-by: David Ruth <[email protected] >
Acked-by: Sean Wang <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
e0b4763428
wifi: mt76: mt7925: enabling MLO when the firmware supports it
...
Register MLD capability for the firmware supporting MLO.
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/49c796b101e792c84bc2c0d74753022b75fd3355.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
94fe680187
wifi: mt76: mt7925: remove the unused mt7925_mcu_set_chan_info
...
remove the unused function mt7925_mcu_set_chan_info
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/0aa0abe7fc661380ae812c6bc879a7705de401b2.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
17f5ef8058
wifi: mt76: mt7925: update mt7925_mac_link_bss_add for MLO
...
Update band_idx in per-link BSS to be auto for the MLO-enabled firmware
and the MLO-enabled firmware only supports omac index in 0.
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/37fcf3ea7b4883840d61f97231277b297e1b15a3.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
783bb83145
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] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
6a3af6e618
wifi: mt76: mt7925: update mt7925_mcu_set_timing for MLO
...
Set the BSS index from the per-linked BSS for the firmware to identify
which link the command is operating on.
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/dde970c748586d03fbecbccb10cb9903284719aa.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
aedb640a90
wifi: mt76: mt7925: update mt7925_mcu_sta_phy_tlv for MLO
...
when we serve MLO during the multiple-linked connection, the chanctx may
be not available in the internal driver, we should get the proper the
band information from link_conf for the MLO-enabled 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/6620e00fbeef686fb2041556deba346411eab0f1.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
e385735a67
wifi: mt76: mt7925: update mt7925_mcu_sta_rate_ctrl_tlv for MLO
...
Get band information from the per-link BSS.
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/4f6ca2d082627bb93f79d5a4df80dc08998ee5d2.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
d2b2829755
wifi: mt76: mt7925: add mt7925_mcu_sta_eht_mld_tlv for MLO
...
add mt7925_mcu_sta_eht_mld_tlv for the MLO-enabled 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/a1001592eeef4e4ee2c3e15dc94cca0815d64e59.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
7eb17943de
wifi: mt76: mt7925: update mt7925_mcu_sta_update for MLO
...
update mt7925_mcu_sta_update for the MLO-enabled 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/2e25bfc2d8aa503ecd1ba8099c6e54dce0c27b99.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
45df65348e
wifi: mt76: mt7925: update mt7925_mcu_add_bss_info for MLO
...
Update mt7925_mcu_bss_mld_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/a3d03b0a1ca916b2b8b2e7c0afcdcd7e258d97c3.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
2a226b8c06
wifi: mt76: mt7925: update mt7925_mcu_bss_mld_tlv for MLO
...
update mt7925_mcu_bss_mld_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/2d89b93bcfd92e7c6987aaa0a3c4637e605ac154.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
2a23c1e5fe
wifi: mt76: mt7925: update mt7925_mcu_sta_mld_tlv for MLO
...
Update mt7925_mcu_sta_mld_tlv for the MLO-enabled 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/25ea3ffd3875083577ab440ec63f3dcd9dc233f4.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
1fc2bab3f5
wifi: mt76: mt7925: add mt7925_[assign,unassign]_vif_chanctx
...
add mt7925_[assign,unassign]_vif_chanctx to assign and unassign
chanctx to the specific link configuration. If the chctx is not
pass in the parameter, we will look up the channel information
from link_conf->chanreq.oper.
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/15261879a16cb12674d6dea7703410baa6883799.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
2304e6146c
wifi: mt76: add def_wcid to struct mt76_wcid
...
add def_wcid to struct mt76_wcid to allow per-link wcid to retrieve the
struct ieee80211_sta structure.
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/d5188ca633666eaad7e90a8061d1a0585487e128.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
ebd522981b
wifi: mt76: mt7925: report link information in rx status
...
report link information in rx status
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/c7cdc17d94375a76802a5c4a825ea3e51cdb53af.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
6ebeb5f015
wifi: mt76: mt7925: update rate index according to link id
...
Update rate index according to link id.
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/e0bbc0932edbd9225fe7b7736693c137cf433a52.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
b14f7c02c7
wifi: mt76: mt7925: add link handling in the mt7925_ipv6_addr_change
...
add link handling in the mt7925_ipv6_addr_change
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/ed429b1896cc10c8db25dc2ade3e59bec78d7131.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
ac8ab08534
wifi: mt76: mt7925: add link handling in the BSS_CHANGED_ARP_FILTER handler
...
add link handling in the BSS_CHANGED_ARP_FILTER handler.
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/6e26e2ce253630ab29702693a7822f9961de6a18.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
18471bb0d6
wifi: mt76: mt7925: add link handling in mt7925_vif_connect_iter
...
add link handling in mt7925_vif_connect_iter
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/c8d66043a4d31801249d53dd23f695c28a97a933.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
6dfcb265aa
wifi: mt76: mt7925: add link handling in mt7925_sta_set_decap_offload
...
add link handling in mt7925_sta_set_decap_offload
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/df2524e3a63a93699bde441e4ab70a70bbac53ef.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
415503c237
wifi: mt76: mt7925: add link handling in mt7925_mac_sta_assoc
...
add links handling in mt7925_mac_sta_assoc
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/0ddf1834783b111d626b05d298478f520d7c0caa.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:13 +02:00
Sean Wang and Felix Fietkau
18ee40e548
wifi: mt76: mt7925: add link handling in mt7925_txwi_free
...
add link handling in mt7925_txwi_free.
MT7996 should have the similar the logic, we try to copy from there to
ensure consistency between both.
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/f8084e19d388c6b0807618ac6d1bb8ac633dc8cd.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:30:12 +02:00