[RFC PATCH 0/6] mac80211: Update to version 5.15-rc6

Janusz Dziedzic janusz.dziedzic at gmail.com
Thu Oct 21 03:14:03 PDT 2021


wt., 19 paź 2021 o 22:50 Hauke Mehrtens <hauke at hauke-m.de> napisał(a):
>
> This updates the wireless drivers to the code from kernel 5.15.
> This is updating the wifi drivers to test versions of the wireless
> backports. If there are no serious problems found I will also release
> official versions and update the versions used in OpenWrt.
>
> I need some more testing, please try this code in your environments and
> report back if you see any regressions. I intentionally added the
> version steps, it should be easy to see which version caused a problem.
>
> This depends on the patch "iw: sync nl80211 with kernel backports"
>
> These patches are also in my feature branch, see here:
> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.15
>
> The wireless backports tar.xz files were created from this code:
> https://github.com/hauke/backports/tree/devel-5.15-2
>
So far checked tplink archer c7v5 (ath9k/ath10k) and banana-pi-r64
with mt7622-wmac/mt7915e-pci
Run sanity test cases (wpa2/3, multi_ap connectivity and datapath
check) and looks good - no issues compare to old backports.

root at a1:~# ubus call system board
{
"kernel": "5.4.155",
"hostname": "a1",
"system": "Qualcomm Atheros QCA956X ver 1 rev 0",
"model": "TP-Link Archer C7 v5",
"board_name": "tplink,archer-c7-v5",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r17801-caf34d0f5d",
"target": "ath79/generic",
"description": "OpenWrt SNAPSHOT r17801-caf34d0f5d"
}
}
root at a1:~# dmesg|grep back
[    0.000000] Readback ErrCtl register=00000000
[    7.288147] urandom_read: 4 callbacks suppressed
[   13.575090] Loading modules backported from Linux version
v5.15-rc6-0-g519d81956ee2
[   13.583046] Backport generated by backports.git v5.10.68-1-63-gd44432d6
root at a1:~#


root at OpenWrt:~# ubus call system board
{
"kernel": "5.10.75",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "Bananapi BPI-R64",
"board_name": "bananapi,bpi-r64",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r17801-caf34d0f5d",
"target": "mediatek/mt7622",
"description": "OpenWrt SNAPSHOT r17801-caf34d0f5d"
}
}
root at OpenWrt:~# dmesg |grep backp
[    9.683509] Loading modules backported from Linux version
v5.15-rc6-0-g519d81956ee2
[    9.691205] Backport generated by backports.git v5.10.68-1-63-gd44432d6
root at OpenWrt:~#




