mbox series

[RFC,0/4] mac80211: Update to version 5.10-rc6

Message ID 20201201221950.32548-1-hauke@hauke-m.de
Headers show
Series mac80211: Update to version 5.10-rc6 | expand

Message

Hauke Mehrtens Dec. 1, 2020, 10:19 p.m. UTC
This updates mac80211 to backports version 5.10-rc6.
This is currently only the test version, I will release official 
versions of backports in the next days and then update these patches.

Kernel 5.10 should be an LTS kernel so we will get updates for it the 
next 5 years, I would prefer to use backports based on this version in 
our next release.

Please test this and report error to me.

The changes are also in my stating tree:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.10

Hauke Mehrtens (4):
  mac80211: Update to version 5.8.18-test2
  mac80211: Update to version 5.9.11-test3
  mac80211: Update to version 5.10-rc6-test5
  iw: Update to version 5.9

 .../ath10k-ct/patches/300-mac80211-5.10.patch |   24 +
 package/kernel/mac80211/Makefile              |    8 +-
 .../patches/ath/404-regd_no_assoc_hints.patch |    4 +-
 .../ath/410-ath9k_allow_adhoc_and_ap.patch    |    2 +-
 .../ath/440-ath5k_channel_bw_debugfs.patch    |    4 +-
 ...abled-MFP-capability-unconditionally.patch |    4 +-
 .../patches/ath/542-ath9k_debugfs_diag.patch  |    2 +-
 .../ath/543-ath9k_entropy_from_adc.patch      |    8 +-
 .../patches/ath/545-ath9k_ani_ws_detect.patch |    2 +-
 .../ath/551-ath9k_ubnt_uap_plus_hsr.patch     |    8 +-
 .../patches/ath/553-ath9k_of_gpio_mask.patch  |    2 +-
 ...21-ath10k_init_devices_synchronously.patch |    2 +-
 .../ath/930-ath10k_add_tpt_led_trigger.patch  |    4 +-
 ...rolling-support-for-various-chipsets.patch |   38 +-
 ...75-ath10k-use-tpt-trigger-by-default.patch |    4 +-
 ...980-ath10k-fix-max-antenna-gain-unit.patch |    6 +-
 ...-power-reduction-for-US-regulatory-d.patch |    8 +-
 .../810-b43-gpio-mask-module-option.patch     |    2 +-
 .../patches/brcm/811-b43_no_pio.patch         |    2 +-
 .../brcm/812-b43-add-antenna-control.patch    |   16 +-
 .../814-b43-only-use-gpio-0-1-for-led.patch   |    2 +-
 ...-register-wiphy-s-during-module_init.patch |    2 +-
 ...und-bug-with-some-inconsistent-BSSes.patch |    2 +-
 ...62-brcmfmac-Disable-power-management.patch |    2 +-
 ...-in-driver-tables-with-country-codes.patch |    2 +-
 .../mac80211/patches/brcm/998-survey.patch    |   12 +-
 .../patches/build/050-lib80211_option.patch   |    3 +-
 .../patches/build/060-no_local_ssb_bcma.patch |   16 +-
 .../602-rt2x00-introduce-rt2x00eeprom.patch   |    6 +-
 .../611-rt2x00-add-AP+STA-support.patch       |    2 +-
 .../612-rt2x00-led-tpt-trigger-support.patch  |    2 +-
 ...backports-add-netif_receive_skb_list.patch |   30 -
 .../071-backports-add-skb_list_del_init.patch |   24 -
 ...072-backports-add-sched_set_fifo_low.patch |   32 -
 ...-backport-tasklet_setup-from_tasklet.patch |   35 -
 .../100-remove-cryptoapi-dependencies.patch   |    6 +-
 .../110-mac80211_keep_keys_on_stop_ap.patch   |    2 +-
 .../mac80211/patches/subsys/210-ap_scan.patch |    2 +-
 .../300-mac80211-optimize-skb-resizing.patch  |   65 +-
 ...domize-BA-session-dialog-token-alloc.patch |    2 +-
 ...11-improve-AQL-tx-airtime-estimation.patch |   81 --
 ...unction-for-running-rx-without-passi.patch |  186 ---
 ...skb_get_hash-instead-of-skb_get_hash.patch |   55 -
 ...lcate-skb-hash-early-when-using-itxq.patch |   19 -
 ...ce-packet-loss-event-false-positives.patch |  116 --
 ...e-provided-via-status-rate-on-ieee80.patch |  151 ---
 ...out-code-to-look-up-the-average-pack.patch |  187 ---
 ...-AQL-aggregation-estimation-for-low-.patch |   67 -
 ...sing-queue-hash-initialization-to-80.patch |   25 -
 ...nd-refresh-aggregation-session-in-en.patch |   45 -
 ...cap-offload-for-tx-multicast-control.patch |  136 --
 ...o-control.hw_key-for-encap-offload-p.patch |   31 -
 ...-rework-tx-encapsulation-offload-API.patch |  613 ---------
 ...e-duplication-in-tx-status-functions.patch |  197 ---
 ...tx-status-call-to-ieee80211_sta_regi.patch |   26 -
 ...-optimize-station-connection-monitor.patch |  174 ---
 ...ED_TXPROCESSING-and-HW_80211_ENCAP-t.patch |  227 ----
 ...02.3-offload-and-802.11-tx-status-co.patch |  159 ---
 ...-using-ieee80211_tx_status_ext-to-fr.patch |   63 -
 ...ieee80211_tx_status_ext-to-support-b.patch |   53 -
 ...the-driver-when-a-sta-uses-4-address.patch |  109 --
 ...ize-code-to-remove-a-forward-declara.patch | 1110 -----------------
 ...AQL-aggregation-estimation-to-HE-and.patch |   49 -
 ...-add-AQL-support-for-VHT160-tx-rates.patch |   23 -
 ...igger-A-MSDU-sizes-in-VHT-even-if-HT.patch |   26 -
 ...allow-bigger-VHT-MPDUs-than-the-hard.patch |   34 -
 ...regression-in-sta-connection-monitor.patch |   70 --
 ...ory-leak-on-filtered-powersave-frame.patch |   55 -
 ...nstrel-remove-deferred-sampling-code.patch |   96 --
 ...l-fix-tx-status-processing-corner-ca.patch |   26 -
 ...11-fix-misplaced-while-instead-of-if.patch |   31 -
 .../patches/subsys/400-allow-ibss-mixed.patch |    2 +-
 .../500-mac80211_configure_antenna_gain.patch |   36 +-
 .../mt76/patches/100-mac80211-5.10.patch      |   82 ++
 package/network/utils/iw/Makefile             |    4 +-
 .../utils/iw/patches/001-nl80211_h_sync.patch |   12 +-
 .../utils/iw/patches/200-reduce_size.patch    |    6 +-
 77 files changed, 270 insertions(+), 4511 deletions(-)
 create mode 100644 package/kernel/ath10k-ct/patches/300-mac80211-5.10.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/070-backports-add-netif_receive_skb_list.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/071-backports-add-skb_list_del_init.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/072-backports-add-sched_set_fifo_low.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/073-backports-backport-tasklet_setup-from_tasklet.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/305-mac80211-improve-AQL-tx-airtime-estimation.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/307-mac80211-add-a-function-for-running-rx-without-passi.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/308-net-fq_impl-use-skb_get_hash-instead-of-skb_get_hash.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/309-mac80211-calculcate-skb-hash-early-when-using-itxq.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/311-mac80211-use-rate-provided-via-status-rate-on-ieee80.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/312-mac80211-factor-out-code-to-look-up-the-average-pack.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/313-mac80211-improve-AQL-aggregation-estimation-for-low-.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/314-mac80211-add-missing-queue-hash-initialization-to-80.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/315-mac80211-check-and-refresh-aggregation-session-in-en.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/316-mac80211-skip-encap-offload-for-tx-multicast-control.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/317-mac80211-set-info-control.hw_key-for-encap-offload-p.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/318-mac80211-rework-tx-encapsulation-offload-API.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/319-mac80211-reduce-duplication-in-tx-status-functions.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/320-mac80211-remove-tx-status-call-to-ieee80211_sta_regi.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/321-mac80211-optimize-station-connection-monitor.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/322-mac80211-swap-NEED_TXPROCESSING-and-HW_80211_ENCAP-t.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/323-mac80211-unify-802.3-offload-and-802.11-tx-status-co.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/324-mac80211-support-using-ieee80211_tx_status_ext-to-fr.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/325-mac80211-extend-ieee80211_tx_status_ext-to-support-b.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/326-mac80211-notify-the-driver-when-a-sta-uses-4-address.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/327-mac80211-reorganize-code-to-remove-a-forward-declara.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/328-mac80211-extend-AQL-aggregation-estimation-to-HE-and.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/329-mac80211-add-AQL-support-for-VHT160-tx-rates.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/330-mac80211-allow-bigger-A-MSDU-sizes-in-VHT-even-if-HT.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/331-mac80211-do-not-allow-bigger-VHT-MPDUs-than-the-hard.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/332-mac80211-fix-regression-in-sta-connection-monitor.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/333-mac80211-fix-memory-leak-on-filtered-powersave-frame.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/334-mac80211-minstrel-remove-deferred-sampling-code.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/335-mac80211-minstrel-fix-tx-status-processing-corner-ca.patch
 delete mode 100644 package/kernel/mac80211/patches/subsys/370-mac80211-fix-misplaced-while-instead-of-if.patch
 create mode 100644 package/kernel/mt76/patches/100-mac80211-5.10.patch

