Commit Graph

129 Commits

Author SHA1 Message Date
Paul Fertser
590f6a9038 mac80211: fix MAC address allocations when local bit set on base addr
Testing with hwsim reveals two problems:

1. phyX/addresses has two addresses and mac80211_get_addr keeps
returning the last one when asked for more;

2. The base address has the local bit set and the operation unsets it.

Fix both.

Fixes: 866790fd82
Reported-by: Zero_Chaos
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2020-12-23 11:29:48 +08:00
Davide Fioravanti
8516cdd2c4
mac80211: select the first available channel for 5GHz interfaces
Some 5GHz wifi interfaces, especially in Tri-band routers, can't use
channel 36. In these cases, the default configuration for 5GHz
interfaces, once enabled, doesn't work.

This patch selects the first non-disabled channel for 5GHz interfaces.

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
2020-12-20 13:52:04 +08:00
Felix Fietkau
78326d89e2
mac80211: do not drop tx nulldata packets on encrypted links
Fixes sending out nulldata probing frames

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-12-19 18:18:26 +08:00
Rafał Dzięgiel
8c60d18887
mac80211: ath9k: enable OEM cards support on x86
A lot of devices running OpenWrt x86 arch (32 or 64 bit) are either
"home-made routers" or devices that use PC class OEM components.

This commit enables OEM cards support on those devices by default.

Signed-off-by: Rafał Dzięgiel <rafostar.github@gmail.com>
[reformat commit message]
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-11-08 02:06:49 +08:00
Felix Fietkau
554a8c7bbf mac80211: do not allow bigger VHT MPDUs than the hardware supports
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit caf727767a)
[Refreshed patch]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-10-14 20:05:46 +08:00
Marty Jones
fc806993fd
rockchip: enable WiFi on ROCK Pi 4
Signed-off-by: Marty Jones <mj8263788@gmail.com>
2020-10-04 22:04:36 +08:00
Adrian Schmutzler
c325a923f7
ar71xx: drop target
This target has been mostly replaced by ath79 and won't be included
in the upcoming release anymore. Finally put it to rest.

This also removes all references in packages, tools, etc. as well as
the uboot-ar71xx and vsc73x5-ucode packages.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-06 18:19:14 +08:00
Hauke Mehrtens
d81ce5abe7
mac80211: Fix potential endless loop
Backport a fix from kernel 5.8.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-09-05 11:04:12 +08:00
Hauke Mehrtens
063900fb6c
mac80211: Fix build on mpc85xx target
This fixes the following compile error seen on the mpc85xx target:
  CC [M]  /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o
In file included from /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/stddef.h:17,
                 from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/uapi/linux/wireless.h:77,
                 from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/linux/wireless.h:13,
                 from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:89:
/builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/bits/alltypes.h:106:15: error: conflicting types for 'ptrdiff_t'
 typedef _Addr ptrdiff_t;
               ^~~~~~~~~
In file included from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/types.h:4,
                 from ./include/linux/list.h:5,
                 from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/list.h:3,
                 from ./include/linux/module.h:9,
                 from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/module.h:3,
                 from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:79:
./include/linux/types.h:65:28: note: previous declaration of 'ptrdiff_t' was here
 typedef __kernel_ptrdiff_t ptrdiff_t;
                            ^~~~~~~~~
scripts/Makefile.build:265: recipe for target '/linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o' failed

Fixes: 3f57fae66b ("mac80211: Update to 5.4.56-1")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-09-05 11:03:26 +08:00
CN_SZTL
3f57fae66b
mac80211: Update to 5.4.56-1 2020-09-05 10:56:12 +08:00
mohammad rasim
18e7ce327c kernel: add ar5523 driver
The driver currently only support managed and monitor mode

Changes since v1:
- drop the @DRIVER_11N_SUPPORT dependency

Signed-off-by: mohammad rasim <mohammad.rasim96@gmail.com>
2020-08-25 12:26:14 +08:00
Hauke Mehrtens
d2669e0b38
mac80211: Update to version 5.4.36-1
This updates the mac80211 backport to the latest minor version.

