openwrt/package/kernel/mac80211
Daniel Golle 31a6605de0 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>
2022-09-12 21:37:08 +01:00
..
files mac80211: parse the correct set of HE capabilities for AP mode 2022-08-20 12:33:50 +02:00
patches mac80211: rt2x00: experimental improvements for MT7620 wifi 2022-09-12 21:37:08 +01:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk ath10k: enable encapsulation offload by default 2022-06-27 21:33:16 +02:00
broadcom.mk mac80211: enable CONFIG_BRCMFMAC_SDIO for imx/cortexa7 2022-07-11 14:18:40 +02:00
intel.mk mac80211: Add DRIVER_11AX_SUPPORT dependency to mac80211-hwsim and iwlwifi 2022-07-03 20:48:44 +02:00
Makefile base-files: wifi: add random MAC support for wifi-iface 2022-08-11 12:56:15 +02:00
marvell.mk kernel: Remove support for kernel 3.18 2019-05-03 22:41:38 +02:00
ralink.mk treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00
realtek.mk mac80211: add debug compile option for rtw88 devices 2022-02-20 14:26:40 +01:00