Comments

Andrey Jr. Melnikov Dec. 2, 2020, 4:04 p.m. UTC | #1
Hauke Mehrtens <hauke@hauke-m.de> wrote:
> This updates mac80211 to backports version 5.10-rc6.
> This is currently only the test version, I will release official 
> versions of backports in the next days and then update these patches.

> Kernel 5.10 should be an LTS kernel so we will get updates for it the 
> next 5 years, I would prefer to use backports based on this version in 
> our next release.

> Please test this and report error to me.

> The changes are also in my stating tree:
> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.10

> Hauke Mehrtens (4):
>   mac80211: Update to version 5.8.18-test2
>   mac80211: Update to version 5.9.11-test3
>   mac80211: Update to version 5.10-rc6-test5
Can you squash these three commints into one?

>   iw: Update to version 5.9
Adrian Schmutzler Dec. 2, 2020, 4:15 p.m. UTC | #2
> > Hauke Mehrtens (4):
> >   mac80211: Update to version 5.8.18-test2
> >   mac80211: Update to version 5.9.11-test3
> >   mac80211: Update to version 5.10-rc6-test5
> Can you squash these three commints into one?

Having each major version separate might be helpful to track changes more easily ...

Best

Adrian

> 
> >   iw: Update to version 5.9
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Andrey Jr. Melnikov Dec. 2, 2020, 5:56 p.m. UTC | #3
Adrian Schmutzler <mail@adrianschmutzler.de> wrote:
> [-- multipart/signed, encoding 7bit, 56 lines --]

