Sean Wang
49681949b9
wifi: mt76: mt7925: extend mt7925_mcu_uni_roc_event
...
We extended the function to be able multiple pieces of information
in a single event, supporting the future MLO-enabled 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/4be7b34904034d521dab147883b898b5402fd29f.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:01 +02:00
Sean Wang
7cf7785a92
wifi: mt76: mt7925: add mt7925_set_link_key
...
add mt7925_set_link_key to set up the key according to the link id
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/e8cd7d37484be238a4eb9e500ef2b8aa46e43667.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:01 +02:00
Sean Wang
00e1ca0cad
wifi: mt76: mt7925: set mt7925_mcu_sta_key_tlv according to link id
...
configure mt7925_mcu_sta_key_tlv according to link id
We created a link id field in the common structure mt76_wcid so that
mt7925_mcu_sta_key_tlv can access per-link STA/BSS. Additionally,
.link_id will be required when reporting the link information of Rx status
to mac80211. We will submit the changes for reporting the Rx status in
a separate patch.
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/16d65aae010113f9be3c4e6e759b4226d396a1be.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:01 +02:00
Sean Wang
882b97c16a
wifi: mt76: mt7925: set Tx queue parameters according to link id
...
Configure TX queue parameters according to link id.
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/84a401891b8942f66d1ffbd0a3f10866c94d1bc0.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:01 +02:00
Sean Wang
3878b43336
wifi: mt76: mt7925: update mt7925_mac_link_sta_[add, assoc, remove] for MLO
...
[add, assoc, remove] the per-link STA from the corresponding to per-link
BSS with the same link id. The change remains compatible with the non-MLO
mode.
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/2410cc73eec3849c2185b5cfa613b7e903e68abb.1720248331.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:00 +02:00
Sean Wang
2938b50917
wifi: mt76: mt7925: update mt76_connac_mcu_uni_add_dev for MLO
...
Set OMAC address with the per-link BSS. 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/6b2502d0c3a53093f83ae33329e9d782ba2465b3.1720042294.git.sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:00 +02:00
Sean Wang
8b7eb93b7a
wifi: mt76: mt7925: simpify mt7925_mcu_sta_cmd logic by removing fw_offload
...
The mt7925 only supports offload firmware making the fw_offload check
redundant. This update simplifies the logic in "mt7925_mcu_sta_cmd"
by removing the unnecessary check for fw_offoad.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-48-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:02:00 +02:00
Sean Wang
1541d63c5f
wifi: mt76: mt7925: add mt7925_mac_link_bss_remove to remove per-link BSS
...
The mt7925_mac_link_bss_remove function currently removes the per-link BSS.
We will extend this function when we implement the MLO functionality.
This patch only includes structural changes and does not involve any
logic changes.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-47-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:59 +02:00
Sean Wang
95977b1d10
wifi: mt76: mt7925: add mt7925_mac_link_bss_add to create per-link BSS
...
The mt7925_mac_link_bss_add function currently creates the per-link BSS.
We will extend this function when we implement the MLO functionality.
This patch only includes structural changes and does not involve any
logic changes.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-46-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:59 +02:00
Sean Wang
5f5b6a745c
wifi: mt76: mt7925: add mt7925_mac_link_sta_remove to remove per-link STA
...
The mt7925_mac_link_sta_remove function currently removes the per-link STA.
We will extend this function when we implement the MLO functionality.
This patch only includes structural changes and does not involve any
logic changes.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-45-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:59 +02:00
Sean Wang
89397bccc8
wifi: mt76: mt7925: add mt7925_mac_link_sta_assoc to associate per-link STA
...
The mt7925_mac_link_sta_add function currently associates the per-link STA.
We will extend this function when we implement the MLO functionality.
This patch only includes structural changes and does not involve any
logic changes.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-44-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:59 +02:00
Sean Wang
5029871583
wifi: mt76: mt7925: add mt7925_mac_link_sta_add to create per-link STA
...
The mt7925_mac_link_sta_add function currently adds the per-link STA.
We will extend this function when we implement the MLO functionality.
This patch only includes structural changes and does not involve any
logic changes.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-43-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:58 +02:00
Sean Wang
c1c98696de
wifi: mt76: mt7925: extend mt7925_mcu_bss_basic_tlv for per-link STA
...
Extend mt7925_mcu_bss_basic_tlv with the per-link STA configuration.
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/20240613030241.5771-42-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:58 +02:00
Sean Wang
523f5d9c25
wifi: mt76: mt7925: extend mt7925_mcu_bss_mld_tlv for per-link STA
...
Extend mt7925_mcu_bss_mld_tlv with the per-link STA configuration.
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/20240613030241.5771-41-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:58 +02:00
Sean Wang
064a5955aa
wifi: mt76: mt7925: extend mt7925_mcu_add_bss_info for per-link STA
...
Extend mt7925_mcu_add_bss_info with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-40-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:57 +02:00
Sean Wang
612004dd74
wifi: mt76: mt7925: extend mt7925_mcu_sta_hdr_trans_tlv for per-link STA
...
Extend mt7925_mcu_sta_hdr_trans_tlv with per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-39-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:57 +02:00
Sean Wang
6e226666ef
wifi: mt76: mt762x: extend mt76_connac_mcu_sta_basic_tlv for per-link STA
...
Extend mt76_connac_mcu_sta_basic_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-38-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:57 +02:00
Sean Wang
45020d10d2
wifi: mt76: mt792x: extend mt76_connac_get_phy_mode_v2 for per-link STA
...
Extend mt76_connac_get_phy_mode_v2 with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-37-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:57 +02:00
Sean Wang
9d345e15ef
wifi: mt76: mt7925: extend mt7925_get_phy_mode for per-link STA
...
Extend mt7925_get_phy_mode with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-36-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:56 +02:00
Sean Wang
15ced2a624
wifi: mt76: mt7925: extend mt7925_get_phy_mode_ext for per-link STA
...
Extend mt7925_get_phy_mode_ext with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-35-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:56 +02:00
Sean Wang
e7a9853e6b
wifi: mt76: mt7925: extend mt7925_mcu_sta_phy_tlv for per-link STA
...
Extend mt7925_mcu_sta_phy_tlv with per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-34-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:56 +02:00
Sean Wang
872b5a0336
wifi: mt76: mt7925: extend mt7925_mcu_sta_ht_tlv for per-link STA
...
Extend mt7925_mcu_sta_ht_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-33-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:56 +02:00
Sean Wang
f75b6ee03a
wifi: mt76: mt7925: extend mt7925_mcu_sta_vht_tlv for per-link STA
...
Extend mt7925_mcu_sta_vht_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-32-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:55 +02:00
Sean Wang
8ebb1a61b4
wifi: mt76: mt7925: extend mt7925_mcu_sta_amsdu_tlv for per-link STA
...
Extend mt7925_mcu_sta_amsdu_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-31-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:55 +02:00
Sean Wang
e2f10f5bdd
wifi: mt76: mt7925: extend mt7925_mcu_sta_he_tlv for per-link STA
...
Extend mt7925_mcu_sta_he_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-30-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:55 +02:00
Sean Wang
6805b190d2
wifi: mt76: mt7925: extend mt7925_mcu_sta_he_6g_tlv for per-link STA
...
Extend mt7925_mcu_sta_he_6g_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-29-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:54 +02:00
Sean Wang
b2f5977306
wifi: mt76: mt7925: extend mt7925_mcu_sta_eht_tlv for per-link STA
...
Extend mt7925_mcu_sta_eht_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-28-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:54 +02:00
Sean Wang
22e177d2a7
wifi: mt76: mt7925: extend mt7925_mcu_sta_rate_ctrl_tlv with per-link STA
...
Extend mt7925_mcu_sta_rate_ctrl_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-27-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:54 +02:00
Sean Wang
ec8a86b2f0
wifi: mt76: mt7925: extend mt7925_mcu_sta_state_v2_tlv for per-link STA
...
Extend mt7925_mcu_sta_state_v2_tlv with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-26-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:54 +02:00
Sean Wang
f7cc894403
wifi: mt76: mt7925: extend mt7925_mcu_sta_update for per-link STA
...
Extend mt7925_mcu_sta_update with the per-link STA configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-25-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:53 +02:00
Sean Wang
22d66ef665
wifi: mt76: mt7925: mt7925_mcu_set_chctx rely on mt7925_mcu_bss_rlm_tlv
...
make mt7925_mcu_set_chctx rely on mt7925_mcu_bss_rlm_tlv to get rid of
the redundant code.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-24-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:53 +02:00
Sean Wang
ca64503a8f
wifi: mt76: mt7925: add mt7925_mcu_bss_rlm_tlv to constitue the RLM TLV
...
add mt7925_mcu_bss_rlm_tlv to maintain consistency with the other TLVs that
constitute the command for creating the per-link BSS.
Co-developed-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com >
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com >
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-23-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:53 +02:00
Sean Wang
3a0c8d2908
wifi: mt76: mt7925: extend mt7925_mcu_uni_bss_ps for per-link BSS
...
Extend mt7925_mcu_uni_bss_ps with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-22-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:52 +02:00
Sean Wang
d1c5f3719f
wifi: mt76: mt7925: extend mt7925_mcu_uni_bss_bcnft for per-link BSS
...
Extend mt7925_mcu_uni_bss_bcnft with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-21-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:52 +02:00
Sean Wang
0aa5e96c6d
wifi: mt76: mt7925: extend mt7925_mcu_[abort, set]_roc for per-link BSS
...
The channel context has to be bound with the per-link BSS, thus,
we extend mt7925_mcu_[abort, set]_roc to work with the per-link BSS
configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-20-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:52 +02:00
Sean Wang
b6749ee8b4
wifi: mt76: mt7925: extend mt7925_mcu_set_bss_pm for per-link BSS
...
Extend mt7925_mcu_set_bss_pm with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-19-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:52 +02:00
Sean Wang
21760dcd2a
wifi: mt76: mt7925: extend mt7925_mcu_bss_basic_tlv for per-link BSS
...
Extend mt7925_mcu_bss_basic_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-18-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:51 +02:00
Sean Wang
ff5efcd4f8
wifi: mt76: mt7925: extend mt7925_mcu_bss_sec_tlv for per-link BSS
...
Extend mt7925_mcu_bss_sec_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-17-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:51 +02:00
Sean Wang
0637256a79
wifi: mt76: mt7925: remove unused parameters in mt7925_mcu_bss_bmc_tlv
...
remove unused parameters in mt7925_mcu_bss_bmc_tlv
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/20240613030241.5771-16-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:51 +02:00
Sean Wang
1d1f126899
wifi: mt76: mt7925: extend mt7925_mcu_bss_bmc_tlv for per-link BSS
...
Extend mt7925_mcu_bss_bmc_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-15-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:50 +02:00
Sean Wang
220865160c
wifi: mt76: mt7925: extend mt7925_mcu_bss_mld_tlv for per-link BSS
...
Extend mt7925_mcu_bss_mld_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-14-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:50 +02:00
Sean Wang
eff53d6ee1
wifi: mt76: mt7925: extend mt7925_mcu_bss_qos_tlv for per-link BSS
...
Extend mt7925_mcu_bss_qos_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-13-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:50 +02:00
Sean Wang
a5c372f77a
wifi: mt76: mt7925: extend mt7925_mcu_bss_he_tlv for per-link BSS
...
Extend mt7925_mcu_bss_he_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-12-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:50 +02:00
Sean Wang
b698264e1e
wifi: mt76: mt7925: extend mt7925_mcu_bss_color_tlv for per-link BSS
...
Extend mt7925_mcu_bss_color_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-11-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:49 +02:00
Sean Wang
d62f77e347
wifi: mt76: mt7925: extend mt7925_mcu_bss_ifs_tlv for per-link BSS
...
Extend mt7925_mcu_bss_ifs_tlv with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-10-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:49 +02:00
Sean Wang
b8b04b6616
wifi: mt76: mt7925: extend mt7925_mcu_set_timing for per-link BSS
...
Extend mt7925_mcu_set_timing with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-9-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:49 +02:00
Sean Wang
fa5f44463f
wifi: mt76: mt7925: extend mt7925_mcu_add_bss_info for per-link BSS
...
Extend mt7925_mcu_add_bss_info with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
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/20240613030241.5771-8-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:48 +02:00
Deren Wu
acdfc3e798
wifi: mt76: mt7925: extend mt7925_mcu_set_tx with for per-link BSS
...
Extend mt7925_mcu_set_tx with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
Co-developed-by: Sean Wang <sean.wang@mediatek.com >
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Signed-off-by: Deren Wu <deren.wu@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-7-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:48 +02:00
Sean Wang
7cebb6a66a
wifi: mt76: mt792x: extend mt76_connac_mcu_uni_add_dev for per-link BSS
...
Extend mt76_connac_mcu_uni_add_dev with per-link BSS configuration.
The patch we created is a prerequisite to enable the MLO function in the
driver. It is purely a refactoring patch so the functionality should
remain unchanged.
We also extend link_idx field in mt76_connac_bss_basic_tlv for the firmware
to able to identify the link index in the MLO mode that is not harmful
for the current non-MLO mode.
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-6-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:48 +02:00
Deren Wu
43626f0e0c
wifi: mt76: mt7925: support for split bss_info_changed method
...
The .bss_info_changed method is being split into .vif_cfg_changed and
.link_info_changed to support MLD devices, but it will still support
non-MLD devices.
Co-developed-by: Sean Wang <sean.wang@mediatek.com >
Signed-off-by: Sean Wang <sean.wang@mediatek.com >
Signed-off-by: Deren Wu <deren.wu@mediatek.com >
Link: https://patch.msgid.link/20240613030241.5771-5-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2024-07-09 23:01:48 +02:00