Tianling Shen
df11060923
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-23 11:46:05 +08:00
Shiji Yang
d152188906
mac80211: rt2x00: fix MT7620 low RSSI issue
...
Introducing SoC specific RSSI base value to fix the low RSSI issue
on MT7620. With this fix[1], the RSSI value reported by MT7620 will
increase by 10 dB.
[1] https://lore.kernel.org/linux-wireless/TYAP286MB031571CDB146C414A908A66DBCFEA@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM/
Fixes: https://github.com/openwrt/openwrt/issues/11036
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2023-09-23 03:30:00 +01:00
Tianling Shen
da5714041d
rtl88x2bu: fix build for kernel 5.15
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-21 14:55:58 +08:00
Tianling Shen
a6a58e6dc1
rtl8821cu: fix build with mac80211 6.5
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-21 14:40:11 +08:00
Tianling Shen
e48cf401d9
rtl8812au-ac: fix build for kernel 5.15
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-21 14:07:13 +08:00
Tianling Shen
46bc04b3b4
rtl8192eu: fix build for kernel 5.15
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-21 13:46:10 +08:00
Tianling Shen
9121456421
rtl8812au-ac: bump to latest git HEAD
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 19:11:00 +08:00
Tianling Shen
4688a4913e
rtl8192eu: bump to latest git HEAD
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 18:57:52 +08:00
Tianling Shen
b62af9176e
rtl8189es: bump to latest git HEAD
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 18:51:12 +08:00
Tianling Shen
f28e232554
rtl8188eu: fix build with mac80211 6.5
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 18:41:48 +08:00
Tianling Shen
b097e0d458
rtl88x2bu: bump to latest git HEAD
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 18:32:00 +08:00
Tianling Shen
c7cf30e208
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-20 10:41:08 +08:00
Pascal Coudurier
dc471652fe
kernel: modules: video: adapt drm-amdgpu and drm-radeon for kernel 6.1
...
Package and add dependencies to drm-amdgpu and drm-radeon for 6.1
* package acpi-video, drm-display-helper and drm-buddy
* add acpi-video, drm-display-helper and drm-buddy as dependencies for
drm-amdgpu
* add acpi-video and drm-display-helper as dependencies for drm-radeon
Signed-off-by: Pascal Coudurier <coudu@gmx.com>
2023-09-19 11:38:37 +02:00
Pascal Coudurier
e9dc4ff22d
kernel: modules: netdevices: adapt mlx5-core for kernel 6.1
...
Set CONFIG_MLX5_VFIO_PCI=n for kernel greater than 5.18
Signed-off-by: Pascal Coudurier <coudu@gmx.com>
2023-09-19 11:38:37 +02:00
Pascal Coudurier
ce098f4791
kernel: modules: hwmon: adapt nct6775 for kernel 6.1
...
nct6775 module splited in 5.19 kernel:
* add nct6775-core module @ge5.19
* add regmap dependency for 6.1
Signed-off-by: Pascal Coudurier <coudu@gmx.com>
2023-09-19 11:38:37 +02:00
Tianling Shen
57403533b9
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-19 10:04:49 +08:00
Felix Fietkau
ef8e2f66f5
mt76: update to the latest version
...
b5d13611d35e mt76: mt7915: fix monitor mode issues
bbbac7deee3d wifi: mt76: rename mt76_packet_id_init/flush to mt76_wcid_init/cleanup
f1e1e67d97d1 wifi: mt76: fix race condition related to checking tx queue fill status
b3f739a64e6b wifi: mt76: mt7996: add eht rx rate support
ca4917062f17 wifi: mt76: mt76x0: remove dead code in mt76x0_phy_get_target_power
325a0c493199 wifi: mt76: mt7996: fill txd by host driver
cd371fcc98d4 mt76: mt7996: sync with upstream
d71f8d1b172b wifi: mt76: use atomic iface iteration for pre-TBTT work
8d5ea32d4895 wifi: mt76: remove unused error path in mt76_connac_tx_complete_skb
01860c02c505 wifi: mt76: add DMA mapping error check in mt76_alloc_txwi()
62ddb6d46a97 wifi: mt76: connac: introduce helper for mt7925 chipset
0837f37e998b wifi: mt76: mt792x: support mt7925 chip init
899ff378082b wifi: mt76: connac: export functions for mt7925
c3858b5bf347 wifi: mt76: connac: add eht support for phy mode config
5df6b26a9fc5 wifi: mt76: connac: add eht support for tx power
a8081345c636 wifi: mt76: connac: add data field in struct tlv
9b38aebecf78 wifi: mt76: connac: add more unified command IDs
84984e6dc87d wifi: mt76: connac: add more unified event IDs
6fe92398c9ce wifi: mt76: mt7996: set correct wcid in txp
2cfe2fb0bb80 wifi: mt76: mt7996: fix beamform mcu cmd configuration
e512241bb5bb wifi: mt76: mt7996: fix beamformee ss subfield in EHT PHY cap
719a98f832c7 wifi: mt76: mt7996: fix wmm queue mapping
9723562f2a5b wifi: mt76: mt7996: fix rx rate report for CBW320-2
1bb5a6a54943 wifi: mt76: mt7996: fix TWT command format
751b054891f6 wifi: mt76: mt7996: only set vif teardown cmds at remove interface
fea1e10c7741 wifi: mt76: mt7996: support more options for mt7996_set_bitrate_mask()
d497ee8aa2f5 wifi: mt76: mt7996: support per-band LED control
8ccc84111141 wifi: mt76: Use PTR_ERR_OR_ZERO() to simplify code
161f70217edf wifi: mt76: mt7921e: Support MT7992 IP in Xiaomi Redmibook 15 Pro (2023)
7d25bfc3f0cc wifi: mt76: fix clang-specific fortify warnings
5971aa968401 wifi: mt76: connac: add MBSSID support for mt7996
5a47dd323be1 wifi: mt76: update beacon size limitation
d5b4b81dcc9e wifi: mt76: check sta rx control frame to multibss capability
af0e1f6dafb5 wifi: mt76: fix potential memory leak of beacon commands
65d91a833b01 wifi: mt76: get rid of false alamrs of tx emission issues
29411e52059f wifi: mt76: fix per-band IEEE80211_CONF_MONITOR flag comparison
4da62774038a wifi: mt76: check vif type before reporting cca and csa
4a85678fe089 wifi: mt76: mt7915: update mpdu density capability
791a45cffadf wifi: mt76: mt7915: fix beamforming availability check
08e1e6cb7d41 wifi: mt76: Drop unnecessary error check for debugfs_create_dir()
d1881b1b2bf6 wifi: mt76: move struct ieee80211_chanctx_conf up to struct mt76_vif
66d5694e1898 wifi: mt76: mt7921: fix the wrong rate pickup for the chanctx driver
9fc37b0ac546 wifi: mt76: mt7921: fix the wrong rate selected in fw for the chanctx driver
2afc7285f75d wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-18 12:51:53 +02:00
Felix Fietkau
13b24340d7
mac80211: backport upstream patch required for mt76 update
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-18 12:50:45 +02:00
Robert Marko
b33bfcf9fa
mac80211: ath11k: sync with ath-next
...
Synchronize the ath11k backports with the current ath-next tree.
All of the changes are various bugfixes, there is no new major feature.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-09-17 14:44:34 +02:00
Robert Marko
10eea40f7b
mac80211: ath11k: drop upstreamed patches
...
Commit ed3725e15a154ebebf44e0c34806c57525483f92
("wifi: ath11k: Fix qmi_msg_handler data structure initialization")
has been present upstream since 6.1.2 but it seems Quilt refreshed it
wrongly so it appeared like a completely different patch.
Commit 7c15430822e71e90203d87e6d0cfe83fa058b0dc
("wifi: ath11k: allow system suspend to survive ath11k")
has been present upstream since 6.1.16 but somehow quilt still happily
applied it.
So, drop both of them.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-09-17 14:44:30 +02:00
Tianling Shen
46c4f39158
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-16 16:58:57 +08:00
Tianling Shen
3f3094e87c
mac80211: ath11k: add workaround for memory leak issue
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-16 16:25:36 +08:00
Daniel Maslowski
c1206675a4
kernel: decouple 9P virtio from 9P net
...
General support for 9P is desirable on platforms without virtualization.
This decouples the 9P general networking support for use on more platforms.
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2023-09-14 23:44:14 +02:00
Felix Fietkau
16889141d9
mac80211: fix AP reconfiguration on DFS channels in non-ETSI regdomain
...
Allow grace period for DFS available after shutting down beacons on the channel
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-14 19:13:35 +02:00
Tianling Shen
b9cda8a4e3
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-14 21:40:47 +08:00
Felix Fietkau
02b4dc93b6
mac80211: only add the mbssid option to the config when set
...
This avoids errors when the feature is not built into the hostapd binary
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 17:38:25 +02:00
Felix Fietkau
20c667cc88
hostapd: rework reload support and MAC address handling
...
MAC address and interface name assigned by mac80211.sh depend on the order in
which interfaces are brought up. This order changes when interfaces get added
or removed, which can cause unnecessary reload churn.
One part of the fix it making MAC address allocation more dynamic in both
wpa_supplicant and hostapd, by ignoring the provided MAC address using
the next available one, whenever the config does not explicitly specify one.
The other part is making use of support for renaming netdevs at runtime and
preserving the MAC address for renamed netdevs.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 12:37:44 +02:00
Felix Fietkau
651cb1422e
mac80211: add multiple BSSID support
...
This advertises multiple BSS interfaces in a single set of beacons
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 12:37:44 +02:00
Felix Fietkau
da55eba968
mac80211: add support for configuring number of globally allocated MAC addresses
...
When a device has more than one reserved mac address, they can be used for
virtual interfaces without the local bit in the first byte
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 12:37:44 +02:00
Felix Fietkau
13c1080a3f
hostapd: move mac address allocation from mac80211.sh to wdev.uc
...
Preparation for upcoming hostapd reload improvements
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 12:37:44 +02:00
Felix Fietkau
1688c47e3e
mac80211: disable automatically created sta interfaces
...
They are not useful for anything on the system and are annoying when a PHY
is disabled in the config
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 11:57:06 +02:00
Felix Fietkau
2148579116
mac80211: add missing kernel modules for brcmfmac
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-13 09:45:56 +02:00
Felix Fietkau
20bd3502d3
mac80211: fix mesh id corruption on 32 bit systems
...
increase size of ifmsh->mbss_changed
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-12 15:35:24 +02:00
Aviana Cruz
46d673033b
ramips: add support for mtk eip93 crypto engine
...
Mediatek EIP93 Crypto engine is a crypto accelerator which
is available in the Mediatek MT7621 SoC.
Signed-off-by: Aviana Cruz <gwencroft@proton.me>
Co-authored-by: Richard van Schagen <vschagen@icloud.com>
Co-authored-by: Chukun Pan <amadeus@jmu.edu.cn>
2023-09-12 14:57:54 +02:00
Tianling Shen
10602e722d
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-12 18:36:26 +08:00
Felix Fietkau
42fda2f64e
mac80211: add missing dependency for iwlwifi
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-12 11:18:45 +02:00
Tianling Shen
2b321601d8
mt76: add MT7922 firmware
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-12 12:15:20 +08:00
Felix Fietkau
e648e3ccf9
mac80211: fix build regressions on linux 6.1
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-11 18:54:13 +02:00
Felix Fietkau
f861292abc
mac80211: update to version 6.5
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-11 14:29:36 +02:00
Tianling Shen
3719159f66
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-04 21:09:31 +08:00
Felix Fietkau
4a0b1af905
hostapd: allow adding initial AP without breaking STA interface connection
...
When switching from a STA-only configuration to AP+STA on the same phy, the
STA was previously restarted in order to notify hostapd of the new frequency,
which might not match the AP configuration.
Fix the STA restart by querying the operating frequency from within hostapd
when bringing up the AP.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-03 09:51:28 +02:00
Tianling Shen
ef0da86253
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-01 09:52:11 +08:00
Felix Fietkau
99a98b3024
mac80211: remove non-upstream antenna gain configuration patch
...
It seems that this was not functioning properly and was likely completely unused.
Keeping this out of tree also introduced some annoying churn when updating, because
of the iw nl80211.h sync patch.
If this is needed, it will be reintroduced when/if it is added upstream
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-08-30 12:28:30 +02:00
Tianling Shen
1dd1065198
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-30 11:51:39 +08:00
Mathew McBride
9ac01aac0a
kernel: enable vfio and vfio-pci for armsr-armv8
...
Arm platforms with the right hardware blocks (such as
GICv3.0+ interrupt controller and SMMU/IOMMU) are
able to use vfio-pci to pass through PCI devices
to a VM.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
2023-08-29 23:41:05 +02:00
Mathew McBride
7ad8612a23
kernel: vfio: remove unneeded enable_unsafe_noiommu_mode parameter
...
The vfio module only exposes the enable_unsafe_noiommu_mode parameter
if CONFIG_VFIO_NOIOMMU is enabled. When it isn't, the module
will complain about an unknown parameter:
vfio: unknown parameter 'enable_unsafe_noiommu_mode' ignored
As CONFIG_VFIO_NOIOMMU is disabled by the module package,
we can remove the module loading parameter.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
2023-08-29 23:41:04 +02:00
Tianling Shen
e4d9899e5e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-29 09:23:24 +08:00
Andre Heider
520ade686b
ltq-vdsl-vr11-mei: fix compilation error with kernel 6.1
...
Define the old PDE_DATA marco to the new pde_data function.
Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-08-27 19:26:53 +02:00
Andre Heider
63635696dc
vrx518_tc: fix compilation error with kernel 6.1
...
Define the old PDE_DATA marco to the new pde_data function and
conditionally use the newer APIs.
Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-08-27 19:26:53 +02:00
Andre Heider
e8e5dbc3c9
vrx518_ep: fix compilation error with kernel 6.1
...
Unconditionally use the newer APIs, since our oldest supported kernel
contains them too.
Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-08-27 19:26:53 +02:00