[LEDE-DEV] [RFC 0/4] mac80211: update to backports-4.13-rc6

Hauke Mehrtens hauke at hauke-m.de
Thu Aug 24 14:40:30 PDT 2017


This updates mac80211 to backports-4.13-rc6 based on kernel 4.13-rc6.

This was compile tested on multiple targets and runtime tested on a 
lantiq device with ath9k and ath10k. 
I plan to create an official backports release based on kernel 4.13-rcX 
and use that in this mac80211 version.

Please test this and report back the results.

A git tree with a recent version can be found here:
https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/mac80211


Hauke Mehrtens (4):
  mac80211: update to backports-4.13-rc6
  ath10k-ct: fix compatibility with mac80211 from 4.13-rc6
  mt76: fix compatibility with mac80211 from 4.13-rc6
  iw: sync with backports-4.13-rc6

 .../ath10k-ct/patches/100-kernel_compat.patch      |   14 +-
 package/kernel/ath10k-ct/patches/110-api_fix.patch |    2 +-
 .../ath10k-ct/patches/120-mac80211-api.patch       |  104 +
 package/kernel/mac80211/Makefile                   |   20 +-
 .../kernel/mac80211/patches/001-fix_build.patch    |   10 +-
 .../mac80211/patches/002-change_allconfig.patch    |    6 +-
 .../patches/004-kconfig_backport_fix.patch         |    2 +-
 .../mac80211/patches/005-revert-devcoredump.patch  |  143 +-
 .../patches/006-revert-ktime-changes.patch         |   20 -
 .../patches/007-revert-genetlink-changes.patch     |  266 ---
 .../patches/008-revert-ndo_stats64-cleanup.patch   |   20 -
 .../mac80211/patches/009-revert-mtu-changes.patch  |  338 ----
 .../mac80211/patches/010-disable_rfkill.patch      |    2 +-
 .../mac80211/patches/011-backport_strscpy.patch    |   43 -
 .../kernel/mac80211/patches/015-ipw200-mtu.patch   |   34 +
 ...d-introducing-a-USB-dependency-in-the-rt2.patch |   78 -
 ...2-rt2x00usb-do-not-anchor-rx-and-tx-urb-s.patch |   56 -
 ...20-03-rt2x00usb-fix-anchor-initialization.patch |   70 -
 .../020-04-rt61pci-use-entry-directly.patch        |   23 -
 ...-call-entry-directly-in-rt2x00_dump_frame.patch |  158 --
 ...06-rt2x00-remove-queue_entry-from-skbdesc.patch |   52 -
 ...sb-don-t-mark-register-accesses-as-inline.patch |   79 -
 ...00lib-move-rt2800_drv_data-declaration-in.patch |   87 -
 ...800-identify-station-based-on-status-WCID.patch |   85 -
 ...rte-filling-tx-status-from-rt2x00lib_txdo.patch |  173 --
 ...arte-clearing-entry-from-rt2x00lib_txdone.patch |   83 -
 ...020-12-rt2x00-add-txdone-nomatch-function.patch |   85 -
 ...x00-fixup-fill_tx_status-for-nomatch-case.patch |   47 -
 ...14-rt2x00-use-txdone_nomatch-on-rt2800usb.patch |  180 --
 ...-status-based-rate-flags-for-nomatch-case.patch |   81 -
 ...-rt2800-use-TXOP_BACKOFF-for-probe-frames.patch |   38 -
 ...rt2x00-fix-rt2x00debug_dump_frame-comment.patch |   23 -
 ...2x00-fix-TX_PWR_CFG_4-register-definition.patch |   32 -
 .../020-19-rt2x00-add-support-for-MT7620.patch     | 2064 --------------------
 ...reverse-external-PA-capability-flag-logic.patch |  121 --
 ...rt2800-fix-LNA-gain-assignment-for-MT7620.patch |   49 -
 ...-do-VCO-calibration-after-programming-ALC.patch |   29 -
 ...2800-fix-mt7620-vco-calibration-registers.patch |   45 -
 ...24-rt2800-fix-mt7620-E2-channel-registers.patch |   36 -
 .../mac80211/patches/060-no_local_ssb_bcma.patch   |   22 +-
 .../patches/080-ath10k_thermal_config.patch        |    2 +-
 .../kernel/mac80211/patches/090-remove-cred.patch  |   15 -
 .../100-remove-cryptoapi-dependencies.patch        |   23 +-
 .../110-mac80211_keep_keys_on_stop_ap.patch        |    2 +-
 .../patches/130-mac80211-hwsim-hrtimer-clock.patch |   11 -
 .../patches/150-disable_addr_notifier.patch        |   10 +-
 package/kernel/mac80211/patches/210-ap_scan.patch  |    2 +-
 ...04-ath9k-force-rx_clear-when-disabling-rx.patch |    2 +-
 ...mit-retries-for-powersave-response-frames.patch |   12 +-
 ...k-interpret-requested-txpower-in-EIRP-dom.patch |    4 +-
 ...-mac80211-add-hdrlen-to-ieee80211_tx_data.patch |   30 +-
 ...8-mac80211-add-NEED_ALIGNED4_SKBS-hw-flag.patch |   32 +-
 ...nstrel-Enable-STBC-and-LDPC-for-VHT-Rates.patch |    2 +-
 ...moredata-bit-in-PS-buffered-frame-release.patch |    6 +-
 ...-potentially-stale-EOSP-status-bit-in-int.patch |    2 +-
 ...th9k-fix-block-ack-window-tracking-issues.patch |    6 +-
 ...-rename-tx_complete_work-to-hw_check_work.patch |  175 --
 ...9k_hw-check-if-the-chip-failed-to-wake-up.patch |   30 -
 ...race-condition-in-enabling-disabling-IRQs.patch |  197 --
 ...eck-brcmf_bus_get_memdump-result-for-erro.patch |   52 -
 ...be-more-verbose-when-PSM-s-watchdog-fires.patch |   38 -
 ...e-wiphy_read_of_freq_limits-to-respect-li.patch |   44 -
 ...mfmac-merge-two-brcmf_err-macros-into-one.patch |   43 -
 ...itch-to-C-function-__brcmf_err-for-printi.patch |   69 -
 ...fmac-merge-two-remaining-brcmf_err-macros.patch |   46 -
 ...h9k-clean-up-and-fix-ath_tx_count_airtime.patch |  107 -
 .../321-mac80211-fix-CSA-in-IBSS-mode.patch        |   34 -
 ...n-t-handle-filtered-frames-within-a-BA-se.patch |   28 -
 ...e-net_device_stats-from-struct-net_device.patch |  112 --
 ...ways-print-error-when-PSM-s-watchdog-fire.patch |  148 --
 ...-not-print-the-firmware-version-as-an-err.patch |   56 -
 ...mac-Do-not-complain-about-country-code-00.patch |   28 -
 ...ndle-status-BRCMF_E_STATUS_ABORT-in-cfg80.patch |   35 -
 ...fmac-move-brcmf_txflowblock-to-bcdc-layer.patch |  137 --
 ...mfmac-move-brcmf_txcomplete-to-bcdc-layer.patch |  122 --
 ...ap-brcmf_fws_add_interface-into-bcdc-laye.patch |   95 -
 ...ap-brcmf_fws_del_interface-into-bcdc-laye.patch |   83 -
 ...ap-brcmf_fws_reset_interface-into-bcdc-la.patch |   82 -
 ...conditionally-start-new-netdev-queues-wit.patch |   29 -
 .../patches/326-ath9k-fix-ar934x-OTP-offsets.patch |   42 -
 .../patches/327-ath10k-increase-BMI-timeout.patch  |   31 -
 ...28-ath10k-log-when-longer-bmi-cmds-happen.patch |   74 -
 ...BMI-parameters-to-fix-calibration-from-DT.patch |   80 -
 .../mac80211/patches/402-ath_regd_optional.patch   |   18 +-
 .../mac80211/patches/404-regd_no_assoc_hints.patch |    4 +-
 .../patches/406-ath_relax_default_regd.patch       |    2 +-
 .../patches/440-ath5k_channel_bw_debugfs.patch     |    2 +-
 .../patches/500-ath9k_eeprom_debugfs.patch         |    4 +-
 .../mac80211/patches/501-ath9k_ahb_init.patch      |    2 +-
 .../patches/512-ath9k_channelbw_debugfs.patch      |   10 +-
 .../mac80211/patches/513-ath9k_add_pci_ids.patch   |    2 +-
 .../522-mac80211_configure_antenna_gain.patch      |   38 +-
 .../mac80211/patches/530-ath9k_extra_leds.patch    |    6 +-
 .../mac80211/patches/542-ath9k_debugfs_diag.patch  |   10 +-
 .../patches/543-ath9k_entropy_from_adc.patch       |   10 +-
 .../patches/551-ath9k_ubnt_uap_plus_hsr.patch      |    6 +-
 ...t2x00-rt2800lib-enable-support-for-RT3883.patch |    2 +-
 ...3-rt2x00-rt2800lib-add-rf_vals-for-RF3853.patch |    6 +-
 ...2800lib-enable-VCO-calibration-for-RF3853.patch |    4 +-
 ...00lib-add-channel-configuration-function-.patch |   22 +-
 ...06-rt2x00-rt2800lib-enable-RF3853-support.patch |    2 +-
 ...00lib-add-MAC-register-initialization-for.patch |    6 +-
 ...00lib-add-BBP-register-initialization-for.patch |    4 +-
 ...00lib-add-RFCSR-initialization-for-RT3883.patch |   16 +-
 ...00lib-use-the-extended-EEPROM-map-for-RT3.patch |    2 +-
 ...2800lib-force-rf-type-to-RF3853-on-RT3883.patch |    4 +-
 ...00lib-add-channel-configuration-code-for-.patch |   12 +-
 ...00lib-fix-txpower_to_dev-function-for-RT3.patch |    2 +-
 ...00lib-use-correct-txpower-calculation-fun.patch |    2 +-
 ...00lib-hardcode-txmixer-gain-values-to-zer.patch |    8 +-
 ...800lib-use-correct-RT-XWI-size-for-RT3883.patch |    2 +-
 ...00lib-fix-antenna-configuration-for-RT388.patch |    2 +-
 ...00lib-fix-LNA-gain-configuration-for-RT38.patch |   10 +-
 ...rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch |    6 +-
 ...00lib-fix-EEPROM-LNA-validation-for-RT388.patch |   12 +-
 ...00lib-fix-txpower-compensation-for-RT3883.patch |    2 +-
 ...00mmio-add-a-workaround-for-spurious-TX_F.patch |    8 +-
 .../602-rt2x00-introduce-rt2x00eeprom.patch        |   16 +-
 ...low_disabling_bands_through_platform_data.patch |    2 +-
 .../607-rt2x00-add_platform_data_mac_addr.patch    |    2 +-
 ...-rt2x00-allow_disabling_bands_through_dts.patch |    2 +-
 .../610-rt2x00-change-led-polarity-from-OF.patch   |    2 +-
 .../patches/611-rt2x00-add-AP+STA-support.patch    |    2 +-
 ...x00-add-support-for-external-PA-on-MT7620.patch |   16 +-
 .../651-rt2x00-remove-unneccesary-code.patch       |    2 +-
 ...Add-initial-code-to-detect-8188eu-devices.patch |    2 +-
 ...tl8xxxu-Add-rtl8188etv-to-USB-device-list.patch |    2 +-
 ...xxu-Add-sitecom-dongle-to-USB-device-list.patch |    2 +-
 ...d-rtl8188eu-USB-ID-for-D-Link-USB-GO-N150.patch |    2 +-
 .../801-libertas-configure-sysfs-links.patch       |    6 +-
 .../802-libertas-set-wireless-macaddr.patch        |    2 +-
 .../patches/810-b43-gpio-mask-module-option.patch  |    6 +-
 .../kernel/mac80211/patches/811-b43_no_pio.patch   |    2 +-
 .../patches/812-b43-add-antenna-control.patch      |   18 +-
 .../814-b43-only-use-gpio-0-1-for-led.patch        |    2 +-
 .../815-b43-always-take-overlapping-devs.patch     |    2 +-
 ...mfmac-register-wiphy-s-during-module_init.patch |   27 +-
 ...rkaround-bug-with-some-inconsistent-BSSes.patch |    4 +-
 .../862-brcmfmac-Disable-power-management.patch    |    2 +-
 ...ctivate-user-space-firmware-loading-again.patch |   35 +
 .../921-ath10k_init_devices_synchronously.patch    |    2 +-
 .../patches/930-ath10k_add_tpt_led_trigger.patch   |    8 +-
 .../936-ath10k-fix-otp-failure-result.patch        |    2 +-
 .../940-mwl8k_init_devices_synchronously.patch     |    4 +-
 .../960-0010-ath10k-limit-htt-rx-ring-size.patch   |    2 +-
 .../kernel/mt76/patches/001-backport-4.13.patch    |   86 +
 .../utils/iw/patches/001-nl80211_h_sync.patch      |  407 +++-
 147 files changed, 939 insertions(+), 6976 deletions(-)
 create mode 100644 package/kernel/ath10k-ct/patches/120-mac80211-api.patch
 delete mode 100644 package/kernel/mac80211/patches/006-revert-ktime-changes.patch
 delete mode 100644 package/kernel/mac80211/patches/007-revert-genetlink-changes.patch
 delete mode 100644 package/kernel/mac80211/patches/008-revert-ndo_stats64-cleanup.patch
 delete mode 100644 package/kernel/mac80211/patches/009-revert-mtu-changes.patch
 delete mode 100644 package/kernel/mac80211/patches/011-backport_strscpy.patch
 create mode 100644 package/kernel/mac80211/patches/015-ipw200-mtu.patch
 delete mode 100644 package/kernel/mac80211/patches/020-01-rt2x00-avoid-introducing-a-USB-dependency-in-the-rt2.patch
 delete mode 100644 package/kernel/mac80211/patches/020-02-rt2x00usb-do-not-anchor-rx-and-tx-urb-s.patch
 delete mode 100644 package/kernel/mac80211/patches/020-03-rt2x00usb-fix-anchor-initialization.patch
 delete mode 100644 package/kernel/mac80211/patches/020-04-rt61pci-use-entry-directly.patch
 delete mode 100644 package/kernel/mac80211/patches/020-05-rt2x00-call-entry-directly-in-rt2x00_dump_frame.patch
 delete mode 100644 package/kernel/mac80211/patches/020-06-rt2x00-remove-queue_entry-from-skbdesc.patch
 delete mode 100644 package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch
 delete mode 100644 package/kernel/mac80211/patches/020-08-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch
 delete mode 100644 package/kernel/mac80211/patches/020-09-rt2800-identify-station-based-on-status-WCID.patch
 delete mode 100644 package/kernel/mac80211/patches/020-10-rt2x00-separte-filling-tx-status-from-rt2x00lib_txdo.patch
 delete mode 100644 package/kernel/mac80211/patches/020-11-rt2x00-separte-clearing-entry-from-rt2x00lib_txdone.patch
 delete mode 100644 package/kernel/mac80211/patches/020-12-rt2x00-add-txdone-nomatch-function.patch
 delete mode 100644 package/kernel/mac80211/patches/020-13-rt2x00-fixup-fill_tx_status-for-nomatch-case.patch
 delete mode 100644 package/kernel/mac80211/patches/020-14-rt2x00-use-txdone_nomatch-on-rt2800usb.patch
 delete mode 100644 package/kernel/mac80211/patches/020-15-rt2800-status-based-rate-flags-for-nomatch-case.patch
 delete mode 100644 package/kernel/mac80211/patches/020-16-rt2800-use-TXOP_BACKOFF-for-probe-frames.patch
 delete mode 100644 package/kernel/mac80211/patches/020-17-rt2x00-fix-rt2x00debug_dump_frame-comment.patch
 delete mode 100644 package/kernel/mac80211/patches/020-18-rt2x00-fix-TX_PWR_CFG_4-register-definition.patch
 delete mode 100644 package/kernel/mac80211/patches/020-19-rt2x00-add-support-for-MT7620.patch
 delete mode 100644 package/kernel/mac80211/patches/020-20-rt2x00-reverse-external-PA-capability-flag-logic.patch
 delete mode 100644 package/kernel/mac80211/patches/020-21-rt2800-fix-LNA-gain-assignment-for-MT7620.patch
 delete mode 100644 package/kernel/mac80211/patches/020-22-rt2800-do-VCO-calibration-after-programming-ALC.patch
 delete mode 100644 package/kernel/mac80211/patches/020-23-rt2800-fix-mt7620-vco-calibration-registers.patch
 delete mode 100644 package/kernel/mac80211/patches/020-24-rt2800-fix-mt7620-E2-channel-registers.patch
 delete mode 100644 package/kernel/mac80211/patches/090-remove-cred.patch
 delete mode 100644 package/kernel/mac80211/patches/130-mac80211-hwsim-hrtimer-clock.patch
 delete mode 100644 package/kernel/mac80211/patches/314-ath9k-rename-tx_complete_work-to-hw_check_work.patch
 delete mode 100644 package/kernel/mac80211/patches/315-ath9k_hw-check-if-the-chip-failed-to-wake-up.patch
 delete mode 100644 package/kernel/mac80211/patches/316-ath9k-fix-race-condition-in-enabling-disabling-IRQs.patch
 delete mode 100644 package/kernel/mac80211/patches/318-0001-brcmfmac-check-brcmf_bus_get_memdump-result-for-erro.patch
 delete mode 100644 package/kernel/mac80211/patches/319-0002-brcmfmac-be-more-verbose-when-PSM-s-watchdog-fires.patch
 delete mode 100644 package/kernel/mac80211/patches/319-0003-brcmfmac-use-wiphy_read_of_freq_limits-to-respect-li.patch
 delete mode 100644 package/kernel/mac80211/patches/319-0004-brcmfmac-merge-two-brcmf_err-macros-into-one.patch
 delete mode 100644 package/kernel/mac80211/patches/319-0005-brcmfmac-switch-to-C-function-__brcmf_err-for-printi.patch
 delete mode 100644 package/kernel/mac80211/patches/319-0006-brcmfmac-merge-two-remaining-brcmf_err-macros.patch
 delete mode 100644 package/kernel/mac80211/patches/320-ath9k-clean-up-and-fix-ath_tx_count_airtime.patch
 delete mode 100644 package/kernel/mac80211/patches/321-mac80211-fix-CSA-in-IBSS-mode.patch
 delete mode 100644 package/kernel/mac80211/patches/322-mac80211-don-t-handle-filtered-frames-within-a-BA-se.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0001-brcmfmac-Use-net_device_stats-from-struct-net_device.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0002-brcmfmac-always-print-error-when-PSM-s-watchdog-fire.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0003-brcmfmac-Do-not-print-the-firmware-version-as-an-err.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0004-brcmfmac-Do-not-complain-about-country-code-00.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0005-brcmfmac-Handle-status-BRCMF_E_STATUS_ABORT-in-cfg80.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0006-brcmfmac-move-brcmf_txflowblock-to-bcdc-layer.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0007-brcmfmac-move-brcmf_txcomplete-to-bcdc-layer.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0008-brcmfmac-wrap-brcmf_fws_add_interface-into-bcdc-laye.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0009-brcmfmac-wrap-brcmf_fws_del_interface-into-bcdc-laye.patch
 delete mode 100644 package/kernel/mac80211/patches/323-0010-brcmfmac-wrap-brcmf_fws_reset_interface-into-bcdc-la.patch
 delete mode 100644 package/kernel/mac80211/patches/325-mac80211-unconditionally-start-new-netdev-queues-wit.patch
 delete mode 100644 package/kernel/mac80211/patches/326-ath9k-fix-ar934x-OTP-offsets.patch
 delete mode 100644 package/kernel/mac80211/patches/327-ath10k-increase-BMI-timeout.patch
 delete mode 100644 package/kernel/mac80211/patches/328-ath10k-log-when-longer-bmi-cmds-happen.patch
 delete mode 100644 package/kernel/mac80211/patches/329-ath10k-add-BMI-parameters-to-fix-calibration-from-DT.patch
 create mode 100644 package/kernel/mac80211/patches/910-ath10k-activate-user-space-firmware-loading-again.patch
 create mode 100644 package/kernel/mt76/patches/001-backport-4.13.patch

-- 
2.11.0




More information about the Lede-dev mailing list