The removed patch was a backport from the upstream kernel which is now
integrated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 17:49:41 +08:00
AmadeusGhost
c65a4fc513 Merge Mainline 2020-05-14 12:00:36 +08:00
AmadeusGhost
29a00cd005 Merge Lean's source 2020-05-13 17:50:08 +08:00
AmadeusGhost
5591c36728
Revert "ipq40xx: update ath10k firmware" (#4590)
This reverts commit 2c37fa71f9.
2020-05-12 18:58:46 +08:00
AmadeusGhost
839522a0c7
mac80211: correct target name for bcm (#4575) 2020-05-11 15:42:59 +08:00
AmadeusGhost
c5ac0034f8 Merge Mainline 2020-05-10 11:39:25 +08:00
AmadeusGhost
f2c4cd42ff Merge Lean's source 2020-05-09 18:16:05 +08:00
coolsnowwolf
2c37fa71f9 ipq40xx: update ath10k firmware 2020-05-09 14:36:43 +08:00
AmadeusGhost
a5c4c8899c
linux-firmware: enable qca4019 (#4488) 2020-05-01 11:47:50 +08:00
CN_SZTL
920cf867f4
Merge Mainline 2020-05-01 10:38:39 +08:00
AmadeusGhost
64b3974593 Merge Lean's source 2020-04-29 17:35:14 +08:00
coolsnowwolf
4787dbaf3c mac80211: ath10k: increase rx buffer size to 2048 2020-04-27 12:49:57 +08:00
coolsnowwolf
b0fd180162 Revert "mac80211 ath10k: increase rx buffer size to 2048"
This reverts commit 2c0a9d403e.
2020-04-26 16:37:04 +08:00
coolsnowwolf
2c0a9d403e mac80211 ath10k: increase rx buffer size to 2048 2020-04-26 15:27:50 +08:00
AmadeusGhost
463b6ac050
mac80211: fixed slow wireless startup (#4420)
* hostapd: reduce to a single instance per service

* mac80211: sync upstream source code

* iw: bump to 5.4
2020-04-23 16:42:46 +08:00
AmadeusGhost
6577d6ae05 bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
AmadeusGhost
2f924edfea mac80211: sync upstream source code 2020-04-18 11:55:28 +08:00
CN_SZTL
91be31e249
mac80211: fix target name (#4176) 2020-04-05 18:31:37 +08:00
AmadeusGhost
fd954e61e5 ipq40xx: enable ath10k_thermal by default 2020-04-05 11:28:04 +08:00
CN_SZTL
5e4ab630bf
mac80211: fix target name 2020-04-04 00:26:03 +08:00
lean
8faac30089 mac80211: Update to version 5.4.27 2020-04-03 23:29:36 +08:00
AmadeusGhost
3a86ef8c46
mac80211: brcm: backport remaining 5.6 kernel patches (#4070)
* mac80211: brcm: backport remaining 5.6 kernel patches

* mac80211: fix brcmfmac monitor interface crash

This fixes bug in brcmfmac *exposed* by ipv6/addrconf fix.

Fixes: 6e4453aecc ("kernel: backport out-of-memory fix for non-Ethernet devices")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Co-authored-by: Rafał Miłecki <rafal@milecki.pl>
2020-03-30 12:18:10 +08:00
lean
372f598345 mt76: update to version 2020-03-10 2020-03-13 11:39:10 +08:00
LEAN-ESX
f6423cc17a Revert "mac80211: Update to version 4.19.98 (#3658)"
This reverts commit 19b14206b9.
2020-03-10 04:16:45 -07:00
AmadeusGhost
19b14206b9
mac80211: Update to version 4.19.98 (#3658)
changes:

1. mac80211: brcm: backport remaining 5.6 kernel patches
2. mt76: update to the latest openwrt-19.07 version
3. fix commit 863d607 and 7a29342
2020-03-09 19:25:31 +08:00
AmadeusGhost
7a293422b7
Revert "Update mt76 wireless driver. (#2782)" (#3650)
This reverts commit 49e1a7c9b2.
2020-03-08 12:49:10 +08:00
AmadeusGhost
dcc9b1d8f7
bcm27xx: fix wireless dependence (#3161) 2020-02-18 12:15:28 +08:00
Peter Wang
5540ae406d
Create 553-ath9k_of_gpio_mask.patch (#2940)
Fix WNDR4300 wireless key functionality 
Sync with openwrt-master
2020-02-05 23:48:12 +08:00
coolsnowwolf
b934840a25 mac80211: backport fix for an no-ack tx status issue 2020-02-03 11:55:02 +08:00
AmadeusGhost
863d60769c
ath10k-ct: provide a build variant for small ram devices (#2925) 2020-02-03 01:50:31 +08:00
coolsnowwolf
e09686f69e mac80211: Update to version 4.19.98 2020-02-01 19:38:23 +08:00
likanchen
49e1a7c9b2 Update mt76 wireless driver. (#2782)
* Update mt76 wireless driver

Update mt76 wireless driver

* Create 368-cfg80211-add-local-BSS-receive-time-to-survey-inform.patch

* add patch to include local BSS rx time in survey information

add patch to include local BSS rx time in survey information

* Create 100-backports-pci-Include-linux-pci-aspm.h.patch

* Create 101-backport-add-pci_disable_link_state-wrapper-with-ret.patch
2020-01-15 23:50:39 +08:00
LEAN-ESX
f228568715 mac80211: bump to 4.19.85-1.3 2019-12-03 09:08:25 -08:00
LEAN-ESX
f0081d8714 mac80211: unify setup of iw htmode for mesh and adhoc 2019-12-01 06:02:59 -08:00
LEAN-ESX
2c7330d9a6 qt5: bump to version 5.9.8 2019-11-27 23:21:40 -08:00
LEAN-ESX
a6bd3e5a20 ipq40xx: ignore some debug info 2019-11-27 01:19:53 -08:00
LEAN-ESX
f92be122c9 mac80211: backport 256-QAM for 4.19.85 2019-11-26 05:20:23 -08:00
coolsnowwolf
1debe64956 mac80211: backport 4.19.85-1 stable release 2019-11-26 17:26:00 +08:00
coolsnowwolf
5b2616a5b6 mac80211: bump version 2019-11-26 16:54:37 +08:00