From c3327f48dccc548f1a18948e61ce465c968620fd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 26 Aug 2019 19:10:09 +0200 Subject: [PATCH] mt76: update to the latest version b3a29655ae0b mt76x02: fix crash on device reset ffddb685a679 mt76x02u: check chip version on probe 7fc5f925ec35 mt76x2u: remove duplicated entry in mt76x2u_device_table 61311d9b307a mt76: introduce mt76_free_device routine a7dfcf2e2498 mt76: move mac_work in mt76_dev 334b4cedf2b0 mt76: add mac80211 driver for MT7615 PCIe-based chipsets edb2a001b695 mt76: add unlikely() for dma_mapping_error() check 355c07904da7 mt76: use macro for sn and seq_ctrl conversion 133bffba8bb2 add firmware for MT7615E 49d9c1b29f1d mt76: usb: reduce locking in mt76u_tx_tasklet 3e371ca35c7f mt76: set txwi_size according to the driver value 50073265559a mt76: add skb pointer to mt76_tx_info c47a5685d00b mt76: dma: introduce skb field in mt76_txwi_cache 9029560fad1f mt76: dma: add skb check for dummy pointer e9eea3923774 mt76: mt7615: use sizeof instead of sizeof_field 98c5359e9649 Revert "mt76: fix potential deadlock on cancelling workqueues" bc9baa7b12b9 mt76x02u: remove bogus stop on suspend 6c1cab9abafc mt76usb: fix tx/rx stop 0e674c50a5a3 mt76x02: remove bogus mutex usage 59f7bb6fbfc5 Revert "mt76: mt76x02: send no-skb tx status without holding the status lock" b0f2a30452f0 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency 62054defd78a mt76: mt7603: remove query from mt7603_mcu_msg_send signature e79d96acf597 mt76: mt7603: use standard signature for mt7603_mcu_msg_send be8f0394e335 mt76: mt7603: initialize mt76_mcu_ops data structure 9a9c6569e987 mt76: introduce mt76_mcu_restart macro 980b91e04006 mt76: mt7603: init mcu_restart function pointer a97db3f3ceee mt76: mt7603: run __mt76_mcu_send_msg in mt7603_mcu_send_firmware 151115f8160b mt76: mt76x02: mt76x02_poll_tx() can be static 7391f98f8b4b mt76: fix endianness sparse warnings 6c06f7381129 mt76: mt7603: report firmware version using ethtool f06647efbd1c mt76: usb: use EP max packet aligned buffer sizes for rx f43fccf0990e mt76: move beacon_int in mt76_dev 74ab2cf6171e mt76: move beacon_mask in mt76_dev 23c2f94deeeb mt76: add TX/RX antenna pattern capabilities 6e790e106a84 mt76: move pre_tbtt_tasklet in mt76_dev 7606c08414e5 mt76: mt7603: enable/disable pre_tbtt_tasklet in mt7603_set_channel ff22eee58520 mt76: do not enable/disable pre_tbtt_tasklet in scan_start/scan_complete 3157385e2277 mt76: mt7603: dynamically alloc mcu req in mt7603_mcu_set_eeprom cc674e2d1f10 mt76: mt76x02: remove useless return in mt76x02_resync_beacon_timer 6b184272ba15 mt76: move tx_napi in mt76_dev bce63c453c85 mt76: mt7603: use napi polling for tx cleanup 4afd89e8ab20 mt76: mt7615: use napi polling for tx cleanup 2cb46830faf7 mt76: move netif_napi_del in mt76_dma_cleanup b4ceb9f7c791 mt76: Fix a signedness bug in mt7615_add_interface() d00dc9524068 mt76: mt7615: Use after free in mt7615_mcu_set_bcn() 4e0ccc6a2da6 mt76: mt7615: Make mt7615_irq_handler static 0fd552a55847 mt7615: mcu: simplify __mt7615_mcu_set_wtbl 50f70948ffcc mt7615: mcu: simplify __mt7615_mcu_set_sta_rec 4434d04d3c50 mt7615: mcu: remove bss_info_convert_vif_type routine 083fbb97223c mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc f61ca8019129 mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl 35bd12d609ac mt7615: mcu: unify mt7615_mcu_add_wtbl_bmc and mt7615_mcu_del_wtbl_bmc f8f990b9092e mt7615: mcu: remove unused parameter in mt7615_mcu_del_wtbl 965bca14795e mt7615: remove query from mt7615_mcu_msg_send signature 9b9ca18d9602 mt7615: remove dest from mt7615_mcu_msg_send signature 935b7e5edaba mt7615: mcu: remove skb_ret from mt7615_mcu_msg_send 2442db44c2ab mt7615: mcu: unify __mt7615_mcu_set_dev_info and mt7615_mcu_set_dev_info 645bc458e1ab mt7615: mcu: do not use function pointers whenever possible 40c4201c28bf mt7615: mcu: remove unused structure in mcu.h a8834a233fa7 mt7615: mcu: use standard signature for mt7615_mcu_msg_send 824d25c44124 mt7615: initialize mt76_mcu_ops data structure d9434275a872 mt7615: mcu: init mcu_restart function pointer c2211e478c6e mt7615: mcu: run __mt76_mcu_send_msg in mt7615_mcu_send_firmware cb63a06c403a mt76: mt7603: stop mac80211 queues before setting the channel c6aaa3a2a9ea mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device 97609f3708c7 mt76: mt7615: add static qualifier to mt7615_rx_poll_complete f9dadd2d9377 mt76: mt7603: add debugfs knob to enable/disable edcca 89cda5d85498 mt7603: fix reading target tx power from eeprom 77d0e3378bd1 mt76: fix setting chan->max_power f575da2f01a4 mt76: mt76x02: fix tx status reporting issues a5d18dca9d3e mt76: mt76x02: fix tx reordering on rate control probing without a-mpdu bd32a93e4996 mt76: mt76x02: remove enable from mt76x02_edcca_init signature 18386eef1d22 mt76: mt76x2u: remove mt76x02_edcca_init in mt76x2u_set_channel da3514f6de4f mt76: mt76x2: move mutex_lock inside mt76x2_set_channel 0d4719c327ca mt76: mt76x02: run mt76x02_edcca_init atomically in mt76_edcca_set fd5af7397257 mt76: mt76x02: fix edcca file permission a0f51f276104 mt76: mt7615: do not process rx packets if the device is not initialized 753cdee4f6f6 mt76: mt7615: stop mcu first in mt7615_unregister_device 899efe755bae mt76: move mt76_insert_ccmp_hdr in mt76-module 6960b6e2d163 mt76: mt7615: add support for mtd eeprom parsing 4bcb0577daa5 mt76: mt7615: select wifi band according to eeprom 866f2c6cd0a2 mt76: generalize mt76_get_txpower for 4x4:4 devices 514fb04492a6 mt76: mt7615: add the capability to configure tx power ced9d43a8a85 mt76: mt7615: init get_txpower mac80211 callback 8abd502a5f86 mt76: mt7615: rearrange locking in mt7615_config 5b9b62e0b00c mt76: move mt76_get_rate in mt76-module 661c7c8e1acc mt76: Remove set but not used variables 'pid' and 'final_mpdu' f072c7ba2150 mt76: mt7615: enable support for mesh 28d9496205a6 mt76: mt7615: fix slow performance when enable encryption 827b9ade1672 mt76: mt7615: remove unused variable in mt7615_mcu_set_bcn 34eea1414b8b mt76: mt7615: remove key check in mt7615_mcu_set_wtbl_key 2bfae5a25251 mt76: usb: fix rx A-MSDU support b0335320fc2c mt76: usb: do not always copy the first part of received frames 3e7fc1573c6f mt76x02: fix reporting of non-probing frames with tx status requested 0d5caead9765 Revert "mt76: usb: do not always copy the first part of received frames" 335e8c6baf77 Revert "mt76: usb: fix rx A-MSDU support" 47ddf4b722a1 mt76: revert support for TX_NEEDS_ALIGNED4_SKBS 0b6520bd1c98 mt7603: rework and fix tx status reporting 539b6796605c mt7603: improve hardware rate switching configuration d86d6efa7214 mt76x0: fix RF frontend initialization for external PA f476a14761ec mt76x02: fix endian issue in tx status reporting patch f8d051785221 mt76: mt7615: simplify mt7615_mcu_set_sta_rec routine 73ff45f618fd mt76: mt7615: add support for per-chain signal strength reporting 9b67ae62d9ea mt76: mt7615: init per-channel target power 160fdc05e260 mt76: mt7615: take into account extPA when configuring tx power 2211d9370976 mt76: mt76x02u: fix sparse warnings: should it be static? 3750533a37a4 mt76: mt7615: fix incorrect settings in mesh mode c37c1ca3fa01 mt76: mt7615: update peer's bssid when state transition occurs 9dd1089a29af mt76: mt76u: reduce rx memory footprint 0789f45e52c5 mt76: mt7615: remove cfg80211_chan_def from mt7615_set_channel signature 2dca431cd7fc mt76: move nl80211_dfs_regions in mt76_dev data structure 3386ccf7842b mt76: mt76u: get rid of {out,in}_max_packet d680ab01cddd mt76: usb: fix rx A-MSDU support 6cafaca7225d mt7603: use READ_ONCE instead of ACCESS_ONCE 9e2e0b857710 mt76: round up length on mt76_wr_copy e378ef1bc1e5 mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer 7991dd7e25c8 mt76: mt7615: introduce mt7615_regd_notifier 901a4c7b7f8c mt76: mt7615: add hw dfs pattern detector support 57c600e5b945 mt76: mt7615: do not perform txcalibration before cac is complited 6afc9521962f mt76: mt7615: add csa support 8919516006e4 mt76: mt7615: add radar pattern test knob to debugfs 3be723cad7a9 mt76: mt7615: clean up FWDL TXQ during/after firmware upload 47fe37e22fdf mt76: mt7615: fall back to sw encryption for unsupported ciphers bc5e0417939f mt76: mt7603: enable hardware rate up/down selection ae760db52abc mt76: mt7615: move mt7615_mcu_set_rates to mac.c 2ae01f7e7715 mt76: mt7615: reset rate index/counters on rate table update 6f9837833baf mt76: mt7615: sync with mt7603 rate control changes edbe88ec7c1f mt76: usb: fix endian in mt76u_copy f43b6228facf mt76: usb: remove unneeded {put,get}_unaligned 5e1e5b75d6e8 mt76: usb: use full intermediate buffer in mt76u_copy 017d0ff097f7 mt76: mt76u: fix typo in mt76u_fill_rx_sg 2c0ccf1561c1 mt76: mt7615: always release sem in mt7615_load_patch 0c6f1a2b3c33 mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine 3dfc1eeffedf mt76: mt7615: fix sparse warnings: incorrect type in assignment (different base types) 947532099c3e mt76: mt7603: fix sparse warnings: warning: incorrect type in assignment (different base types) e07451d27941 mt76: mt7615: fix sparse warnings: warning: cast from restricted __le16 b973bef0f87f mt7603: do not use tssi-off power value for mt7628 8fc3e6e02e96 mt76: mt7615: fix using VHT STBC rates b21b99187a54 mt76: mt7615: fix PS buffering of action frames 3d43dd886951 mt76: mt7615: fix invalid fallback rates 0ce46825b8df mt76: mt7603: fix invalid fallback rates 3b08966d99ae Revert "mt76: usb: use full intermediate buffer in mt76u_copy" 48800e7b6088 Revert "mt76: usb: remove unneeded {put,get}_unaligned" 439354d54085 Revert "mt76: usb: fix endian in mt76u_copy" 8c1da9367beb mt76: usb: fix endian in mt76u_copy 307be50cc5f4 mt76: usb: remove unneeded {put,get}_unaligned 5d298297c00c mt76: mt76x02: use params->ssn value directly f74d117ed41c mt76: mt7603: use params->ssn value directly 649f2e83742e mt76: mt7615: use params->ssn value directly b647180c86be mt76: mt7615: unlock dfs bands 410923fa24de Revert accidental debugging change 3d7f7384bef0 mt76: mt7615: add missing register initialization 75656a4590a3 net: wireless: support of_get_mac_address new ERR_PTR error fb0f432834c0 mt76: stop rx aggregation on station removal 76aada563b66 mt76: dma: reset q->rx_buf on rx reset 3245ca8b8aeb mt76: check of_get_mac_address for NULL as well to restore old kernel compat 8e495245ab3d mt76: mt7615: move mt7615_mac_get_key_info in mac.c e4f48a8df6aa mt76: mt7615: add mt7615_mac_wtbl_addr routine e8c95e5a41f0 mt76: mt7615: introduce mt7615_mac_wtbl_set_key routine d998b90c4bed mt76: mt7615: remove wtbl_sec_key definition 60d279ec2762 mt76: mt7615: add set_key_cmd and mt76_wcid to mt7615_mac_wtbl_set_key signature 4947ad4eab6a mt76: introduce mt76_mmio_read_copy routine 4d9001b8ab1d mt76: mt7615: fix MT7615_WATCHDOG_TIME definition 3d6796b867b6 mt76: mt7603: fix watchdog rescheduling in mt7603_set_channel 8d7a48030005 mt76: mt7615: add 4 WMM sets support ae0f11149248 mt76: mt7615: update cw_min/max related settings 8b7bbd017654 mt76: mt7603: fix some checkpatch warnings e6045467848d mt76: mt7615: fix some checkpatch warnings c415c676e255 mt76: mt76x02: fix some checkpatch warnings f625afcedc9b mt76: switch to SPDX tag instead of verbose boilerplate text 4d57f1cee4aa mt76: mt7615: rework locking scheme for mt7615_set_channel 2becd13be766 mt76: mt7615: add Smart Carrier Sense support 20f0c196722a mt76: mt76x02: introduce mt76x02_pre_tbtt_enable and mt76x02_beacon_enable macros ae83a05b1050 mt76: mt76x02: do not copy beacon skb in mt76x02_mac_set_beacon_enable 92fa62ace198 mt76: mt76x02u: enable multi-vif support c6dabfe953af mt76: mt76x02u: enable survey support 1f44159b41ff mt76: mt7603: move survey_time in mt76_dev 9657e6304322 mt76: mt7615: enable survey support af860c0decb1 mt76: move mt76_tx_tasklet in mt76 module a9d2a28b39fc mt76: mt7603: remove unnecessary mcu queue initialization 281b10fc1fe6 mt76: mt7615: add BIP_CMAC_128 cipher support 37673a4181e4 mt76: fix some checkpatch warnings a7fa32603981 mt76: add default implementation for mt76_sw_scan/mt76_sw_scan_complete 5c35bdf057af mt7615: apply calibration-free data from OTP 0e3baf0213c9 mt76: fix a leaked reference by adding a missing of_node_put 2d5928fef23d net: Remove dev_err() usage after platform_get_irq() a0824197ab00 mt76: mt76x0e: disable 5GHz band for MT7630E 4d8a9f20610f mt76: do not send BAR frame on tx aggregation flush stop 2a0edbb4473b mt76: remove offchannel check in tx scheduling Signed-off-by: Felix Fietkau --- package/kernel/mt76/Makefile | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index a985f90b2a..db0bf04d0a 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -8,9 +8,9 @@ PKG_LICENSE_FILES:= PKG_SOURCE_URL:=https://github.com/openwrt/mt76 PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2019-03-27 -PKG_SOURCE_VERSION:=a11b67348aeb2d3175c5995c747e7fc050c7df60 -PKG_MIRROR_HASH:=6ea603308fa568c8ab39eddd86d9c8110a10aa93971348f52ceda0e5bd423ec6 +PKG_SOURCE_DATE:=2019-08-22 +PKG_SOURCE_VERSION:=2a0edbb4473b71dfaa4756f7189abf6cb7f7be8b +PKG_MIRROR_HASH:=a37975c179b929716c40d19fdcd5b131386d7f497eb8cd5d848be74e76d50d21 PKG_MAINTAINER:=Felix Fietkau PKG_BUILD_PARALLEL:=1 @@ -138,6 +138,15 @@ define KernelPackage/mt7603 AUTOLOAD:=$(call AutoProbe,mt7603e) endef +define KernelPackage/mt7615e + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7615 wireless driver + DEPENDS+=@PCI_SUPPORT +kmod-mt76-core + FILES:=\ + $(PKG_BUILD_DIR)/mt7615/mt7615e.ko + AUTOLOAD:=$(call AutoProbe,mt7615e) +endef + NOSTDINC_FLAGS = \ -I$(PKG_BUILD_DIR) \ -I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \ @@ -181,6 +190,9 @@ endif ifdef CONFIG_PACKAGE_kmod-mt7603 PKG_MAKE_FLAGS += CONFIG_MT7603E=m endif +ifdef CONFIG_PACKAGE_kmod-mt7615e + PKG_MAKE_FLAGS += CONFIG_MT7615E=m +endif define Build/Compile +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ @@ -233,6 +245,15 @@ define KernelPackage/mt7603/install $(1)/lib/firmware endef +define KernelPackage/mt7615e/install + $(INSTALL_DIR) $(1)/lib/firmware + cp \ + $(PKG_BUILD_DIR)/firmware/mt7615_cr4.bin \ + $(PKG_BUILD_DIR)/firmware/mt7615_n9.bin \ + $(PKG_BUILD_DIR)/firmware/mt7615_rom_patch.bin \ + $(1)/lib/firmware +endef + $(eval $(call KernelPackage,mt76-core)) $(eval $(call KernelPackage,mt76-usb)) $(eval $(call KernelPackage,mt76x02-usb)) @@ -244,4 +265,5 @@ $(eval $(call KernelPackage,mt76x2-common)) $(eval $(call KernelPackage,mt76x2u)) $(eval $(call KernelPackage,mt76x2)) $(eval $(call KernelPackage,mt7603)) +$(eval $(call KernelPackage,mt7615e)) $(eval $(call KernelPackage,mt76)) -- 2.25.1