- Jan 14, 2025
-
-
Felix Fietkau authored
Enable sniffer mode via MCU command in order to properly enable promiscuous mode on the device. Link: https://patch.msgid.link/20250102163508.52945-24-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Use generic mt76 chanctx functions and look up phy from vif link. The driver now uses only a single phy to handle multiple interfaces on different channels. This is preparation for full MLO support. Link: https://patch.msgid.link/20250102163508.52945-23-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for single-wiphy support Link: https://patch.msgid.link/20250102163508.52945-22-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Shayne Chen authored
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 <Bo.Jiao@mediatek.com> Signed-off-by:
Bo Jiao <Bo.Jiao@mediatek.com> Signed-off-by:
Shayne Chen <shayne.chen@mediatek.com> Link: https://patch.msgid.link/20250102163508.52945-21-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Pass in struct mt76_vif_link in order to update the correct link. Link: https://patch.msgid.link/20250102163508.52945-20-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Pass in struct ieee80211_bss_conf in order to use link specific data. Link: https://patch.msgid.link/20250102163508.52945-19-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Pass in struct ieee80211_bss_conf in order to use link specific data. Link: https://patch.msgid.link/20250102163508.52945-18-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Pass in struct ieee80211_bss_conf in order to use link specific data. Link: https://patch.msgid.link/20250102163508.52945-17-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Pass in struct ieee80211_bss_conf. Link: https://patch.msgid.link/20250102163508.52945-16-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Add extra arguments for struct ieee80211_bss_conf and mt76_vif_link. Link: https://patch.msgid.link/20250102163508.52945-15-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for MLO support. Link: https://patch.msgid.link/20250102163508.52945-14-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for supporting multiple radios on a single wiphy Link: https://patch.msgid.link/20250102163508.52945-13-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
This allows a driver using the generic channel context functions to temporarily switch to another channel for off-channel rx/tx. Link: https://patch.msgid.link/20250102163508.52945-12-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
When scanning on a phy/vif combination that does not have an active link, create a temporary link in order to ensure that we have a valid wcid. Link: https://patch.msgid.link/20250102163508.52945-11-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Look up the phy for each scheduled txq. Only run one scheduling loop per hw. Link: https://patch.msgid.link/20250102163508.52945-10-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Iterate over all phys if multi-radio is supported by the driver Link: https://patch.msgid.link/20250102163508.52945-9-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Explicitly check wcid->phy_idx instead. Reduces allocated data size. Link: https://patch.msgid.link/20250102163508.52945-8-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
This adds an implementation for the chanctx functions, which can be used by multi-channel capable drivers. Preparation for adding MLO support. Link: https://patch.msgid.link/20250102163508.52945-7-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Reduces code duplication and ensures that the phy index is always set. Link: https://patch.msgid.link/20250102163508.52945-6-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for MLO support. Link: https://patch.msgid.link/20250102163508.52945-5-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for splitting link data from vif data for MLO support. Link: https://patch.msgid.link/20250102163508.52945-4-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation to use it for private bss link data instead of the full vif on MLO capable devices. Link: https://patch.msgid.link/20250102163508.52945-3-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for supporting a single hw with multiple radios Link: https://patch.msgid.link/20250102163508.52945-2-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Preparation for supporting multiple radios on a single wiphy on devices where firmware does not support actual hardware scanning. This is also a prerequisite for full MLO support Co-developed-by:
Peter Chiu <chui-hao.chiu@mediatek.com> Signed-off-by:
Peter Chiu <chui-hao.chiu@mediatek.com> Co-developed-by:
Michael-CY Lee <michael-cy.lee@mediatek.com> Signed-off-by:
Michael-CY Lee <michael-cy.lee@mediatek.com> Co-developed-by:
Shayne Chen <shayne.chen@mediatek.com> Signed-off-by:
Shayne Chen <shayne.chen@mediatek.com> Link: https://patch.msgid.link/20250102163508.52945-1-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Fixes linked list management issues during restart, where sta entries can be recreated and reinitialized while still in the poll list, triggering kernel warnings. Link: https://patch.msgid.link/20241230194202.95065-14-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Allows adding stations before assoc, though they are not passed to the firmware yet at that point. Link: https://patch.msgid.link/20241230194202.95065-13-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Reset per-phy mac address slot mask in order to avoid leaking entries. Fixes: 8a55712d ("wifi: mt76: mt7915: enable full system reset support") Link: https://patch.msgid.link/20241230194202.95065-12-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
It seems that the firmware checks the register used for detecting matching PCIe links in order to figure out if a secondary PCIe link is enabled. Write the register again just before starting the firmware on hw reset, in order to fix an issue that left the second band unusable after restart. Fixes: 9093cfff ("mt76: mt7915: add support for using a secondary PCIe link for gen1") Link: https://patch.msgid.link/20241230194202.95065-11-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Avoid issuing MCU calls during a hardware restart Link: https://patch.msgid.link/20241230194202.95065-10-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
When a client is roaming to a different AP interface, a duplicate wtbl entry can be created. This can lead to lost packets or aggregation issues until the old entry expires. In order to fix this issue, delete any conflicting entries from WTBL whenever a station is authorized. Link: https://patch.msgid.link/20241230194202.95065-9-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Avoids sending packets too early Fixes: 0b3be9d1 ("wifi: mt76: add separate tx scheduling queue for off-channel tx") Link: https://patch.msgid.link/20241230194202.95065-8-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
This allows faster recovery from firmware issues Link: https://patch.msgid.link/20241230194202.95065-7-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
The need to retry a command is really uncommon. Reduce the retries to 1 to speed up recovery from firmware issues. Link: https://patch.msgid.link/20241230194202.95065-6-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Fix rx filter setting to prevent dropping NDPA frames. Without this change, bfee functionality may behave abnormally. Fixes: 98686cd2 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices") Link: https://patch.msgid.link/20241230194202.95065-5-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Use the default firmware values Link: https://patch.msgid.link/20241230194202.95065-4-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
It should only be set to 20 for long slot time on 2.4 GHz Link: https://patch.msgid.link/20241230194202.95065-3-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
It is unused Link: https://patch.msgid.link/20241230194202.95065-2-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
It is only used in mt76_connac2_mac_tx_rate_val, inline it there. Link: https://patch.msgid.link/20241230194202.95065-1-nbd@nbd.name Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Nick Morrow authored
Add VID/PID 35bc/0107 for recently released TP-Link TXE50UH USB WiFi adapter. Tested-by:
Shang Chieh Tseng <shangchieh.tseng@tsengsy.com> Signed-off-by:
Nick Morrow <usbwifi2024@gmail.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/e797f105-9ca8-41e9-96de-7d25dec09943@gmail.com Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Zhang Kunbo authored
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1], introduced in C99: struct foo { int stuff; struct boo array[]; }; By making use of the mechanism above, we will get a compiler warning in case the flexible array does not occur last, which is beneficial to cultivate a high-quality code.[2] This issue was found with the help of Coccinelle. [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html [2] commit 76497732 ("cxgb3/l2t: Fix undefined behaviour") Signed-off-by:
Zhang Kunbo <zhangkunbo@huawei.com> Link: https://patch.msgid.link/20241218074552.3271542-1-zhangkunbo@huawei.com Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-