immortalwrt/package/kernel
Daniel Golle dded755881
mac80211: rt2x00: experimental improvements for MT7620 wifi
Serge Vasilugin reports:

To improve mt7620 built-in wifi performance some changes:
1. Correct BW20/BW40 switching (see comments with mark (1))
2. Correct TX_SW_CFG1 MAC reg from v3 of vendor driver see
	https://gitlab.com/dm38/padavan-ng/-/blob/master/trunk/proprietary/rt_wifi/rtpci/3.0.X.X/mt76x2/chips/rt6352.c#L531
3. Set bbp66 for all chains.
4. US_CYC_CNT init based on Programming guide, default value was 33 (pci),
   set chipset bus clock with fallback to cpu clock/3.
5. Don't overwrite default values for mt7620.
6. Correct some typos.
7. Add support for external LNA:
    a) RF and BBP regs never be corrected for this mode
    b) eLNA is driven the same way as ePA with mt7620's pin PA
	but vendor driver explicitly pin PA to gpio mode (for forrect calibration?)
	so I'm not sure that request for pa_pin in dts-file will be enough

First 5 changes (really 2) improve performance for boards w/o eLNA/ePA.
Changes 7 add support for eLNA

Configuration w/o eLAN/ePA and with eLNA show results
tx/rx (from router point of view) for each stream:
 35-40/30-35 Mbps for HT20
 65-70/60-65 Mbps for HT40

Yes. Max results for 2T2R client is 140-145/135-140
with peaks 160/150, It correspond to mediatek driver results.
Boards with ePA untested.

Reported-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 31a6605de0)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-16 15:42:34 +08:00
..
acx-mac80211 acx-mac80211: replace dead URLs with OpenWrt CDN 2021-02-07 11:26:36 -10:00
ath10k-ct ath10k-ct: update to 2022-05-13 2022-09-10 09:26:19 +08:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version 2021-02-19 07:18:23 +01:00
bcm63xx-cfe bcm63xx-cfe: update to the latest master 2021-12-13 14:33:06 +01:00
broadcom-wl treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
button-hotplug kernel: replace SUBDIRS with M in package recipes 2020-02-22 16:38:41 +01:00
cryptodev-linux cryptodev-linux: update to 1.12 2022-07-03 20:00:58 +02:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
exfat exfat: update to 5.19.1 2022-07-01 20:46:54 +02:00
fast-classifier fast-classifier: fixes header linking failure issue 2022-04-16 02:31:15 +08:00
gpio-button-hotplug gpio-button-hotplug: convert to gpio descriptor (gpiod_) API 2021-11-05 21:24:04 +01:00
gpio-nct5104d kernel: drop outdated kernel version switches for local code 2020-05-17 18:35:51 +02:00
gpio-nxp-74hc153 packages: kernel: add gpio-nxp-74hc153 2021-03-27 07:46:14 +01:00
hwmon-gsc cns3xxx: drop target 2020-09-14 00:19:27 +02:00
lantiq lantiq: enable G.INP retransmission counters 2021-04-19 23:24:36 +02:00
linux automount: replace ntfs-3g with ntfs3 2022-09-11 10:12:15 +08:00
mac80211 mac80211: rt2x00: experimental improvements for MT7620 wifi 2022-09-16 15:42:34 +08:00
mt76 mt76: update to the latest version 2022-09-10 09:26:20 +08:00
mt7601u-ap treewide: move kernel pacakges from ctcgfw to kernel 2021-03-23 17:47:37 +08:00
mt7621-qtn-rgmii mt7621-qtn-rgmii: enable RGMII connected Quantenna QV840 2020-07-08 16:07:05 +02:00
mt-drivers mt_wifi: Fix broken package 2022-08-08 16:10:36 +08:00
mtk-eip93 mtk-eip93: bump to latest git HEAD 2022-06-13 20:58:53 +08:00
mwlwifi Merge Official Source 2021-04-10 13:40:59 +08:00
nat46 nat46: Fix PKG_MIRROR_HASH 2020-12-17 12:13:27 +01:00
om-watchdog ar71xx: drop target 2020-08-30 22:18:35 +02:00
r8101 r8101: add new driver 2022-08-16 22:33:37 +08:00
r8125 r8125: bump to 9.009.01-1 2022-06-23 06:13:40 +08:00
r8152 r8152: bump to 2.16.1 2022-06-21 23:53:29 +08:00
r8168 r8168: fix typo error 2022-07-10 14:58:43 +08:00
rtc-rv5c386a kernel: drop outdated kernel version switches for local code 2020-05-17 18:35:51 +02:00
rtl88x2bu rtl88x2bu: fixes build with mac80211 5.15 2022-09-10 09:26:20 +08:00
rtl8188eu rtl8188eu: bump to latest git HEAD 2022-09-10 09:26:20 +08:00
rtl8189es rtl8189es: bump to latest git HEAD 2022-09-10 09:26:20 +08:00
rtl8192eu rtl8192eu: bump to latest git HEAD 2022-09-10 09:26:20 +08:00
rtl8812au-ac rtl8812au-ac: bump to latest git HEAD 2022-09-10 09:26:20 +08:00
rtl8812au-ct rtl8812au-ct: update driver to be ready for 5.15 2022-09-10 09:26:20 +08:00
rtl8821cu rtl8821cu: update to latest git HEAD 2022-09-10 09:26:20 +08:00
shortcut-fe fast-classifier: fixes header linking failure issue 2022-04-16 02:31:15 +08:00
trelay package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00