Felix Fietkau
a1a65d8608
wifi: mt76: mt7915: retry mcu messages
...
In some cases MCU messages can get lost. Instead of failing completely,
attempt to recover by re-sending them.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-13 20:22:43 +02:00
Felix Fietkau
863b3a5f52
wifi: mt76: mt7915: set MT76_MCU_RESET early in mt7915_mac_full_reset
...
This avoids running into unnecessary timeouts waiting for MCU responses
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-13 19:53:35 +02:00
Felix Fietkau
5af2f7c8e8
wifi: mt76: mt7915: use mac80211 .sta_state op
...
Allows adding stations before assoc, though they are not passed to the
firmware yet at that point.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:09:09 +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
Felix Fietkau
e0a409af55
wifi: mt76: mt7915: allocate vif wcid in the same range as stations
...
Reduces the amount of unnecessary WTBL bank switching, while still reserving
WTBL entries for vifs.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:08:34 +02:00
Felix Fietkau
4eea0786d8
wifi: mt76: mt7915: disable tx worker during tx BA session enable/disable
...
Avoids firmware race condition.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:08:34 +02:00
Felix Fietkau
891031ee05
wifi: mt76: add separate tx scheduling queue for off-channel tx
...
Ensure that packets are not sent out to the wrong channel
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:08:34 +02:00
Felix Fietkau
b80c997b3f
wifi: mt76: partially move channel change code to core
...
This allows the core code to change the channel. Code deduplication and
preparation for adding scanning code to the core.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:08:33 +02:00
Felix Fietkau
6ccafa50c6
firmware: update firmware for MT7915 to 20240429200502
...
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 21:08:33 +02:00
Howard Hsu and Felix Fietkau
b4da028f99
wifi: mt76: mt7915: fix rx filter setting for bfee functionality
...
Fix rx filter setting to prevent dropping NDPA frames. Without this
change, bfee functionality may behave abnormally.
Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Signed-off-by: Howard Hsu <[email protected] >
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 18:18:56 +02:00
Benjamin Lin and Felix Fietkau
c4c66f6b11
wifi: mt76: mt7915: add dummy HW offload of IEEE 802.11 fragmentation
...
Currently, CONNAC2 series do not support encryption for fragmented Tx frames.
Therefore, add dummy function mt7915_set_frag_threshold() to prevent SW
IEEE 802.11 fragmentation.
Signed-off-by: Benjamin Lin <[email protected] >
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 18:17:34 +02:00
Benjamin Lin and Felix Fietkau
d5286f465f
wifi: mt76: connac: add support for IEEE 802.11 fragmentation
...
Add fragmentation index into TXD.DW2 to support IEEE 802.11 fragmentation.
Signed-off-by: Benjamin Lin <[email protected] >
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 18:15:27 +02:00
Felix Fietkau
c13032ba47
wifi: mt76: mt7915: always query station rx rate from firmware
...
When offloading is enabled, the software rx path may not have the latest
rate information.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-12 17:56:37 +02:00
Felix Fietkau
fdba7f4088
wifi: mt76: fix mt76_get_rate
...
Do not assume that the first phy has 2 GHz support.
Check sband->band instead of accessing dev->phy.sband_2g.
Signed-off-by: Felix Fietkau <[email protected] >
2024-08-09 10:32:37 +02:00
Felix Fietkau
6585a4353a
wifi: mt76: mt7921: fix crash on ipv6 addr notification during vif bringup
...
mvif->phy is NULL when the interface is not properly initialized yet
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-17 17:26:53 +02:00
Felix Fietkau
e25fb9a010
wifi: mt76: mt7921: add missing bss_conf vif init
...
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:33:33 +02:00
Gustavo A. R. Silva and Felix Fietkau
b6fd8fe5d2
wifi: mt76: mt7996: Use DECLARE_FLEX_ARRAY() and fix -Warray-bounds warnings
...
Transform zero-length arrays `rate`, `adm_stat` and `msdu_cnt` into
proper flexible-array members in anonymous union in `struct
mt7996_mcu_all_sta_info_event` via the DECLARE_FLEX_ARRAY()
helper; and fix multiple -Warray-bounds warnings:
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:544:61: warning: array subscript <unknown> is outside array bounds of 'struct <anonymous>[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:551:58: warning: array subscript <unknown> is outside array bounds of 'struct <anonymous>[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:553:58: warning: array subscript <unknown> is outside array bounds of 'struct <anonymous>[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:530:61: warning: array subscript <unknown> is outside array bounds of 'struct <anonymous>[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:538:66: warning: array subscript <unknown> is outside array bounds of 'struct <anonymous>[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:540:66: warning: array subscript <unknown> is outside array bounds of 'struct <anonymous>[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:520:57: warning: array subscript <unknown> is outside array bounds of 'struct all_sta_trx_rate[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:526:76: warning: array subscript <unknown> is outside array bounds of 'struct all_sta_trx_rate[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:526:76: warning: array subscript <unknown> is outside array bounds of 'struct all_sta_trx_rate[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:526:76: warning: array subscript <unknown> is outside array bounds of 'struct all_sta_trx_rate[0]' [-Warray-bounds=]
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:526:76: warning: array subscript <unknown> is outside array bounds of 'struct all_sta_trx_rate[0]' [-Warray-bounds=]
This results in no differences in binary output, helps with the ongoing
efforts to globally enable -Warray-bounds.
Reviewed-by: Kees Cook <[email protected] >
Signed-off-by: Gustavo A. R. Silva <[email protected] >
Signed-off-by: Kalle Valo <[email protected] >
Link: https://msgid.link/ZXiU9ayVCslt3qiI@work
2024-07-16 14:31:31 +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
Sean Wang and Felix Fietkau
f68bdb9b9d
wifi: mt76: mt7925: add link handling in mt7925_mcu_set_beacon_filter
...
add link handling in mt7925_mcu_set_beacon_filter
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/b814718a40ad5df6100e63d15c87ba95a318bc22.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
14d2ae0cdf
wifi: mt76: mt7925: add link handling in the BSS_CHANGED_PS handler
...
Added link handling in the BSS_CHANGED_PS 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/542ca29261af0cac007d2cb821ed36284d51c679.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
f1a7ab0544
wifi: mt76: mt7925: add link handling to mt7925_change_chanctx
...
add link handling to mt7925_change_chanctx
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/49f2a2f8230979a4e123bc1dab70a8496875cc6c.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
b6a07bce60
wifi: mt76: mt7925: add link handling in mt7925_set_key
...
add link handling in mt7925_set_key to support 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/164608d96ce10a40e673bc6f252189c94bc48da7.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
9505783485
wifi: mt76: mt7925: add link handling to txwi
...
add link handling to mt792x_tx and writing txwi.
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/c0a7c0b33ea2640bcb4f13a5f79a8976b73fa8f2.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
79f3aaf276
wifi: mt76: mt7925: add link handling in mt7925_mac_sta_remove
...
Added link handling to mt7925_mac_sta_remove, supporting the MLO-enabled
firmware. The change remains comptabile with the non-MLO mode.
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/20d53511fe1f64984d893f4d3ec87cb9f87d3070.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
6f628298f9
wifi: mt76: mt7925: add link handling in mt7925_mac_sta_add
...
Added link handling to mt7925_mac_sta_add to support MLD devices.
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/632faefe8c82cd5609c2af00aabee15ccc9616ed.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
74138b229b
wifi: mt76: mt7925: add mt7925_change_sta_links
...
add mt7925_change_sta_links to change the valid links of a station,
supporting 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/eeedec88f0576315791a8b1b453464173a4addbe.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00
Sean Wang and Felix Fietkau
56064fc172
wifi: mt76: mt7925: add mt7925_change_vif_links
...
Add mt7925_change_vif_links to change the valid links on an interface,
supporting 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/31c9de30c3a18592c8e100f909845383b66f8677.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <[email protected] >
2024-07-16 14:25:36 +02:00