> > > Hauke Mehrtens (4):
> > >   mac80211: Update to version 5.8.18-test2
> > >   mac80211: Update to version 5.9.11-test3
> > >   mac80211: Update to version 5.10-rc6-test5
> > Can you squash these three commints into one?

> Having each major version separate might be helpful to track changes more easily ...

What is the intermediate commits for in this case? Can't see any reason to
enalgre git history.
Daniel Golle Dec. 2, 2020, 6:15 p.m. UTC | #4
On Wed, Dec 02, 2020 at 08:56:50PM +0300, Andrey Jr. Melnikov wrote:
> Adrian Schmutzler <mail@adrianschmutzler.de> wrote:
> > [-- multipart/signed, encoding 7bit, 56 lines --]
> 
> > > > Hauke Mehrtens (4):
> > > >   mac80211: Update to version 5.8.18-test2
> > > >   mac80211: Update to version 5.9.11-test3
> > > >   mac80211: Update to version 5.10-rc6-test5
> > > Can you squash these three commints into one?
> 
> > Having each major version separate might be helpful to track changes more easily ...
> 
> What is the intermediate commits for in this case? Can't see any reason to
> enalgre git history.

Having them can be nice for bisecting in case of trouble.
Hauke Mehrtens Dec. 2, 2020, 8:07 p.m. UTC | #5
On 12/2/20 7:15 PM, Daniel Golle wrote:
> On Wed, Dec 02, 2020 at 08:56:50PM +0300, Andrey Jr. Melnikov wrote:
>> Adrian Schmutzler <mail@adrianschmutzler.de> wrote:
>>> [-- multipart/signed, encoding 7bit, 56 lines --]
>>
>>>>> Hauke Mehrtens (4):
>>>>>    mac80211: Update to version 5.8.18-test2
>>>>>    mac80211: Update to version 5.9.11-test3
>>>>>    mac80211: Update to version 5.10-rc6-test5
>>>> Can you squash these three commints into one?
>>
>>> Having each major version separate might be helpful to track changes more easily ...
>>
>> What is the intermediate commits for in this case? Can't see any reason to
>> enalgre git history.
> 
> Having them can be nice for bisecting in case of trouble.