>
> Hauke Mehrtens (6):
>   mac80211: Update to version 5.10.70-test12
>   mac80211: Update to version 5.11.22-test12
>   mac80211: Update to version 5.12.19-test12
>   mac80211: Update to version 5.13.19-test12
>   mac80211: Update to version 5.14.13-test12
>   mac80211: Update to version 5.15-rc6-test13
>
>  package/kernel/mac80211/Makefile              |   21 +-
>  .../patches/ath/402-ath_regd_optional.patch   |    8 +-
>  .../patches/ath/404-regd_no_assoc_hints.patch |    4 +-
>  .../ath/406-ath_relax_default_regd.patch      |    2 +-
>  .../ath10k/080-ath10k_thermal_config.patch    |    2 +-
>  ...21-ath10k_init_devices_synchronously.patch |    2 +-
>  ...h10k-increase-rx-buffer-size-to-2048.patch |   37 -
>  .../930-ath10k_add_tpt_led_trigger.patch      |    4 +-
>  ...rolling-support-for-various-chipsets.patch |   20 +-
>  ...75-ath10k-use-tpt-trigger-by-default.patch |    8 +-
>  ...980-ath10k-fix-max-antenna-gain-unit.patch |    6 +-
>  ...-power-reduction-for-US-regulatory-d.patch |    8 +-
>  ...h10k-Try-to-get-mac-address-from-dts.patch |    2 +-
>  .../ath5k/411-ath5k_allow_adhoc_and_ap.patch  |    6 +-
>  .../ath5k/440-ath5k_channel_bw_debugfs.patch  |    2 +-
>  ...w-reset-AHB-WMAC-interface-on-AR91xx.patch |    2 +-
>  ..._hw-issue-external-reset-for-QCA955x.patch |    4 +-
>  ...erpret-requested-txpower-in-EIRP-dom.patch |    4 +-
>  ...power-reduction-for-US-regulatory-do.patch |    2 +-
>  .../ath9k/401-ath9k_blink_default.patch       |    2 +-
>  .../ath9k/410-ath9k_allow_adhoc_and_ap.patch  |    4 +-
>  ...abled-MFP-capability-unconditionally.patch |    4 +-
>  .../patches/ath9k/501-ath9k_ahb_init.patch    |    2 +-
>  .../510-ath9k_intr_mitigation_tweak.patch     |    2 +-
>  .../patches/ath9k/513-ath9k_add_pci_ids.patch |    2 +-
>  .../patches/ath9k/530-ath9k_extra_leds.patch  |    8 +-
>  .../ath9k/542-ath9k_debugfs_diag.patch        |    4 +-
>  .../ath9k/543-ath9k_entropy_from_adc.patch    |   10 +-
>  ...544-ath9k-ar933x-usb-hang-workaround.patch |   10 +-
>  .../ath9k/545-ath9k_ani_ws_detect.patch       |    2 +-
>  .../ath9k/548-ath9k_enable_gpio_chip.patch    |    4 +-
>  .../ath9k/549-ath9k_enable_gpio_buttons.patch |    2 +-
>  .../550-ath9k-disable-bands-via-dt.patch      |    2 +-
>  .../ath9k/551-ath9k_ubnt_uap_plus_hsr.patch   |    2 +-
>  .../patches/ath9k/552-ath9k-ahb_of.patch      |    2 +-
>  .../ath9k/553-ath9k_of_gpio_mask.patch        |    4 +-
>  .../brcm/812-b43-add-antenna-control.patch    |    8 +-
>  ...-register-wiphy-s-during-module_init.patch |   18 +-
>  ...62-brcmfmac-Disable-power-management.patch |    2 +-
>  ...-in-driver-tables-with-country-codes.patch |   12 +-
>  .../mac80211/patches/brcm/998-survey.patch    |   12 +-
>  .../build/003-remove_bogus_modparams.patch    |    2 +-
>  .../build/004-kconfig_backport_fix.patch      |   28 -
>  .../patches/build/010-disable_rfkill.patch    |   15 -
>  .../patches/build/060-no_local_ssb_bcma.patch |   10 +-
>  ...700-mwl8k-missing-pci-id-for-WNR854T.patch |    2 +-
>  ...940-mwl8k_init_devices_synchronously.patch |    4 +-
>  ...define-RF5592-in-init_eeprom-routine.patch |    2 +-
>  .../602-rt2x00-introduce-rt2x00eeprom.patch   |   10 +-
>  ...isabling_bands_through_platform_data.patch |    4 +-
>  ...07-rt2x00-add_platform_data_mac_addr.patch |    2 +-
>  ...00-allow_disabling_bands_through_dts.patch |    2 +-
>  ...0-rt2x00-change-led-polarity-from-OF.patch |    2 +-
>  .../611-rt2x00-add-AP+STA-support.patch       |    2 +-
>  .../612-rt2x00-led-tpt-trigger-support.patch  |    4 +-
>  ...dd-support-for-external-PA-on-MT7620.patch |    6 +-
>  ...-rt2x00-add-rf-self-txdc-calibration.patch |    4 +-
>  .../rt2x00/983-rt2x00-add-r-calibration.patch |    4 +-
>  .../984-rt2x00-add-rxdcoc-calibration.patch   |    4 +-
>  .../985-rt2x00-add-rxiq-calibration.patch     |    4 +-
>  .../986-rt2x00-add-TX-LOFT-calibration.patch  |    4 +-
>  ...-differentiate-based-on-SoC-CHIP_VER.patch |   16 +-
>  ...ave-survey-for-every-channel-visited.patch |  183 ---
>  ...ent-set_tim-by-update-beacon-content.patch |  118 --
>  .../patches/subsys/010-sync-nl80211_h.patch   |  297 ----
>  .../110-mac80211_keep_keys_on_stop_ap.patch   |    2 +-
>  .../120-cfg80211_allow_perm_addr_change.patch |    2 +-
>  .../subsys/150-disable_addr_notifier.patch    |   12 +-
>  .../mac80211/patches/subsys/210-ap_scan.patch |    2 +-
>  ...ort-immediate-reconnect-request-hint.patch |  279 ----
>  ...-driver-based-disconnect-with-reconn.patch |  271 ----
>  ...port-to-configure-SAE-PWE-value-to-d.patch |   74 -
>  ...-free-packets-from-a-flow-on-overmem.patch |   95 --
>  ...-get_default_func-move-default-flow-.patch |  144 --
>  ...ot-maintain-a-backlog-sorted-list-of.patch |  317 ----
>  ...add-rx-decapsulation-offload-support.patch |  570 -------
>  ...le-QoS-support-for-nl80211-ctrl-port.patch |  116 --
>  ...320-mac80211_hwsim-add-6GHz-channels.patch |  123 --
>  ...211_hwsim-make-6-GHz-channels-usable.patch |    8 +-
>  ...c80211-minstrel_ht-clean-up-CCK-code.patch |  166 ---
>  ...l_ht-add-support-for-OFDM-rates-on-n.patch |  762 ----------
>  ...-remove-legacy-minstrel-rate-control.patch | 1328 -----------------
>  ...l_ht-remove-old-ewma-based-rate-aver.patch |   96 --
>  ...l_ht-improve-ampdu-length-estimation.patch |   67 -
>  ...rel_ht-improve-sample-rate-selection.patch |   31 -
>  ...l_ht-fix-max-probability-rate-select.patch |  124 --
>  ...el_ht-increase-stats-update-interval.patch |   20 -
>  ...l_ht-fix-rounding-error-in-throughpu.patch |   34 -
>  ...l_ht-use-bitfields-to-encode-rate-in.patch |  412 -----
>  ...l_ht-update-total-packets-counter-in.patch |   54 -
>  ...l_ht-reduce-the-need-to-sample-slowe.patch |  102 --
>  ...l_ht-significantly-redesign-the-rate.patch |  767 ----------
>  ...el_ht-show-sampling-rates-in-debugfs.patch |   58 -
>  ...l_ht-remove-sample-rate-switching-co.patch |  279 ----
>  ...l_ht-fix-regression-in-the-max_prob_.patch |   23 -
>  ...l_ht-rework-rate-downgrade-code-and-.patch |   10 +-
>  ...pply-flow-control-on-management-fram.patch |   60 -
>  ...set-sk_pacing_shift-for-802.3-txpath.patch |   21 -
>  ...-Rx-timestamp-calculation-for-all-pr.patch |  134 --
>  ...MPDU-session-check-from-minstrel_ht-.patch |  126 --
>  ...eee80211_tx_h_rate_ctrl-when-dequeue.patch |  114 --
>  ...te-control-support-for-encap-offload.patch |  126 --
>  ...11-minstrel_ht-fix-sample-time-check.patch |   23 -
>  ...rting-aggregation-sessions-on-mesh-i.patch |  112 --
>  ...introduce-aql_enable-node-in-debugfs.patch |  111 --
>  ...ange-struct-txq_info-for-fewer-holes.patch |   39 -
>  ...to-a-virtual-time-based-airtime-sche.patch | 1277 ----------------
>  ...on-API-to-configure-SAR-power-limita.patch |  398 -----
>  ...mac80211-add-ieee80211_set_sar_specs.patch |   51 -
>  ...eck-per-vif-offload_flags-in-Tx-path.patch |   26 -
>  ...nl80211-add-support-for-BSS-coloring.patch |  485 ------
>  ...211-add-support-for-BSS-color-change.patch |  524 -------
>  ...eee80211-add-TWT-element-definitions.patch |  112 --
>  ...ce-individual-TWT-support-in-AP-mode.patch |  576 -------
>  .../patches/subsys/400-allow-ibss-mixed.patch |    2 +-
>  .../500-mac80211_configure_antenna_gain.patch |   46 +-
>  ...the-dst-buffer-to-of_get_mac_address.patch |  264 +---
>  ...n-some-HE-capabilities-with-the-spec.patch |   79 +
>  ...E-capabilities-A-MPDU-Length-Exponen.patch |   44 +
>  ...pelling-of-A-MSDU-in-HE-capabilities.patch |   65 +
>  .../utils/iw/patches/001-nl80211_h_sync.patch |   42 +-
>  121 files changed, 443 insertions(+), 11753 deletions(-)
>  delete mode 100644 package/kernel/mac80211/patches/ath10k/922-ath10k-increase-rx-buffer-size-to-2048.patch
>  delete mode 100644 package/kernel/mac80211/patches/build/004-kconfig_backport_fix.patch
>  delete mode 100644 package/kernel/mac80211/patches/build/010-disable_rfkill.patch
>  delete mode 100644 package/kernel/mac80211/patches/rt2x00/992-rt2x00-save-survey-for-every-channel-visited.patch
>  delete mode 100644 package/kernel/mac80211/patches/rtl/002-v5.13-rtlwifi-implement-set_tim-by-update-beacon-content.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/010-sync-nl80211_h.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/300-cfg80211-support-immediate-reconnect-request-hint.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/301-mac80211-support-driver-based-disconnect-with-reconn.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/302-cfg80211-Add-support-to-configure-SAE-PWE-value-to-d.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/310-net-fq_impl-bulk-free-packets-from-a-flow-on-overmem.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/311-net-fq_impl-drop-get_default_func-move-default-flow-.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/312-net-fq_impl-do-not-maintain-a-backlog-sorted-list-of.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/315-mac80211-add-rx-decapsulation-offload-support.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/316-mac80211-enable-QoS-support-for-nl80211-ctrl-port.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/320-mac80211_hwsim-add-6GHz-channels.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/337-mac80211-minstrel_ht-clean-up-CCK-code.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/338-mac80211-minstrel_ht-add-support-for-OFDM-rates-on-n.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/339-mac80211-remove-legacy-minstrel-rate-control.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/340-mac80211-minstrel_ht-remove-old-ewma-based-rate-aver.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/341-mac80211-minstrel_ht-improve-ampdu-length-estimation.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/342-mac80211-minstrel_ht-improve-sample-rate-selection.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/343-mac80211-minstrel_ht-fix-max-probability-rate-select.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/344-mac80211-minstrel_ht-increase-stats-update-interval.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/345-mac80211-minstrel_ht-fix-rounding-error-in-throughpu.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/346-mac80211-minstrel_ht-use-bitfields-to-encode-rate-in.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/347-mac80211-minstrel_ht-update-total-packets-counter-in.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/348-mac80211-minstrel_ht-reduce-the-need-to-sample-slowe.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/349-mac80211-minstrel_ht-significantly-redesign-the-rate.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/350-mac80211-minstrel_ht-show-sampling-rates-in-debugfs.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/351-mac80211-minstrel_ht-remove-sample-rate-switching-co.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/352-mac80211-minstrel_ht-fix-regression-in-the-max_prob_.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/371-mac80211-don-t-apply-flow-control-on-management-fram.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/372-mac80211-set-sk_pacing_shift-for-802.3-txpath.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/373-mac80211-support-Rx-timestamp-calculation-for-all-pr.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/374-mac80211-move-A-MPDU-session-check-from-minstrel_ht-.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/375-mac80211-call-ieee80211_tx_h_rate_ctrl-when-dequeue.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/376-mac80211-add-rate-control-support-for-encap-offload.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/377-mac80211-minstrel_ht-fix-sample-time-check.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/379-mac80211-fix-starting-aggregation-sessions-on-mesh-i.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/380-mac80211-introduce-aql_enable-node-in-debugfs.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/381-mac80211-rearrange-struct-txq_info-for-fewer-holes.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/382-mac80211-Switch-to-a-virtual-time-based-airtime-sche.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/384-nl80211-add-common-API-to-configure-SAR-power-limita.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/385-mac80211-add-ieee80211_set_sar_specs.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/386-mac80211-check-per-vif-offload_flags-in-Tx-path.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/387-nl80211-add-support-for-BSS-coloring.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/388-mac80211-add-support-for-BSS-color-change.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/389-ieee80211-add-TWT-element-definitions.patch
>  delete mode 100644 package/kernel/mac80211/patches/subsys/390-mac80211-introduce-individual-TWT-support-in-AP-mode.patch
>  create mode 100644 package/kernel/mt76/patches/001-wireless-align-some-HE-capabilities-with-the-spec.patch
>  create mode 100644 package/kernel/mt76/patches/002-wireless-align-HE-capabilities-A-MPDU-Length-Exponen.patch
>  create mode 100644 package/kernel/mt76/patches/003-wireless-fix-spelling-of-A-MSDU-in-HE-capabilities.patch
>
> --
> 2.30.2
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



--
Janusz Dziedzic



More information about the openwrt-devel mailing list