Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deepin-Kernel-SIG] [Upstream] [linux 6.6-y] wireless-update #363

Merged
merged 26 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8dca7e5
Revert "wifi: rtw89: 8852b: set AMSDU limit to 5000"
opsiff Aug 13, 2024
6691ae4
wifi: mt76: use atomic iface iteration for pre-TBTT work
jmberg-intel Aug 28, 2023
664ad9e
wifi: mt76: fix race condition related to checking tx queue fill status
nbd168 Aug 29, 2023
1af39fe
wifi: mt76: connac: introduce helper for mt7925 chipset
deren Aug 1, 2023
f793856
wifi: mt76: mt792x: support mt7925 chip init
deren Aug 1, 2023
0c01cef
wifi: mt76: connac: export functions for mt7925
deren Aug 1, 2023
22e7cf3
wifi: mt76: connac: add eht support for phy mode config
deren Aug 1, 2023
45f520c
wifi: mt76: connac: add eht support for tx power
deren Aug 1, 2023
c39ccf2
wifi: mt76: connac: add data field in struct tlv
deren Aug 1, 2023
7ed7bef
wifi: mt76: connac: add more unified command IDs
deren Aug 1, 2023
b26f0e5
wifi: mt76: connac: add more unified event IDs
deren Aug 1, 2023
47aea04
wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips
deren Sep 18, 2023
35f541f
wifi: mt76: mt792x: move mt7921_skb_add_usb_sdio_hdr in mt792x module
LorenzoBianconi Sep 21, 2023
3a107f8
wifi: mt76: mt792x: move some common usb code in mt792x module
LorenzoBianconi Sep 21, 2023
8cd1e19
wifi: mt76: mt7925: fix typo in mt7925_init_he_caps
LorenzoBianconi Nov 13, 2023
838db2e
wifi: mt76: Remove unnecessary (void*) conversions
Oct 20, 2023
7dee279
wifi: mt76: mt7925: fix connect to 80211b mode fail in 2Ghz band
Dec 29, 2023
57e9ca1
wifi: mt76: mt7925: fix SAP no beacon issue in 5Ghz and 6Ghz band
RongYanOne Dec 29, 2023
4a02c8a
wifi: mt76: mt7925: fix mcu query command fail
haozhangmtk Dec 29, 2023
f10fe06
wifi: mt76: mt7925: fix wmm queue mapping
Dec 29, 2023
ad20731
wifi: mt76: mt7925: fix the wrong header translation config
Dec 29, 2023
d3914bb
wifi: mt76: mt7925: add flow to avoid chip bt function fail
Quanzhoucen Dec 29, 2023
f354044
wifi: mt76: mt7925: add support to set ifs time by mcu command
Dec 29, 2023
2a42602
wifi: mt76: mt7925e: fix use-after-free in free_irq()
deren Jan 13, 2024
02d38c3
wifi: mt76: mt7925: ensure 4-byte alignment for suspend & wow command
Mar 7, 2024
925a3ea
config: enable support for MT7925
opsiff Aug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wifi: mt76: mt7925: add flow to avoid chip bt function fail
A sub-process of Wifi L0.5 reset will make chip common partition
enter low power, and have chance lead to Bluetooth host-to-chip
command timeout, modify the software flow according to the chip's
design to solve the problem.

Fixes: c948b5d ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Quan Zhou <quan.zhou@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 9300ae0)
  • Loading branch information
Quanzhoucen authored and opsiff committed Aug 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit d3914bb4a60cfabe53ab213183eed8aeaf1be44d
2 changes: 2 additions & 0 deletions drivers/net/wireless/mediatek/mt76/mt7925/pci.c
Original file line number Diff line number Diff line change
@@ -386,6 +386,8 @@ static int mt7925_pci_probe(struct pci_dev *pdev,

dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev);

mt76_rmw_field(dev, MT_HW_EMI_CTL, MT_HW_EMI_CTL_SLPPROT_EN, 1);

ret = mt792x_wfsys_reset(dev);
if (ret)
goto err_free_dev;
3 changes: 3 additions & 0 deletions drivers/net/wireless/mediatek/mt76/mt792x_regs.h
Original file line number Diff line number Diff line change
@@ -389,6 +389,9 @@
#define MT_HW_CHIPID 0x70010200
#define MT_HW_REV 0x70010204

#define MT_HW_EMI_CTL 0x18011100
#define MT_HW_EMI_CTL_SLPPROT_EN BIT(1)

#define MT_PCIE_MAC_BASE 0x10000
#define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs))
#define MT_PCIE_MAC_INT_ENABLE MT_PCIE_MAC(0x188)