It would be even easier for me if I squash them together, but I already 
had the case that someone found a bug and it helped to know where it broke.

Hauke
Andrey Jr. Melnikov Dec. 3, 2020, 2:37 p.m. UTC | #6
Hauke Mehrtens <hauke@hauke-m.de> wrote:
> [-- multipart/signed, encoding 7bit, 70 lines --]

>     [-- multipart/mixed, encoding 7bit, 34 lines --]

>         [-- text/plain, encoding quoted-printable, charset: utf-8, 27 lines --]

> On 12/2/20 7:15 PM, Daniel Golle wrote:
> > On Wed, Dec 02, 2020 at 08:56:50PM +0300, Andrey Jr. Melnikov wrote:
> >> Adrian Schmutzler <mail@adrianschmutzler.de> wrote:
> >>> [-- multipart/signed, encoding 7bit, 56 lines --]
> >>
> >>>>> Hauke Mehrtens (4):
> >>>>>    mac80211: Update to version 5.8.18-test2
> >>>>>    mac80211: Update to version 5.9.11-test3
> >>>>>    mac80211: Update to version 5.10-rc6-test5
> >>>> Can you squash these three commints into one?
> >>
> >>> Having each major version separate might be helpful to track changes more easily ...
> >>
> >> What is the intermediate commits for in this case? Can't see any reason to
> >> enalgre git history.
> > 
> > Having them can be nice for bisecting in case of trouble.

> It would be even easier for me if I squash them together, but I already 
> had the case that someone found a bug and it helped to know where it broke.

Builds & works with on top of master tree + 5.10-rc6 kernel on mt7621 platform.
And no more annoying warning when loading mac80211 module.
Hauke Mehrtens Dec. 14, 2020, 1:59 p.m. UTC | #7
On 12/1/20 11:19 PM, Hauke Mehrtens wrote:
> This updates mac80211 to backports version 5.10-rc6.
> This is currently only the test version, I will release official
> versions of backports in the next days and then update these patches.
> 
> Kernel 5.10 should be an LTS kernel so we will get updates for it the
> next 5 years, I would prefer to use backports based on this version in
> our next release.
> 
> Please test this and report error to me.
> 
> The changes are also in my stating tree:
> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.10
> 
> Hauke Mehrtens (4):
>    mac80211: Update to version 5.8.18-test2
>    mac80211: Update to version 5.9.11-test3
>    mac80211: Update to version 5.10-rc6-test5
>    iw: Update to version 5.9
> 
Hi,

I haven't received a bug report so far, so this looks good or nobody 
tried this. ;-)

We deiced to not merge this into master before branching as the current 
version based on Linux 5.8 is pretty stable and got a lot of testing.
We plan to merge this into master after branching, then it gets testing 
in master and we will backport this into a minor stable release later to 
be able to provide security updates for the wireless drivers.

The kernel 5.8 does not get any security updates any more and we do not 
have the manpower to maintain this on our own.

A more recent version of these patches is available here:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mac80211-5.10
This uses the official backports binaries, I will rebase and update this 
form time to time.

Hauke