aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76
Commit message (Collapse)AuthorAgeFilesLines
* mt76: update to the latest versionFelix Fietkau2021-02-142-86/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 261d184cebdc mt76: introduce mt76_vif data structure 50349a8664ef mt76: mt76_connac: create mcu library c88859180c51 mt76: mt76_connac: move hw_scan and sched_scan routine in mt76_connac_mcu module 9856236ab4f9 mt76: mt76_connac: move WoW and suspend code in mt76_connac_mcu module 2da59aacdd50 mt76: mt76_connac: move pm data struct in mt76_connac.h 16be142e40fe mt76: mt76_connac: move pm utility routines in mt76_connac_lib module c4ccfc66347d mt76: mt7921: add MAC support 8ecf3a50e7ad mt76: mt7921: add MCU support 92c1717f9a55 mt76: mt7921: add DMA support 1cecf9c3da8b mt76: mt7921: add EEPROM support a9e68410b9ba mt76: mt7921: add ieee80211_ops 39d6f4851b06 mt76: mt7921: introduce mt7921e support 9f37baecf5d6 mt76: mt7921: add debugfs support b16cf6e26998 mt76: mt7921: introduce schedule scan support 5aa798ee56c7 mt76: mt7921: introduce 802.11 PS support in sta mode e67d5216f16d mt76: mt7921: introduce support for hardware beacon filter cb99bf4655f9 mt76: mt7921: introduce beacon_loss mcu event 71f9f09ee987 mt76: mt7921: introduce PM support 2beb9c9530d4 mt76: mt7921: rely on mt76_connac_mcu common library 59e682497d12 mt76: mt7921: rely on mt76_connac_mcu module for sched_scan and hw_scan 1ccf6a9c60cd mt76: mt7921: rely on mt76_connac_mcu module for suspend and WoW support f8d1ec5e6e11 mt76: mt7921: introduce Runtime PM support 633a1cbd8f4e mt76: mt7921: introduce regdomain notifier support 0d95c6ad1745 mt76: mt7921: enable MSI interrupts 5f4f6792fb37 mt76: mt7921: add coredump support 47eb00e13450 mt76: mt7663: introduce coredump support 26658849a465 mt76: mt7615: fix key set/delete issues b0ba039bc2ef mt76: mt7615: fix tx skb dma unmap 892f74d37e88 mt76: mt7915: fix tx skb dma unmap 2659f6c6ea23 mt76: mt7615: support loading EEPROM for MT7613BE b09cc8644529 mt76: dma: do not report truncated frames to mac80211 ae6473f1d2af mt76: mt7921: enable random mac addr during scanning b59e3677476d mt76: mt7921: remove unnecessary variable 781911f167aa mt76: mt7921: removed unused definitions in mcu.h 994893d38d51 mt76: always use WTBL_MAX_SIZE for tlv allocation e6c0948ada07 mt76: mt76x0: disable GTK offloading a75302bcbfe1 mt76: connac: always check return value from mt76_connac_mcu_alloc_wtbl_req 8da10d6f9251 mt76: mt7915: always check return value from mt7915_mcu_alloc_wtbl_req 80a87412e9e9 mt76: mt7915: fix uninitialized variable in mt7915_tm_set_tx_cont() c7d98fc35865 mt76: use PCI_VENDOR_ID_MEDIATEK to avoid open coded b5228e75e422 mt76: mt7921: switch to new api for hardware beacon filter 73fce2cbfa41 mt76: connac: fix up the setting for ht40 mode in mt76_connac_mcu_uni_add_bss 2e2cb71901e8 mt76: mt7921: fixup rx bitrate statistics 2d7b1d72b43b mt76: mt7921: add flush operation 96b4c9874e16 mt76: mt7921: fix uninitialized pointer access in mt7921_get_wtbl_info 4492d801cbb5 mt76: connac: update sched_scan cmd usage 200c1b1c234b mac80211: rename csa counters to countdown counters 0d7564d0d899 mt76: add support for 802.3 rx frames 4c0811c647b9 mt76: mt7915: enable hw rx-amsdu de-aggregation 4b7a68634ff6 mt76: mt7915: add rx checksum offload support 289cd7804587 mt76: mt7915: add support for rx decapsulation offload Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: Update to version 5.10-rc6-1Hauke Mehrtens2021-02-141-0/+82
| | | | | | | | | The removed patches were applied upstream. This adapts ath10k-ct and mt76 to changed APIs. nl80211.h in iw is updated to match the version from backports. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mt76: update to the latest versionFelix Fietkau2021-01-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 65abbcd9f6fb mt76: usb: process URBs with status EPROTO properly 3199ef5fa35e mt76: mt7615: set mcu country code in mt7615_mcu_set_channel_domain() 5c86d5bb079b mt76: mt7915: Remove unneeded semicolon 3f546330b59d mt76: mt7915: support TxBF for DBDC 032ad7e02545 mt76: mt7615: unify init work cc3f23d1e654 mt76: mt7915: bring up the WA event rx queue for band1 fa3d334a0e22 mt76: fix crash on tearing down ext phy c4c9c402d14a mt76: mt7915: fix vif sta index for DBDC eca2f0ec0d4c mt76: mt7915: fix command id for txbf action c828124ef9a5 mt76: mt7915: add support for using a secondary PCIe link for gen1 dbaf0f4679f3 mt76: mt7915: make vif index per adapter instead of per band fb3e5ce1eb00 mt76: move vif_mask back from mt76_phy to mt76_dev be2bea66d6e3 mt76: mt7915: detect wrong nss eeprom parameter on dbdc cards 8dc5d4a0da7c Revert "mt76: mt7915: fix vif sta index for DBDC" 8c796a33781c mt76: mt7915: only set int1 when using the second hif 4eb5caaf6cc1 mt76: reduce q->lock hold time 0714890bf0fd mt76: mt7615: reduce VHT maximum MPDU length 2f85aa5cbc62 mt76: mt7915: avoid writes to MT_PCIE_RECOG_ID when not using gen1 devices 8696919d9aae mt76: dma: fix a possible memory leak in mt76_add_fragment() Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2021-01-142-28/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a46f9a9160e9 mt76: mt7915: add vif check in mt7915_update_vif_beacon() 27ad12352ac9 mt76: mt7615: add vif check in mt7615_update_vif_beacon() 0a449cef024e mt76: mt7915: fix MT_CIPHER_BIP_CMAC_128 setkey eacd2d493c61 mt76: mt7915: reset token when mac_reset happens e4b23301e6c9 mt76: mt7615: reset token when mac_reset happens 6e22bbfe0360 mt76: mt7615: convert comma to semicolon 37865118ae2d mt76: mt7915: convert comma to semicolon 742c36b2e527 mt76: mt7915: run mt7915_configure_filter holding mt76 mutex a515727e8423 mt76: mt7915: add support for flash mode b6f7b3da5216 mt76: mt7915: fix endianness warning in mt7915_mcu_set_radar_th 062f3f4f06a2 mt76: mt7915: simplify mt7915_mcu_send_message routine dbba9b993300 mt76: mt7915: drop zero-length packet to avoid Tx hang 36a745d0f71c mt76: Fix queue ID variable types after mcu queue split a4539760b0b1 mt7915: update the testmode support to the latest upstream patch 64bd6f87e4c2 mt7915: fix crash on failure in pci_set_dma_mask c202ace409e0 mt76: remove unused variable q d1b827781f84 mt76: mt7915: add partial add_bss_info command on testmode init a897a69769f5 mt76: testmode: introduce dbdc support b44472e99822 mt76: testmode: move mtd part to mt76_dev 45e27e6cdc12 mt76: mt7915: move testmode data from dev to phy b6673b005770 mt76: mt7615: move testmode data from dev to phy abdd471e9f2d mt76: mt7915: fix ht mcs in mt7915_mcu_get_rx_rate() d679b56b9585 mt76: move mac_work in mt76_core module 36cd48ab4454 mt76: move chainmask in mt76_phy 89a6781ed045 mt76: mt7915: force ldpc for bw larger than 20MHz in testmode 3d0834e78005 mt76: testmode: add support to set user-defined spe index cc05f4679667 mt76: testmode: add attributes for ipg related parameters 77b18b16fe16 mt76: testmode: make tx queued limit adjustable 6365a58573cb mt76: mt7915: split edca update function e56282bf67f6 mt76: mt7915: add support for ipg in testmode 6fa642903e4e mt76: mt7915: calculate new packet length when tx_time is set in testmode 729ec5daeba5 mt76: mt7915: clean hw queue before starting new testmode tx 981443da5cf7 mt76: testmode: add a new state for continuous tx 4793fc9b3d48 mt76: mt7915: rework set state part in testmode 11a1e86e5946 mt76: mt7915: add support for continuous tx in testmode 364affef82fc mt76: mt7615: mt7915: disable txpower sku when testmode enabled 9fc19db51293 mt76: mt7915: simplify peer's TxBF capability check 6377b7f330be mt76: mt7915: add implicit Tx beamforming support 983091a40633 mt76: mt7915: fix MESH ifdef block bbb7a9e77751 mt76: mt76u: fix NULL pointer dereference in mt76u_status_worker a28a8dd2f7de mt76: usb: fix crash on device removal 9c312f2ce2c5 mt76: mt7915: rework mcu API e6fe82acb111 mt76: mt7915: disable RED support in the WA firmware 25d7429bdc41 mt76: mt7915: fix eeprom parsing for DBDC 7a93026dd3dc mt76: mt7915: fix eeprom DBDC band selection 4c8a09cc45d0 tools: Set mode for new file /tmp/mt76-test-%s Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: nuke DRIVER_11W_SUPPORTDobroslaw Kijowski2020-12-231-2/+2
| | | | | | | | | | | | | | As of hostapd upstream commit 7d2ed8ba "Remove CONFIG_IEEE80211W build parameter" https://w1.fi/cgit/hostap/commit?id=7d2ed8bae86a31dd2df45c24b3f7281d55315482 802.11w feature is always enabled in the build time. It doesn't make sense to opt-in 802.11w per driver as hostapd will always be compiled with this feature enabled. As suggested by Hauke Mehrtens, for now keep 11w enabled in build_features.h for compatibility reasons. This option will be dropped when LuCI is adjusted. Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
* mt76: Fix compile against glibcHauke Mehrtens2020-12-192-1/+26
| | | | | | The mt76 test tools did not compile against glibc. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mt76: update to the latest versionFelix Fietkau2020-12-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f53d68b1af9 mt76: mt7615: add debugfs knob for setting extended local mac addresses 1a2547b27dfc mt76: do not set NEEDS_UNIQUE_STA_ADDR for 7615 and 7915 2741fd071bb7 mt76: mt7915: support 32 station interfaces 709f2cd77810 mt76: mt7915: fix processing txfree events 434940e08233 mt76: mt7915: measure channel noise and report it via survey 236326896589 mt76: mt7615: retry if mt7615_mcu_init returns -EAGAIN b5c593b63f4c mt76: mt7663s: move tx/rx processing in the same txrx workqueue 75157b59ae4e mt76: mt7663s: convert txrx_work to mt76_worker 6dc67b058e2a mt76: mt7663s: disable interrupt during txrx_worker processing b381729626bb mt76: sdio: convert {status/net}_work to mt76_worker 9cb12f7042cc mt76: mt7915: fix DRR sta bss group index 75977a85e844 mt76: mt7915: disable OFDMA/MU-MIMO UL 6cdebe805862 mt76: rename __mt76_mcu_send_msg to mt76_mcu_send_msg eb9afae96b65 mt76: rename __mt76_mcu_skb_send_msg to mt76_mcu_skb_send_msg 8c73f3b15ada mt76: implement .mcu_parse_response in struct mt76_mcu_ops fcfbb046c2f3 mt76: move mcu timeout handling to .mcu_parse_response 477caa196ffe mt76: move waiting and locking out of mcu_ops->mcu_skb_send_msg a4d71501bad6 mt76: make mcu_ops->mcu_send_msg optional 80c310c59ad1 mt76: mt7603: switch to .mcu_skb_send_msg 082b26181013 mt76: implement functions to get the response skb for MCU calls ee40800df2e4 mt76: mt7915: move eeprom parsing out of mt7915_mcu_parse_response d33943baac47 mt76: mt7915: query station rx rate from firmware b8874e8756d9 mt76: add back the SUPPORTS_REORDERING_BUFFER flag 633ae5961db6 mt76: mt7615: enable beacon filtering by default for offload fw 9a203fea3540 mt76: mt7615: introduce quota debugfs node for mt7663s f9ae638af7e2 mt76: mt7663s: get rid of mt7663s_sta_add 1a5758d894d0 mt76: mt7663s: fix a possible ple quota underflow dea10c03316f mt76: sdio: get rid of sched.lock eb4c09957938 mt76: mt7915: set fops_sta_stats.owner to THIS_MODULE 594890b11155 mt76: mt7915: update ppe threshold 8884a5def518 mt76: mt7915: rename mt7915_mcu_get_rate_info to mt7915_mcu_get_tx_rate 33b89f4a1bf4 mt76: set fops_tx_stats.owner to THIS_MODULE 4d019c9672ec sync with upstream changes 35e3cd1db479 mt76: mt7603: fix ED/CCA monitoring with single-stream devices 4f9f79b085b1 wireless: mt76: convert tasklets to use new tasklet_setup() API 20e8cf935ed0 mt76: dma: fix possible deadlock running mt76_dma_cleanup 36089a655f58 mt76: mt7915: fix sparse warning cast from restricted __le16 68c4eedafd61 mt76: fix memory leak if device probing fails 9a1a0a4dec71 mt76: mt7603: add additional EEPROM chip ID 01b943295719 mt76: move mt76_mcu_send_firmware in common module 0aee4999902a mt76: mt7663s: introduce WoW support via GPIO 79ebad117325 mt76: switch to wep sw crypto for mt7615/mt7915 af139725193a mt76: fix tkip configuration for mt7615/7663 devices 664e66b35c0b mt76: mt7615: run key configuration in mt7615_set_key for usb/sdio devices f675358267d6 mt76: mt76u: rely on woker APIs for rx work b9f9c16cb1bd mt76: mt76u: use dedicated thread for status work cdeb1b29cd15 mt76: testmode: switch ib and wb rssi to array type for per-antenna report 0a898c0549b6 mt76: testmode: add snr attribute in rx statistics 3ea9a0433bcc mt76: testmode: add tx_rate_stbc parameter 73427ebbbd27 mt76: testmode: add support for LTF and GI combinations for HE mode 88ebccfe8a39 mt76: mt7915: fix tx rate related fields in tx descriptor 9909c0551e4c mt76: testmode: add support for HE rate modes 03ed0909f922 mt76: mt7915: implement testmode tx support 0aa696834a9c mt76: mt7915: implement testmode rx support 5ed3a34b46ce mt76: mt7915: add support to set txpower in testmode f86361654e94 mt76: mt7915: add support to set tx frequency offset in testmode 64a765be750a mt76: mt7915: make mt7915_eeprom_read static 9b48c13b52f7 mt76: mt7915: use BIT_ULL for omac_idx 27227fd57ea7 mt76: mt7915: remove unused mt7915_mcu_bss_sync_tlv() cd795267612d mt76: mt7615: support 16 interfaces 82da525ad0c8 mt76: mt7615: refactor usb/sdio rate code b9a50da503ad mt76: mt7915: rely on eeprom definitions c79d18723df0 mt76: move mt76_init_tx_queue in common code b0b221e91445 mt76: sdio: introduce mt76s_alloc_tx_queue caba5a99e5ae mt76: sdio: rely on mt76_queue in mt76s_process_tx_queue signature 3ed4aad81ce9 mt76: mt7663s: rely on mt76_queue in mt7663s_tx_run_queue signature 216cf8b28579 mt76: dma: rely on mt76_queue in mt76_dma_tx_cleanup signature 0f9350bef1b5 mt76: rely on mt76_queue in tx_queue_skb signature 8932975be066 mt76: introduce mt76_init_mcu_queue utility routine b0eb7edcc624 mt76: rely on mt76_queue in tx_queue_skb_raw signature ccd62467d0f3 mt76: move mcu queues to mt76_dev q_mcu array 2e217fb9e962 mt76: move tx hw data queues in mt76_phy 576647f2ec6a mt76: mt7915: fix endian issues e881fd67c718 mt76: move band capabilities in mt76_phy c728cecd7b77 mt76: rely on mt76_phy in mt76_init_sband_2g and mt76_init_sband_5g 231ef27697f9 mt76: move band allocation in mt76_register_phy 8aa24c91b13b mt76: move hw mac_addr in mt76_phy b436da4d9d92 mt76: mt7915: introduce dbdc support 1e34a02c2dcb mt76: mt7915: get rid of dbdc debugfs knob d8e681bd3268 mt76: mt7615: fix rdd mcu cmd endianness 19c9e277eff6 mt76: mt7915: fix memory leak in mt7915_mcu_get_rx_rate() e361b6a71e4b mt76: improve tx queue stop/wake fb24e5f2305b mt76: mt7915: stop queues when running out of tx tokens 066cc441eb8f mt76: attempt to free up more room when filling the tx queue 93c806a34ec2 mt7915: fix minor issues in the token queue blocking change c017e329a326 mt76: mt7915: ensure that init work completes before starting the device 9e9da427b8a6 mt76: mt7915: fix polling firmware-own status 5cd805ddfb25 mt76: add more conditions for stopping tx scheduling aa893c73bf85 mt76: mt7915; increase txq memory limit for non-DBDC 7915 cards to 32 MiB e44b7c91070e mt76: skip queue stop/wake, rely entirely on txq scheduling 6c6a5c59c101 mt76: mt7915: do not set DRR group for stations 510cb5be1bf7 mt76: usb: remove wake logic in mt76u_status_worker 34f318a25421 mt76: sdio: remove wake logic in mt76s_process_tx_queue 4a90fdf6105e mt76: mt76s: fix NULL pointer dereference in mt76s_process_tx_queue Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-09-231-3/+3
| | | | | | | | | 73301065ac32 mt76: mt7615: reduce maximum VHT MPDU length to 7991 8c47ed12c2be mt76: mt7915: add offchannel condition in switch channel command 1449e602fa10 mt76: Convert to DEFINE_SHOW_ATTRIBUTE b22977c2727d mt76: mt7663s: remove max_tx_fragments limitation Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-09-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b946a6dc588 mt76: dma: cache dma map address/len in struct mt76_queue_entry c4c8b6a20d3b mt76: mt7915: fix HE BSS info 15391c1c947f mt76: fix tx hang on non-AQL frame limit 72c8a81e64e8 mt76: mt7915: fix encap offload multicast traffic with 4-address mode 69b3f868d14b mt76: mt7915: use napi_consume_skb to bulk-free tx skbs 5f080033ec7d mt76: move txwi handling code to dma.c, since it is mmio specific b1f425686125 mt76: mt7915: fix VHT LDPC capability 8f48855f5d14 mt76: mt7915: simplify mt7915_lmac_mapping cfaf40858718 mt76: mt7915: fix queue/tid mapping for airtime reporting 115b62efac21 mt76: remove retry_q from struct mt76_txq and related code e22c65cdc585 mt76: mt7915: simplify checks for the 802.3 offload path bab866a01e4f mt76: mt7915: fix unexpected firmware mode 0fc3c5eb61d0 mt76: dma: queue more rx frames internally before passing them to the stack 130e5de09364 Revert "mt76: dma: queue more rx frames internally before passing them to the stack" e3af31409d41 update mt7915 firmware to the latest version e2b8a4ec9891 mt76: testmode: add a limit for queued tx_frames packets 146488631f7b mt76: mt7615: Remove set but unused variable 'index' 0b7d2b76288e mt76: mt7615: fix VHT LDPC capability 848f4a6334a8 mt76: mt7622: fix fw hang on mt7622 0a955d944bd0 mt76: mt7663s: do not use altx for ctl/mgmt traffic 13b96411513b mt76: mt7663s: split mt7663s_tx_update_sched in mt7663s_tx_{pick,update}_quota d62ba15b1bbf mt76: mt7663s: introduce __mt7663s_xmit_queue routine fdf14d1b6aec mt76: move pad estimation out of mt76_skb_adjust_pad d048f8e87ba0 mt76: mt7663s: fix possible quota leak in mt7663s_refill_sched_quota 979c0fdc5d27 mt76: mt7663s: introduce sdio tx aggregation 56e77a3a3ade mt76: mt7663: check isr read return value in mt7663s_rx_work f96cffa03e57 mt76: mt7615: unlock dfs bands 1ccd31bbe1f4 mt76: Use fallthrough pseudo-keyword 448cd2d36ee2 mt76: mt76x0: Move tables used only by init.c to their own header file 17ba3432f5af Revert "mt76: mt7615: unlock dfs bands" fee1f4a8e87f mt76: mt7915: fix possible memory leak in mt7915_mcu_add_beacon 5b78e5292777 mt76: Fix unsigned expressions compared with zero ec84891a4d23 mt76: mt7915: convert to use le16_add_cpu() Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-08-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | f0beb7cbc443 mt76: mt7663u: fix memory leaks in mt7663u_probe 90c8422d3f56 mt76: mt7915: fix typo in function name 9cbbe4a30eaf mac80211: simplify TX aggregation start 974486ec2642 util: in worker setup, only overwrite function pointer if not NULL 519510277a8b mt76: initialize tx worker function earlier 3c361b1e3f4e mt76: mt7663u: fix dma header initialization e8d489647c7f mt76: usb: fix use of q->head and q->tail 8124daf53130 mt76: sdio: fix use of q->head and q->tail 3c2cd8580377 mt76: unify queue tx cleanup code 780cdabb8659 mt76: remove qid argument to drv->tx_complete_skb 05aa857861fc mt76: remove swq from struct mt76_sw_queue e861cb051833 mt76: rely on AQL for burst size limits on tx queueing 3218b914a2fb mt76: remove struct mt76_sw_queue 23529b5e93c1 mt76: mt7603: tune tx ring size f6ca436ebea4 mt76: mt76x02: tune tx ring size 97e65131440c mt76: mt7603: check for single-stream EEPROM configuration 957b6c5ac273 mt76: mt7615: fix MT_ANT_SWITCH_CON register definition 96a541eedda9 mt76: mt7615: fix antenna selection for testmode tx_frames b36d7ae096a3 mt76: mt7603: move number of streams detection to eeprom init Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-08-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8027c7d95274 mt76: mt7615: fix reading airtime statistics 3743e7c904de mt76: mt7915: optimize mt7915_mac_sta_poll d2fe5e8330c6 mt76: mt7915: fix variable initialization in sta poll 692065b4c9db mt76: mt7915: only enable hw amsdu for AP and station b54157df7c27 mt7615: update firmware to version 20200814 888990e159d2 mt76: use threaded NAPI 3a3306e408f2 mt76: mt7915: add 802.11 encap offload support 795b772cd392 mt76: mt7915: add encap offload for 4-address mode stations 55d79ab7fa23 mt76: dma: update q->queued immediately on cleanup 23dbd64d6324 mt76: mt7915: schedule tx tasklet in mt7915_mac_tx_free 5cf34cda70af mt76: mt7915: significantly reduce interrupt load 87a69429069f mt76: add utility functions for deferring work to a kernel thread 2f1318a06d0a mt76: convert from tx tasklet to tx worker thread 72f0979566be mt76: mt7915: add support for accessing mapped registers via bus ops f9ce5c776c9a mt76: use ieee80211_rx_list to pass frames to the network stack as a batch 25dd8bdae3bf mt76: mt7615: significantly reduce interrupt load 7c5445dec812 mt76: mt7615: release mutex in mt7615_reset_test_set e68c3e254822 mt76: mt7663s: use NULL instead of 0 in sdio code 4368380e20e7 mt76: mt7663s: fix resume failure bea386f27914 mt76: mt7663s: fix unable to handle kernel paging request b8780c44c716 mt76: mt7615: fix possible memory leak in mt7615_tm_set_tx_power 37a1c7ed6796 mt76: mt7615: fix a possible NULL pointer dereference in mt7615_pm_wake_work 8c7c1a207d25 mt76: fix a possible NULL pointer dereference in mt76_testmode_dump Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-08-131-3/+3
| | | | | | | 34aed01ca865 mt76: mt7915: use ieee80211_free_txskb to free tx skbs efc8669db5f9 mt76: mt7915: fix max_mpdu_size field for A-MSDU Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-08-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d9a62e4def7 mt76: mt7915: fix crash on tx rate report for invalid stations 825343467df4 mt76: fix double DMA unmap of the first buffer on 7615/7915 99804560372b mt76: mt7615: register ext_phy if DBDC is detected 93407be934b2 mt76: mt7615: move drv_own/fw_own in mt7615_mcu_ops e7774de844e8 mt76: mt7663s: move drv_own/fw_own in mt7615_mcu_ops a5602514ab03 mt76: mt7615: hold mt76 lock queueing wd in mt7615_queue_key_update 5c42061ce181 mt76: do not inject packets if MT76_STATE_PM is set ae4757a0ae90 mt76: mt7615: reschedule runtime-pm receiving a tx interrupt c4544d1e8a1a mt76: mt76s: fix oom in mt76s_tx_queue_skb_raw dc73103874cc mt76: mt76s: move tx processing in a dedicated wq c828c84cb134 mt76: mt7663s: move rx processing in txrx wq 2b34f2f6b0ef mt76: mt76s: move status processing in txrx wq f957b050d848 mt76: mt76s: move tx/rx processing in 2 separate works 6fe964295bd9 mt76: mt76s: get rid of unused variable 43d6127d8851 mt76: mt7915: enable U-APSD on AP side 58774b605f1c mt76: set interrupt mask register to 0 before requesting irq 06f722d8046c mt76: mt7915: clean up and fix interrupt masking in the irq handler 2fbd6baac103 mt76: mt7615: only clear unmasked interrupts in irq tasklet 5ea8b6187da2 mt76: mt76x02: clean up and fix interrupt masking in the irq handler f2e71f0c1b7e mt76: mt7615: do not do any work in napi poll after calling napi_complete_done() 1eb94624bb12 mt76: mt7915: do not do any work in napi poll after calling napi_complete_done() 5e0c587b9ac1 mt76: mt7915: clean up station stats polling and rate control update 9ab20dfbf7b1 mt76: mt7915: increase tx retry count fa69dd96f9c0 mt76: mt7915: enable offloading of sequence number assignment 9816f9812adb mt76: move mt76_check_agg_ssn to driver tx_prepare calls ad90170b0af9 mt76: mt7615: remove mtxq->agg_ssn assignment 335cd51be4c6 mt76: mt7915: simplify aggregation session check 21f7734cbb49 mt76: mt7915: add missing flags in WMM parameter settings 21182f90d947 mt76: mt7915: add Tx A-MSDU offloading support 27670514328f mt76: mt7615: use v1 MCU API on MT7615 to fix issues with adding/removing stations Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to 2020-07-22Felix Fietkau2020-08-061-5/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bc58ca2b375 mt76: add missing lock configuring coverage class 43febd452110 mt76: mt7615: fix lmac queue debugsfs entry 0b9975254694 mt76: mt7615: fix hw queue mapping 4058595e146e mt76: overwrite qid for non-bufferable mgmt frames 49c7131dd0c5 mt76: mt76x02: do not access uninitialized NAPI structs f185d90ec51c update mt7915 firmware to the latest version 0ed6a335ebc2 mt76: mt7615: re-enable offloading of sequence number assignment 2a52eabbddc5 mt76: usb: rely on mt76_for_each_q_rx 90fc1d8614e1 mt76: mt7663: introduce ARP filter offload b57223dd01b9 mt76: mt7615: fix up typo in Kconfig for MT7663U ec4057d685c0 mt76: add script for generating single-sku device tree data 769b030de636 mt76: add functions for parsing rate power limits from DT 1d2aedb248d0 mt76: extend DT rate power limits to support 11ax devices a3e17ff8e624 mt76: mt7615: implement support for using DT rate power limits a48a4ae32d48 mt76: allow more channels, allowed in ETSI domain 869ba618ef54 mt76: fix include in pci.h b1ddec840aa4 mt76: rely on register macros d6d9a7ea428d mt76: add U-APSD support on AP side ee13b78367db mt76: mt7615: fix EEPROM buffer size 82a94173b162 mt76: mt7915: add missing CONFIG_MAC80211_DEBUGFS c0dbbd930d32 mt76: mt7615: add .set_tsf callback 84d54df76996 mt76: mt7915: add a fixed AC queue mapping dacc2d29672d mt76: mt7915: add MU-MIMO support 1ce4660a0ea3 mt76: mt7915: use ieee80211_tx_queue_params to avoid open coded 53891242a682 mt76: mt7915: add support for DT rate power limits b3a4d78914f6 mt76: mt7915: rework the flow of txpower setting c6ea163c019b mt76: mt7915: directly read per-rate tx power from registers 8ae83adc73a8 mt76: mt7915: overwrite qid for non-bufferable mgmt frames 740b0bfdf279 mt76: mt76x2e: rename routines in pci.c b5eee1b52234 mt76: mt7615: schedule tx tasklet and sta poll on mac tx free 72f34107248e mt76: mt7615: add support for accessing mapped registers via bus ops 46bc8a0b5347 mt76: mt7615: add support for accessing RF registers via MCU 882cec420609 mt76: mt7615: use full on-chip memory address for WF_PHY registers b1ddb8e35ca2 mt76: vif_mask to struct mt76_phy 3a1ea7287eb2 mt76: add API for testmode support d7467bc018e5 mt76: mt7615: implement testmode support 3ea5da1639fe add utility for using testmode support 6789a2db7246 mt7615: fix getting wideband RSSI in test mode 7941217ffe46 mt76: mt7915: remove unused parameters in mt7915_puts_rate_txpower() 13ab1d648684 mt76: mt7915: update HE capabilities 3f0e66dc25de mt76: mt76x2: fix pci suspend/resume on mt7612e c605f2b6940b mt76: mt76x2u: enable HC-M7662BU1 ca2b797ee52d mt76: mt7915: avoid memcpy in rxv operation dad3f93e8f6a mt76: mt7615: avoid polling in fw_own for mt7663 ec303bfad299 mt76: move mt76 workqueue in common code 0bf82270568a mt76: mt7615: add mt7615_pm_wake utility routine 091e9b5df6af mt76: mt7615: introduce mt7615_mutex_{acquire,release} utilities e3850966d74c mt76: mt7615: wake device before accessing regmap in debugfs e6dcb71d7992 mt76: mt7615: wake device before configuring hw keys 050f8cd9cbe7 mt76: mt7615: introduce pm_power_save delayed work 56779a6c7dec mt76: mt7615: wake device in mt7615_update_channel before access regmap b0bcdd66ccaa mt76: mt7615: acquire driver_own before configuring device for suspend 58369fdce235 mt76: mt7615: wake device before performing freq scan 2c188db1f7c7 mt76: mt7615: add missing lock in mt7615_regd_notifier 6fdb20a025eb mt76: mt7615: run mt7615_mcu_set_wmm holding mt76 mutex 36a789c00e4f mt76: mt7615: run mt7615_mcu_set_roc holding mt76 mutex b8cdce45c131 mt76: mt7615: wake device before pulling packets from mac80211 queues 82e8e0525d6c mt76: mt7615: wake device before pushing frames in mt7615_tx 65ccc40c14e1 mt76: mt7615: run mt7615_pm_wake in mt7615_mac_sta_{add,remove} 2107caf92e71 mt76: mt7615: check MT76_STATE_PM flag before accessing the device 28a2f5fa6eed mt76: mt7615: do not request {driver,fw}_own if already granted 94519eac69c3 mt76: mt7615: add runtime-pm knob in mt7615 debugfs ccc90dafea66 mt76: mt7615: enable beacon hw filter for runtime-pm 29f2bebe1a1e mt76: mt7615: add idle-timeout knob in mt7615 debugfs 58057d1f232b mt76: mt7615: improve mt7615_driver_own reliability a873b7c8e3de mt76: mt7663u: sync probe sampling with rate configuration b469c59c616c mt76: mt7615: avoid scheduling runtime-pm during hw scan f1ff52acb6a7 mt76: mt7615: reschedule ps work according to last activity 1f670a534451 mt76: mt7663u: fix memory leak in set key afff00ad2b60 mt76: mt7663u: fix potential memory leak in mcu message handler 4c9309f47ddf mt76: mt7615: fix potential memory leak in mcu message handler 379445b4aa7f mt76: mt7915: potential array overflow in mt7915_mcu_tx_rate_report() 750797b61ba8 mt76: fix copy&paste error in mt76_testmode_cmd f9a7a2f7dbc2 testmode: fix setting tx_power 1641aa201682 mt76: mt7615: fix mt7615_mcu_set_test_param set non-bool parameters 6838d002f9de mt76: mt7615: fix tx_frames setup 8c0a25d6a38c mt76: mt7615: take into account sdio bus configuring txwi c0cbef79eb45 mt76: mt76u: add mt76_skb_adjust_pad utility routine 98412356c959 mt76: mt7615: sdio code must access rate/key regs in preocess context fa16627d7e3a mt76: mt7615: introduce mt7663-usb-sdio-common module bf88e70c7a68 mt76: introduce mt76_sdio module aa97be8e02de mt76: mt7615: introduce mt7663s support 1eb8b7d689a3 mt76: testmode: fix tx_done accounting on enqueue failures 632ce698e8ee mt76: mt7615: fix antenna settings for test mode 4d2f622190b6 mt76: mt76s: move queue accounting in mt76s_tx_queue_skb 9a3723c8febc mt76: mt7915: fix potential memory leak in mcu message handler 88fa973f59c2 mt76: mt7615: fix possible memory leak in mt7615_mcu_wtbl_sta_add 2fff7d77befd mt76: mt76u: add missing release on skb in __mt76x02u_mcu_send_msg b5df0fbb1847 mt7615: update firmware to version 20200629 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: enable hostapd 802.11ax support if kmod-mt7915e is selectedFelix Fietkau2020-06-101-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version (adds 7663e, 7663u, 7915 drivers)Felix Fietkau2020-05-311-10/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7aabfd0c9282 mt7615: add CONFIG_MT76_LEDS to cflags 10a5b7630a37 mt76: mt7615: fix getting maximum tx power from eeprom 8688ed70c987 mt76: mt7615: use module parameter option for offload firmware preference 04798aab1257 net: mt7603: remove duplicate error message 9636177117d8 mt76: mt7615: fix ssid configuration in mt7615_mcu_hw_scan d4ba139d8b8b mt76: mt7615: introduce mt7615_check_offload_capability routine 2cc0d54b65a1 mt76: mt7615: do not mark sched_scan disabled in mt7615_scan_work 5b73be962388 mt76: mt7615: add passive mode for hw scan 96e429e18174 mt76: mt7615: free pci_vector if mt7615_pci_probe fails 8fddbf6390ac mt76: mt7615: introduce support for hardware beacon filter f2c760177bdd mt76: mt7615: introduce mt7615_mcu_set_hif_suspend mcu command db454605106f mt76: mt7615: add WoW support 20b87321c39f mt76: mt7663u: introduce suspend/resume to mt7663u 20db7e73c586 mt76: mt7615: introduce PM support 523716bba561 mt76: mt7615: add gtk rekey offload support 50d377a825cc mt76: mt7615: introduce beacon_loss mcu event 4ef1957cea35 mt76: mt7663: read tx streams from eeprom f25a43cc53e7 mt76: mt7615: check return value of mt7615_eeprom_get_power_index 0a9f71652927 mt76: mt7615: fix ibss mode for mt7663 83f2ba3101b4 mt76: mt7663: fix target power parsing 3e6968593b61 mt76: mt7615: fix delta tx power for mt7663 c1d3ad194ae4 mt76: mt7663: introduce WoW with net detect support 891136ab99da mt76: mt7663: add support to sched scan with randomise addr 82e4d3ebe967 mt76: mt7615: scan all channels if not specified 690b84821cd3 mt76: avoid rx reorder buffer overflow f0117d3107b4 mt76: add support for HE RX rate reporting cc68782bab1a mt76: add Rx stats support for radiotap 3ec47f2fba61 mt76: adjust wcid size to support new 802.11ax generation 0a9f4173dd07 mt76: add HE phy modes and hardware queue c6b002bcdfa6 mt76: add mac80211 driver for MT7915 PCIe-based chipsets b96af5039581 mt76: mt7915: enable Rx HE rate reporting 230054096155 mt76: mt7915: implement HE per-rate tx power support c8f4b6cf1add mt76: mt7915: register per-phy HE capabilities for each interface de1e8af96e19 mt76: mt7915: add HE bss_conf support for interfaces 135a5085932b mt76: mt7915: add HE capabilities support for peers 3b5d908dae2f mt76: mt7915: add Rx radiotap header support 158253e2c11e mt76: mt7915: add .sta_add_debugfs support 7f40e8c2b98d mt76: mt7915: add .sta_statistics support a5368e5cad11 mt76: mt7915: set peer Tx fixed rate through debugfs 4f79c516be5c mt76: mt7915: add tsf related callbacks 509fceb43235 mt76: mt7915: enable firmware module debug support 56405976fc7b mt76: set runtime stream caps by mt76_phy 6bbf1a35c0da linux-firmware: add rebb firmware for mt7663 d7a10094c4e5 mt7663: add client offload firmware 9200732e8534 mt76: mt7663u: copy key pointer in mt7663u_mac_write_txwi 3aa810bde810 mt76: mt7663u: add missing register definitions e236ea5be344 mt76: mt7615: usb: cancel ps work stopping the vif 1d0903de2131 mt76: mt7915: introduce mt7915_get_he_phy_cap 095c72c81c74 mt76: mt7915: add Tx beamformer support 5f9e7664cd26 mt76: mt7915: add Tx beamformee support ac505404c385 mt76: mt7915: add TxBF capabilities 6656bebd39cd mt76: mt7915: add debugfs to track TxBF status 9590db025475 mt76: mt7915: allocate proper size for tlv tags 26eb1ed65987 mt76: mt7915: fix possible deadlock in mt7915_stop f85c1f3fc189 firmware: add mt7915 firmware 9b07251b00b0 mt76: mt7615: fix typo defining ps work 060e375a9244 mt76: fix per-driver wcid range checks after wcid array size bump 7270b56389a9 mt76: mt7615: do not report scan_complete twice to mac80211 8c9e4847d01e mt76: mt7615: reduce hw scan timeout 8bd88a1b1880 mt76: enable p2p support 1ea444d0e8e5 mt76: mt7615: configure bss info adding the interface fa81da5bb4e9 mt76: mt7615: introduce remain_on_channel support 44f2262c0289 mt76: mt76x02: remove check in mt76x02_mcu_msg_send 7005aa891440 mt76: mt7915: add spatial reuse support 1e3dc5b76649 mt76: mt7915: fix some sparse warnings 01b784174cd5 mt76: mt7915: fix sparse warnings: incorrect type initializer 40b7b5354a16 mt76: mt7615: fix NULL pointer deref in mt7615_register_ext_phy 6d731d188d31 mt76: mt7915: fix decoded radiotap HE flags b74d5b1c14cf mt76: mt7915: fix some sparse warnings 6679d35be5cc mt76: mt7615: switch to per-vif power_save support 01e870b44769 mt76: mt7915: fix a handful of spelling mistakes 7b2d16655904 mt76: mt7663: fix the usage WoW with net detect support ed3a244fb647 mt76: mt7915: Fix build error 5396a61cec99 mt76: mt7615: fix hw_scan with ssid_type for specified SSID only 466a5b4d041d mt76: mt7915: fix possible NULL pointer dereference in mt7915_register_ext_phy 984a172609c0 mt76: fix wcid allocation issues 6e02acddcb1a mt76: mt7615: add support for MT7611N 4e6f4e432d0d mt76: only iterate over initialized rx queues 9ad940fee593 mt76: mt7615: Use kmemdup in mt7615_queue_key_update() 85c516081338 mt76: mt7915: remove set but not used variable 'msta' Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-04-272-33/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bef8f8a5966d mt76: mt7615: remove a stray if statement 89bd7199487f mt76: remove variable 'val' set but not used ee8ac234b84e mt76: mt7615: introduce mt7615_mcu_fill_msg 4999db4668f0 mt76: mt7615: introduce mt7615_mcu_wait_response 8ce6e40eba03 mt76: mt7615: cleanup fw queue just for mmio devices 9d1d2ee9add3 mt76: mt7615: introduce mt7615_init_device routine 7fbd2a57cea4 mt76: always init to 0 mcu messages 3b277cf18d95 mt76: mt7615: introduce mt7615_mcu_send_message routine 2a4132a55a4f mt76: mt7615: add mt7615_mcu_ops data structure 9ba71749a122 mt76: mt7615: move mt7615_mcu_set_bmc to mt7615_mcu_ops 2e991f3e8cdd mt76: mt7615: move mt7615_mcu_set_sta in mt7615_mcu_ops 56852057cb90 mt76: mt7615: rely on skb API for mt7615_mcu_set_eeprom 642ecd978887 mt76: mt7615: rework mt7615_mcu_set_bss_info using skb APIs 2b0810af4a52 mt76: mt7615: move more mcu commands in mt7615_mcu_ops data structure 7a6285e63d88 mt76: mt7615: introduce MCU_FW_PREFIX for fw mcu commands e536b42ebc7d mt76: mt7615: introduce mt7615_register_map fccbdb628ffd mt76: mt7615: add mt7663e support to mt7615_reg_map d42244e9255c mt76: mt7615: add mt7663e support to mt7615_{driver,firmware}_own aebbe088127f mt76: mt7615: add mt7663e support to mt7615_mcu_set_eeprom 28e22d07f892 mt76: mt7615: introduce mt7615_eeprom_parse_hw_band_cap routine 167428592647 mt76: mt7615: introduce mt7615_init_mac_chain routine 23ca7acfc856 mt76: mt7615: introduce uni cmd command types c4171728cf70 mt76: mt7615: introduce set_bmc and st_sta for uni commands 9e5c76d2310a mt76: mt7615: add more uni mcu commands 779b2cebc147 mt76: mt7615: introduce set_ba uni command 21ee7da00f0a mt76: mt7615: get rid of sta_rec_wtbl data structure 2097f74f664c mt76: mt7615: introduce mt7663e support 8e9cd01228d0 mt7615: sync Kconfig with upstream 3b4f93840950 mt76: add memory barrier to DMA queue kick 8d301ace8ed7 mt76: mt7615: fix mt7663e firmware struct endianness 9bc1850ce711 mt76: mt7615: fix endianness in unified command a1b9b7d94aa0 mt76: mt7615: add missing declaration in mt7615.h 6e4b2a709fe7 mt76: sync Makefile with upstream 258dfb6afb30 mt76: mt76x02u: Add support for newer versions of the XBox One wifi adapter 9c3d84b62cc0 mt76: mt76x2u: introduce Mercury UD13 support ea8ea71933ca mt76: mt76x0: pci: add mt7610 PCI ID 9d555f82d329 mt76: mt7615: modify mt7615_ampdu_stat_read for each phy 8bd26d6c3172 mt76: mt7615: enable aggr_stats for both phy 1315afa511e0 mt76: mt7615: cleanup mib related defines and structs 072b50c61e0e mt76: mt7615: add more useful Tx mib counters b23ff3e9343a mt76: mt7663: fix mt7615_mac_cca_stats_reset routine 294abe47c9b2 mt76: mt7663: enable nf estimation d2d7bf2243f6 mt76: mt7615: make scs configurable per phy 908a2cfab88f mt76: mt7663: disable RDD commands eaef0a268b95 mt76: mt7615: add ethool support to mt7663 driver 96e07ef1113d mt76: mt7615: introduce mt7615_mcu_set_channel_domain mcu command 67182f36e3be mt76: mt7663: keep Rx filters as the default e6a3f3ffe53a mt76: mt7615: introduce hw scan support 12ecd5ba2146 mt76: mt7615: introduce scheduled scan support f6ab0bee3172 mt76: mt7615: introduce BSS absence event f208a9430044 mt76: mt7615: introduce rlm tlv in bss_info mcu command ea4f4d216dbe mt76: mt7615: remove unnecessary register operations 72c9380e70f9 mt76: add headroom and tailroom to mt76_mcu_ops data structure 63e14669e09d mt76: mt7615: introduce mt7663u support to mt7615_write_txwi 29d359ac7626 mt76: mt7615: introduce mt7615_mac_update_rate_desc routine 1f1dd2cb5b49 mt76: mt7615: introduce __mt7663_load_firmware routine cb6dcfd3cf13 mt76: mt7615: move mt7615_mac_wtbl_addr in mac.h d28e8e7ef912 mt76: mt76u: rely on mt7622 queue scheme for mt7663u f78cf8957aba mt76: mt7615: rework wtbl key configuration 2829497aaaf5 mt76: mt7615: introduce mt7615_wtbl_desc data structure 02c9ec4a15e7 mt76: mt7615: add address parameter to mt7615_eeprom_init e9c640c0a79e mt76: mt7663: correct the name of the rom patch 1e8b2fe5ab03 mt76: mt7615: do not always reset the dfs state setting the channel ec0ea46dacf9 mt76: mt7615: Delete an error message in mt7622_wmac_probe() d16a4698f1ac mt76: mt7615: disable merge of OTP ROM data by default 2b58998bb594 mt76: mt7615: add support for applying DC offset calibration from EEPROM 55198aafb756 mt76: mt7615: add support for applying tx DPD calibration from EEPROM 5a1eaa38d380 mt76: mt7603: disable merge of OTP ROM data by default bf60f43b12fb mt76: mt76x2: disable merge of OTP ROM data by default 9406eb1d110f mt76: mt7615: fix endian issues in applying flash calibration data 66d00b8c9dac mt76: mt7615: fix possible division by 0 in mt7615_mac_update_mib_stats 25d812dddcf8 mt76: mt7663: fix aggr range entry in debugfs 08b8bd2bc915 mt76: mt7615: disable hw/sched scan ops for non-offload firmware 8fb1cd20a776 mt76: mt7615: set hw scan limits only for firmware with offload support 05b23d7478fe mt76: mt7615: rework IRQ handling to prepare for MSI support b92c0d576769 mt76: mt7622: fix DMA unmap length 03daa60ca69c mt76: mt7663: fix DMA unmap length 5f2f676b1f01 mt76: mt7615: enable MSI by default 5822911f8026 mt76: remove unnecessary annotations a7035bce8517 mt76: mt7615: fix possible deadlock in mt7615_stop d4e6e225bc06 mt76: mt7615: move core shared code in mt7615-common module 94827d2033c7 mt76: mt7615: introduce mt7663u support 36591dd35f91 mt76: mt7615: enable scs for mt7663 driver bd80144cb5be mt76: mt7615: disable aspm by default 9dcb60b78ede mt76: mt7615: provide aid info to the mcu 6e443e89cce2 mt76: remove PS_NULLFUNC_STACK capability ea133325faa6 mt76: mt7663: introduce 802.11 PS support in sta mode ff3869b38cf2 mt76: mt7615: make Kconfig entry obvious for MT7663E 01fd34f3a6c5 mt76: mt7615: fix sta ampdu factor for VHT e5adbb2077e2 mt76: fix A-MPDU density handling d73e3a23a54e mt76: mt7615: use larger rx buffers if VHT is supported 257319e9b07d mt76: mt7615: never use an 802.11b CF-End rate on 5GHz 29a92c5606d6 mt76: mt7603: never use an 802.11b CF-End rate on 5GHz c0b19ac97c07 mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values 1656882f2723 mt76: mt7615: do not adjust MAC timings if the device is not running 4e7ce907faf3 mt76: mt7615: fix tx status rate index calculation 8304b3866100 mt76: mt7603: fix tx status rate index calculation 722d1f47d8ba mt76: add rx queues info to mt76 debugfs da329ef776b0 mt76: mt7615: parse mcu return code for unified commands facf74fd506f mt76: mt7615: fix mt7615_firmware_own for mt7663e e910787a9888 mt76: mt7615: fix max wtbl size for 7663 c9821f7d6a8c mt76: mt7615: fix mt7615_driver_own routine e35cc532c3d2 mt76: mt7615: fix aid configuration in mt7615_mcu_wtbl_generic_tlv b6cb91a71fe1 mt76: mt7615: rework mt7615_mac_sta_poll for usb code b193dd8100f8 mt76: mt7663u: enable AirTimeFairness 31cffa98920f mt76: mt7615: move mcu bss upload before creating the sta cde3716aa47e mt76: enable TDLS support 1846da5dd417 mt76: mt7615: set spatial extension index 6aaf0299730f mt76: mt7615: fix endian issues in dcoc/txdpd calibration 5de75b745cf9 mt76: mt7663: fix up BMC entry indicated to unicmd firmware a5f394c5ca48 mt76: mt7615: add sta pointer to mt7615_mcu_add_bss_info signature 1f2f3dda76b9 mt76: mt7615: fix event report in mt7615_mcu_bss_event c2a3cced36de mt76: mt76x0: enable MCS 8 and MCS9 1afabe78cfc5 mt76: mt7663: add the possibility to load firmware v2 5f3ccc722627 mt76: mt7663: remove check in mt7663_load_n9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* packages: mt76: add 14c3:7610 pci id to listPawel Dembicki2020-04-082-1/+31
| | | | | | | | | | This commit add patch with 14c3:7610 pci id addition. It was sent upstream. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> [bumped PKG_RELEASE] Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mt76: update to the latest versionFelix Fietkau2020-03-111-3/+3
| | | | | | a94e43f277e2 mt76: mt76x02: reset MCU timeout counter earlier in watchdog reset Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-02-251-3/+3
| | | | | | | | 0a53dcda5203 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power 46e63c05f7d1 mt76: mt7603: enable dynamic sensitivity adjustment by default 81476f11b68c mt76: mt7615: fix antenna mask initialization in DBDC mode Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: replace SUBDIRS with M in package recipesTomasz Maciej Nowak2020-02-221-1/+1
| | | | | | | The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* mt76: update to the latest versionFelix Fietkau2020-02-201-3/+3
| | | | | | | | f4415afce213 mt76: mt76u: loop over all possible rx queues in mt76u_rx_tasklet 5b9f949cb760 mt76: mt76u: fix a possible memory leak in mt76u_init fd892bc033fb mt76: mt76u: rely only on data buffer for usb control messagges Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-02-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | bd0df1b017a8 mt76: avoid extra RCU synchronization on station removal d5a5e97b67c7 mt76: mt76x2: avoid starting the MAC too early a67e42990d8a mt76: mt7615: fix msdu_id endianness in mt7615_write_hw_txp d3af8bd3c722 mt76: mt7615: set proper length in strncmp 9c43417db17c mt76: mt7615: fix max_nss in mt7615_eeprom_parse_hw_cap 764e1d208a06 mt76: mt7615: fix tx power reporting 1881241c7ee5 mt76: fix rounding issues on converting per-chain and combined txpower fa14e7f33199 mt76: mt7615: rework rx phy index handling a205ce3e3e2d mt76: mt7615: fix ext_phy flag for stations 457a93203690 mt76: mt7615: fix MT_TX_HW_QUEUE_EXT_PHY to deal with mac80211 changes c75cf513c674 mt76: do not set HOST_BROADCAST_PS_BUFFERING for mt7615 cc56c400167c mt76: fix LED link time failure 4dbd56b86970 mt76: mt76x0u: add support to TP-Link T2UHP e226309c4bc4 mt76: mt7615: rely on mt76_queues_read for mt7622 c6a025318075 mt76: mt76u: extend RX scatter gather number dfc24bc504e3 mt76: mt76u: rename stat_wq in wq 2bbffd2cb37b mt76: mt7615: remove rx_mask in mt7615_eeprom_parse_hw_cap f408a2b7566c mt76: Introduce mt76_mcu data structure 17ecf0762542 mt76: mt76x02: fix handling MCU timeouts during hw restart 284e9fd72912 mt76: mt7615: fix monitor injection of beacon frames 8f8e9161b355 mt76: fix array overflow on receiving too many fragments for a packet Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-02-021-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f33a1e936fd mt76: mt7615: report firmware log event messages 43db699b1ad8 mt76: mt7615: increment the MAC address of the secondary PHY (DBDC) 161d1c73c62a mt7615: use local MAC address for the second PHY 9453dbe921b9 mt76: set dma-done flag for flushed descriptors 65745c5ac503 mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw 14f37f8d86eb mt76: dma: do not write cpu_idx on rx queue reset until after refill 99ce68625473 mt76: mt7603: increase dma mcu rx ring size 62c447e2c75f mt76: enable Airtime Queue Limit support 1c258940d818 mt76: mt7615: report TSF information 2d22ef618712 mt76: mt7615: add per-phy mib statistics 8d690f3bfbc4 mt76: mt7615: add a get_stats() callback b06177ce387c mt76: move dev_irq tracepoint in mt76 module 5ac9889c33f1 mt76: move mac_txdone tracepoint in mt76 module 7801ebd775e3 mt76: mt7615: add tracing support fd877a17cc0a mt76: mt76x2: get rid of leftover target 039471502578 mt76: mt7615: initialize radar specs from host driver b208305e6275 mt76: mt7615: fix endianness in mt7615_mcu_set_eeprom fd1fa6860666 mt76: move WIPHY_FLAG_HAS_CHANNEL_SWITCH in mt76_phy_init c94afbe3d70a mt76: mt7615: remove leftover routine declaration 29fec3a9b0b4 mt76: rely on mac80211 utility routines to compute airtime 2bb518752b3f mt76: mt76x02u: avoid overwrite max_tx_fragments a0f1ff0473b5 mt76: mt76u: check tx_status_data pointer in mt76u_tx_tasklet a5dca118bf40 mt76: mt76u: add mt76u_process_rx_queue utility routine 06caaf0d33b4 mt76: mt76u: add mt76_queue to mt76u_get_next_rx_entry signature cf8e2590e46b mt76: mt76u: add mt76_queue to mt76u_refill_rx signature 0077b30ce2c8 mt76: mt76u: use mt76_queue as mt76u_complete_rx context 06d466b86981 mt76: mt76u: add queue id parameter to mt76u_submit_rx_buffers 580ddd175eee mt76: mt76u: move mcu buffer allocation in mt76x02u drivers acc227e14d95 mt76: mt76u: introduce mt76u_free_rx_queue utility routine aa28404bf287 mt76: mt76u: stop/free all possible rx queues 885fe4a29bb9 mt76: mt76u: add mt76u_alloc_rx_queue utility routine c85dec848303 mt76: mt76u: add queue parameter to mt76u_rx_urb_alloc ca7991699109 mt76: mt76u: resume all rx queue in mt76u_resume_rx e2a39697fb0a mt76: mt76u: introduce mt76u_alloc_mcu_queue utility routine 39fb59ce927b mt76: mt76u: add {read/write}_extended utility routines 8c6cf328eb1f mt76: mt76u: take into account different queue mapping for 7663 e742618fc5ce mt76: mt76u: introduce mt76u_skb_dma_info routine 23b3328e52fe mt76: mt76u: add endpoint to mt76u_bulk_msg signature 82bedb294534 mt76: mt76u: introduce MT_DRV_RX_DMA_HDR flag 2db2bab099d0 firmware: update mt7615 N9 firmware to 20200107155603 60e27689603d firmware: update MT7615 CR4 firmware to 20190121161307 d15a4bbb3f69 mt76: mt7615: add __aligned(4) to txp structs 1c4ff4f2dc7f mt76: mt7615: move mmio related code from pci.c to mmio.c 51b1eb7a4902 mt76: mt7615: split up firmware loading functions f84b590b6454 mt76: mt7615: store N9 firmware version instead of CR4 92bafd4b1bfc mt76: mt7615: fix MT_INT_TX_DONE_ALL definition for MT7622 13a4269a1bfa mt76: mt7615: add dma and tx queue initialization for MT7622 ab94a85efb18 mt76: mt7615: add eeprom support for MT7622 f0b02d8115b0 mt76: mt7615: add calibration free support for MT7622 fd3ae9a342ae mt76: mt7615: disable 5 GHz on MT7622 80d3681b404d mt76: mt7615: implement probing and firmware loading on MT7622 79808e62324e mt76: mt7615: implement DMA support for MT7622 bddcbb25cd0e mt76: mt7615: decrease rx ring size for MT7622 6cd5c381eaee mt76: mt7615: disable DBDC on MT7622 f66b480434e9 mt76: mt7615: add Kconfig entry for MT7622 68f38eea39b5 firmware: add firmware for MT7622 built-in WiFi 7882bbd25c38 mt76: mt7615: fix and rework tx power handling 0f06914acfb4 mt76: mt7615: implement hardware reset support db97358df47e mt76: mt7615: add support for testing hardware reset b9d9f91b1522 mt76: mt7615: fix adding active monitor interfaces fd216cb5b2f9 mt76: mt7615: fix monitor mode on second PHY 269de7c22957 firmware: fix version number for upcoming mt7615 mcu v2 support patches 9f8c6c4a20b4 mt76: mt7615: simplify mcu_set_bmc flow ff32af25f83e mt76: mt7615: simplify mcu_set_sta flow f16433cd7889 mt76: mt7615: add a helper to encapsulate sta_rec operation 77b9d8586307 mt76: mt7615: add starec operating flow for firmware v2 170b21f9ec78 mt76: mt7615: use new tag sta_rec_wtbl 648ce1aaa493 mt76: mt7615: switch mt7615_mcu_set_tx_ba to v2 format 721673759d82 mt76: mt7615: switch mt7615_mcu_set_rx_ba to v2 format Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionDavid Bauer2020-01-031-3/+3
| | | | | | 38f4c57 mt76: mt76x0: fix default mac address overwrite Signed-off-by: David Bauer <mail@david-bauer.net>
* mt76: update to the latest versionFelix Fietkau2019-12-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a0a19168dce mt7603: remove vif sta from poll list on interface remove dc14ac64e7f3 mt7615: remove vif sta from poll list on interface remove d868638fdd96 mt76: remove obsolete .add_buf() from struct mt76_queue_ops 50b1e9bd25cd mt76: refactor cc_lock locking scheme 1987b741dac2 mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate c93a2d1c1304 mt76: mt76x02u: update ewma pkt len in mt76x02u_tx_prepare_skb 58e1e969f03e mt76: mt7615: remove unneeded semicolon c14d6563c492 mt76: mt76x2e: disable pcie_aspm by default f2be00b1011a mt76: dma: fix buffer unmap with non-linear skbs 20f05897873a mt76: mt76u: rely on usb_interface instead of usb_dev 3cbaf81a185e mt76: mt76u: rely on a dedicated stats workqueue ea19cd7ac6c6 mt76: Remove set but not used variable 'idx' a85c06cec844 mt76: use mt76_dev in mt76_is_{mmio,usb} e0731a82a14f mt76: move SUPPORTS_REORDERING_BUFFER hw property in mt76_register_device cfdb75124e7c mt76: mt7615: add ibss support e2f90adcc3b1 mt76: move interface_modes definition in mt76_core module 5dfb0ec9c6d1 mt76: mt7615: disable radar pattern detector during scanning 7121e163c068 mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs db78ee08d95e mt76: move mt76_get_antenna in mt76_core module faf5e6fedd7e mt76: mt7615: read {tx,rx} mask from eeprom 44825e88a42d mt76: use rcu_read_lock_bh in mt76_dma_rx_poll af83ee8de928 mt76: move initialization of some struct members to mt76_alloc_device 6493e234b40d mt76: introduce struct mt76_phy ea46624355ec mt76: add support for an extra wiphy in the rx path c5f1e83e30d4 mt76: add support for an extra wiphy in the main tx path 1d8011871458 mt76: add support for an extra wiphy in the tx status path e5e755a7a6b0 mt76: add support for an extra wiphy in mt76_sta_state() ee36c8e2170f mt76: move channel state to struct mt76_phy d246beb23350 mt76: keep a set of software tx queues per phy a3e88bcf17e8 mt76: move state from struct mt76_dev to mt76_phy 9cda51d195db mt76: move chainmask back to driver specific structs df74d6993383 mt76: move txpower_conf back to driver specific structs 9e95fa6208a2 mt76: move txpower and antenna mask to struct mt76_phy 502d09a6e806 mt76: add multiple wiphy support to mt76_get_min_avg_rssi 842cae558b82 mt76: add priv pointer to struct mt76_phy 8ca04846857b mt76: add function for allocating an external wiphy 04cd17a64520 mt76: add ext_phy field to struct mt76_wcid 1c8d69e7d666 mt76: move ampdu_ref from mt76_dev to driver struct e6659d12d01e mt76: mt7615: add dual-phy support for mac80211 ops e5ea72ac7158 mt76: mt7615: add multiple wiphy support for smart carrier sense bdcd45dd04e0 mt76: mt7615: add missing register init for dual-wiphy support 0954c37d015f mt76: mt7615: remove useless MT_HW_RDD0/1 enum 705a0fcdc3a5 mt76: mt7615: add multiple wiphy support to the dfs support code 849fefacc48a mt76: mt7615: rework chainmask handling caa47af1d6f2 mt76: mt7615: add multiple wiphy support to the rx path c5585a735864 mt76: mt7615: initialize dbdc settings on interface add 6265fd1954d7 mt76: mt7615: move radio/mac initialization to .start/stop callbacks 5725d1f919ff mt76: mt7615: select the correct tx queue for frames sent to the second phy 993683d62fb7 mt76: mt7615: add support for registering a second wiphy via debugfs 1456a53ddeb3 mt76: mt7615: update beacon contents on BSS_CHANGED_BEACON ea41ad8bdb36 mt76: mt7615: defer mcu initialization via workqueue 59de6c9447a7 mt7615: replace sta_state callback with sta_add/sta_remove 88db676f8517 mt76: fix rx dma ring descriptor state on reset fff2c07193bb Revert "mt76: use rcu_read_lock_bh in mt76_dma_rx_poll" b3bf83d6da1c mt76: disable bh in mt76_dma_rx_poll efcbee1d8bfc mt76: mt76x0u: do not reset radio on resume 5dc6f6fcc027 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 84554a1fbb9a kernel: fix typos and some coding style in comments a116b0a6afe9 mt76: fix possible undetected invalid MAC address becdec318fce mt76: Off by one in mt76_calc_rx_airtime() 683eb244fa55 mt76: mt7603: reset STA_CCA counter setting the channel 812692db171c mt76: eeprom: add support for big endian eeprom partition 8b362382b10c mt76: mt7615: Fix build with older compilers fc24815a2cb4 mt76: mt7615: report firmware version using ethtool 5cec93d57e6d mt76: mt76x02: fix coverage_class type 9354f0f41d1c mt76: mt7603: set 0 as min coverage_class value a589d095eeb6 mt76: mt7615: add set_coverage class support 257c19f5b56f mt76: clear skb pointers from rx aggregation reorder buffer during cleanup 05c87a33831f mt76: do not overwrite max_tx_fragments if it has been set 05fa07c667f3 mt76: use AC specific reorder timeout 3ef5f3444a94 mt76: mt7615: measure channel noise and report it via survey 726fd501651a mt76: mt7615: increase MCU command timeout 99d8cd03edfa mt76: mt7603: fix input validation issues for powersave-filtered frames 32129af2604d net/wireless: Delete unnecessary checks before the macro call “dev_kfree_skb” 85a8abf80385 mt76: mt76x02: omit beacon slot clearing 8b5d3615e1c8 mt76: mt76x02: split beaconing dc364547d91a mt76: mt76x02: add check for invalid vif idx 462a16e185e4 mt76: mt76x02: remove a copy call for usb speedup fa24aba4c280 mt76: speed up usb bulk copy 6a84ad21306e mt76: mt76x02: add channel switch support for usb interfaces 09fcbc214b10 mt76: usb: use max packet length for m76u_copy 584c0784e019 mt76: mt76x02u: do not set NULL beacons ca17e5657e8a mt76: mt76x02: minor mt76x02_mac_set_beacon optimization d5fdd2e7ced8 mt76: mt7615: fix MT7615_CFEND_RATE_DEFAULT value ae25a4bf99a9 mt76: mt7615: introduce LED support cd759b00cc06 mt76: mt76x02: simplify led reg definitions cf00467c5de4 mt76: mt7603: simplify led reg definitions 1c8e76f4de3e mt76: fix compilation warning in mt76_eeprom_override() 960f5cc2390b mt76: mt76u: fix endpoint definition order 15e1c29ed8e3 mt76: mt7615: add missing settings for simultaneous dual-band support e09b9f61eeb3 mt76: mt7615: rework set_channel function 4cb1195a1530 mt76: mt7615: add set_antenna callback Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "mt76: probe load mt7615 driver asynchronously"DENG Qingfang2019-11-301-1/+0
| | | | | | | | | | | | | This reverts commit 81764319637f ("mt76: probe load mt7615 driver asynchronously"). After said commit, users report that MT7615 no longer works on boot and they have to manually enable WiFi (via command "wifi") to make it working again. Fixes: FS#2546 Ref: https://forum.openwrt.org/t/xiaomi-r3p-no-wifi-on-boot/45509 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> [commit description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* mt76: update to the latest versionFelix Fietkau2019-10-101-3/+3
| | | | | | | | | | | | | 71c2ef0420b5 mt76: fix aggregation stop issue 5b02a078d4a7 mt76: add missing locking around ampdu action 7d8764d320cf mt76: avoid enabling interrupt if NAPI poll is still pending d94cc81d3980 mt76: drop rcu read lock in mt76_rx_aggr_stop c11a4ad06d9d mt76: mt76x0: eeprom: add support for MAC address from OF 01642d8bed33 mt76: mt76x02: fix use-after-free in tx status code handling airtime 391e1488f885 mt76: add sanity check for a-mpdu rx wcid index d3a589586d1b mt76: fix a-mpdu boundary detection issue for airtime reporting Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-09-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0167bfa7b277 mt76: make mt76_rx_convert static 1d2acd5639d7 mt76: mt76x0: remove redundant chandef copy 496c78e4f0d3 mt76: mt76x0: remove unneeded return value on set channel 67973788f47f mt76: mt7615: introduce mt7615_txwi_to_txp utility routine c7f82146ef96 mt76: mt7615: add support to read temperature from mcu e07407ac1279 mt7603: fix build with CONFIG_KERNEL_DYNAMIC_DEBUG=y 8739f87e9aeb mt76: mt7615: fix control frame rx in monitor mode 9c5df3cb6a6d mt76: remove aggr_work field from struct mt76_wcid 0efbc5d1c271 mt76: use cancel_delayed_work_sync in mt76_rx_aggr_shutdown 0308d75f28e4 mt76: remove empty flag in mt76_txq_schedule_list a20c20bbe88d mt76: usb: add lockdep_assert_held in __mt76u_vendor_request b140512e73bf mt76: mt76x0e: make array mt76x0_chan_map static const, makes object smaller 63e815254075 mt76: mt7615: enable SCS by default f3792b550fdb mt76: mt76x02: move mac_reset_counter in mt76x02_lib module 0355b7ae2b05 mt76: mt76x2: move mt76x02_mac_reset_counters in mt76x02_mac_start c39488772d6b mt76: mt76x0u: reset counter starting the device 0b01aceeeff8 mt76: mt76x02u: move mt76x02u_mac_start in mt76x02-usb module fbc59e64396e mt76: move queue debugfs entry to driver specific code 1118b5ea76be mt76: mt7615: add queue entry in debugfs 23e8aed3ac99 mt76: move aggr_stats array in mt76_dev 696c0fc5516a mt76: mt7615: collect aggregation stats 081926aa7b27 mt76: mt7603: collect aggregation stats ea3ab68c7589 mt76: mt7615: fix mt7615 firmware path definitions 1ddcadb72e96 mt76: mt7603: remove q_rx field from struct mt7603_dev 202776352b0a mt76: report rx a-mpdu subframe status b0429879eab2 mt76: rename mt76_driver_ops txwi_flags to drv_flags and include tx aligned4 a1d6891501a1 mt76: store current channel survey_state in struct mt76_dev f34b1ae42cd0 mt76: track rx airtime for airtime fairness and survey ee310307ad42 mt76: mt7603: track tx airtime for airtime fairness and survey fdf0163fd101 mt76: mt7603: switch to a different counter for survey busy time de118bb403d1 mt76: unify channel survey update code 3429cc7d36da mt76: mt76x02: move MT_CH_TIME_CFG init to mt76x02_mac_cc_reset 0e5050ee799c mt76: mt76x02: track approximate tx airtime for airtime fairness and survey 028071d9594c mt76: mt7615: report tx_time, bss_rx and busy time to mac80211 d91f7c1bcdf7 mt76: mt7615: fix survey channel busy time 2579122ba209 mt76: mt7615: introduce mt7615_mac_wtbl_update routine 81f2be0c459f mt76: mt7615: track tx/rx airtime for airtime fairness e7199f944793 mt76: enable airtime fairness 8f22de061129 mt76: do not use devm API for led classdev 6f7d0f503d10 mt76: fix use-after-free bug in airtime fairness code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: probe load mt7615 driver asynchronouslyFelix Fietkau2019-09-121-0/+1
| | | | | | It can take a long time to load the firmware Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-08-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <nbd@nbd.name>
* mt76: fix kernel Oops by updating to the latest versionPetr Štetiar2019-07-241-3/+3
| | | | | | | 75656a4590a3 net: wireless: support of_get_mac_address new ERR_PTR error Ref: https://github.com/openwrt/mt76/issues/299 Signed-off-by: Petr Štetiar <ynezz@true.cz>
* mt76: update to the latest versionFelix Fietkau2019-07-171-3/+3
| | | | | | 3d7f738 mt76: mt7615: add missing register initialization Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: revert an accidental leftover debug changeFelix Fietkau2019-07-131-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-07-121-3/+3
| | | | | | | | | | | | | | | | | | 8fc3e6e mt76: mt7615: fix using VHT STBC rates b21b991 mt76: mt7615: fix PS buffering of action frames 3d43dd8 mt76: mt7615: fix invalid fallback rates 0ce4682 mt76: mt7603: fix invalid fallback rates 3b08966 Revert "mt76: usb: use full intermediate buffer in mt76u_copy" 48800e7 Revert "mt76: usb: remove unneeded {put,get}_unaligned" 439354d Revert "mt76: usb: fix endian in mt76u_copy" 8c1da93 mt76: usb: fix endian in mt76u_copy 307be50 mt76: usb: remove unneeded {put,get}_unaligned 5d29829 mt76: mt76x02: use params->ssn value directly f74d117 mt76: mt7603: use params->ssn value directly 649f2e8 mt76: mt7615: use params->ssn value directly b647180 mt76: mt7615: unlock dfs bands Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-07-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6cafaca mt7603: use READ_ONCE instead of ACCESS_ONCE 9e2e0b8 mt76: round up length on mt76_wr_copy e378ef1 mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer 7991dd7 mt76: mt7615: introduce mt7615_regd_notifier 901a4c7 mt76: mt7615: add hw dfs pattern detector support 57c600e mt76: mt7615: do not perform txcalibration before cac is complited 6afc952 mt76: mt7615: add csa support 8919516 mt76: mt7615: add radar pattern test knob to debugfs 3be723c mt76: mt7615: clean up FWDL TXQ during/after firmware upload 47fe37e mt76: mt7615: fall back to sw encryption for unsupported ciphers bc5e041 mt76: mt7603: enable hardware rate up/down selection ae760db mt76: mt7615: move mt7615_mcu_set_rates to mac.c 2ae01f7 mt76: mt7615: reset rate index/counters on rate table update 6f98378 mt76: mt7615: sync with mt7603 rate control changes edbe88e mt76: usb: fix endian in mt76u_copy f43b622 mt76: usb: remove unneeded {put,get}_unaligned 5e1e5b7 mt76: usb: use full intermediate buffer in mt76u_copy 017d0ff mt76: mt76u: fix typo in mt76u_fill_rx_sg 2c0ccf1 mt76: mt7615: always release sem in mt7615_load_patch 0c6f1a2 mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine 3dfc1ee mt76: mt7615: fix sparse warnings: incorrect type in assignment (different base types) 9475320 mt76: mt7603: fix sparse warnings: warning: incorrect type in assignment (different base types) e07451d mt76: mt7615: fix sparse warnings: warning: cast from restricted __le16 b973bef mt7603: do not use tssi-off power value for mt7628 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, adds preliminary mt7615 supportFelix Fietkau2019-06-251-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3a2965 mt76x02: fix crash on device reset ffddb68 mt76x02u: check chip version on probe 7fc5f92 mt76x2u: remove duplicated entry in mt76x2u_device_table 61311d9 mt76: introduce mt76_free_device routine a7dfcf2 mt76: move mac_work in mt76_dev 334b4ce mt76: add mac80211 driver for MT7615 PCIe-based chipsets edb2a00 mt76: add unlikely() for dma_mapping_error() check 355c079 mt76: use macro for sn and seq_ctrl conversion 133bffb add firmware for MT7615E 49d9c1b mt76: usb: reduce locking in mt76u_tx_tasklet 3e371ca mt76: set txwi_size according to the driver value 5007326 mt76: add skb pointer to mt76_tx_info c47a568 mt76: dma: introduce skb field in mt76_txwi_cache 9029560 mt76: dma: add skb check for dummy pointer e9eea39 mt76: mt7615: use sizeof instead of sizeof_field 98c5359 Revert "mt76: fix potential deadlock on cancelling workqueues" bc9baa7 mt76x02u: remove bogus stop on suspend 6c1cab9 mt76usb: fix tx/rx stop 0e674c5 mt76x02: remove bogus mutex usage 59f7bb6 Revert "mt76: mt76x02: send no-skb tx status without holding the status lock" b0f2a30 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency 62054de mt76: mt7603: remove query from mt7603_mcu_msg_send signature e79d96a mt76: mt7603: use standard signature for mt7603_mcu_msg_send be8f039 mt76: mt7603: initialize mt76_mcu_ops data structure 9a9c656 mt76: introduce mt76_mcu_restart macro 980b91e mt76: mt7603: init mcu_restart function pointer a97db3f mt76: mt7603: run __mt76_mcu_send_msg in mt7603_mcu_send_firmware 151115f mt76: mt76x02: mt76x02_poll_tx() can be static 7391f98 mt76: fix endianness sparse warnings 6c06f73 mt76: mt7603: report firmware version using ethtool f06647e mt76: usb: use EP max packet aligned buffer sizes for rx f43fccf mt76: move beacon_int in mt76_dev 74ab2cf mt76: move beacon_mask in mt76_dev 23c2f94 mt76: add TX/RX antenna pattern capabilities 6e790e1 mt76: move pre_tbtt_tasklet in mt76_dev 7606c08 mt76: mt7603: enable/disable pre_tbtt_tasklet in mt7603_set_channel ff22eee mt76: do not enable/disable pre_tbtt_tasklet in scan_start/scan_complete 3157385 mt76: mt7603: dynamically alloc mcu req in mt7603_mcu_set_eeprom cc674e2 mt76: mt76x02: remove useless return in mt76x02_resync_beacon_timer 6b18427 mt76: move tx_napi in mt76_dev bce63c4 mt76: mt7603: use napi polling for tx cleanup 4afd89e mt76: mt7615: use napi polling for tx cleanup 2cb4683 mt76: move netif_napi_del in mt76_dma_cleanup b4ceb9f mt76: Fix a signedness bug in mt7615_add_interface() d00dc95 mt76: mt7615: Use after free in mt7615_mcu_set_bcn() 4e0ccc6 mt76: mt7615: Make mt7615_irq_handler static 0fd552a mt7615: mcu: simplify __mt7615_mcu_set_wtbl 50f7094 mt7615: mcu: simplify __mt7615_mcu_set_sta_rec 4434d04 mt7615: mcu: remove bss_info_convert_vif_type routine 083fbb9 mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc f61ca80 mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl 35bd12d mt7615: mcu: unify mt7615_mcu_add_wtbl_bmc and mt7615_mcu_del_wtbl_bmc f8f990b mt7615: mcu: remove unused parameter in mt7615_mcu_del_wtbl 965bca1 mt7615: remove query from mt7615_mcu_msg_send signature 9b9ca18 mt7615: remove dest from mt7615_mcu_msg_send signature 935b7e5 mt7615: mcu: remove skb_ret from mt7615_mcu_msg_send 2442db4 mt7615: mcu: unify __mt7615_mcu_set_dev_info and mt7615_mcu_set_dev_info 645bc45 mt7615: mcu: do not use function pointers whenever possible 40c4201 mt7615: mcu: remove unused structure in mcu.h a8834a2 mt7615: mcu: use standard signature for mt7615_mcu_msg_send 824d25c mt7615: initialize mt76_mcu_ops data structure d943427 mt7615: mcu: init mcu_restart function pointer c2211e4 mt7615: mcu: run __mt76_mcu_send_msg in mt7615_mcu_send_firmware cb63a06 mt76: mt7603: stop mac80211 queues before setting the channel c6aaa3a mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device 97609f3 mt76: mt7615: add static qualifier to mt7615_rx_poll_complete f9dadd2 mt76: mt7603: add debugfs knob to enable/disable edcca 89cda5d mt7603: fix reading target tx power from eeprom 77d0e33 mt76: fix setting chan->max_power f575da2 mt76: mt76x02: fix tx status reporting issues a5d18dc mt76: mt76x02: fix tx reordering on rate control probing without a-mpdu bd32a93 mt76: mt76x02: remove enable from mt76x02_edcca_init signature 18386ee mt76: mt76x2u: remove mt76x02_edcca_init in mt76x2u_set_channel da3514f mt76: mt76x2: move mutex_lock inside mt76x2_set_channel 0d4719c mt76: mt76x02: run mt76x02_edcca_init atomically in mt76_edcca_set fd5af73 mt76: mt76x02: fix edcca file permission a0f51f2 mt76: mt7615: do not process rx packets if the device is not initialized 753cdee mt76: mt7615: stop mcu first in mt7615_unregister_device 899efe7 mt76: move mt76_insert_ccmp_hdr in mt76-module 6960b6e mt76: mt7615: add support for mtd eeprom parsing 4bcb057 mt76: mt7615: select wifi band according to eeprom 866f2c6 mt76: generalize mt76_get_txpower for 4x4:4 devices 514fb04 mt76: mt7615: add the capability to configure tx power ced9d43 mt76: mt7615: init get_txpower mac80211 callback 8abd502 mt76: mt7615: rearrange locking in mt7615_config 5b9b62e mt76: move mt76_get_rate in mt76-module 661c7c8 mt76: Remove set but not used variables 'pid' and 'final_mpdu' f072c7b mt76: mt7615: enable support for mesh 28d9496 mt76: mt7615: fix slow performance when enable encryption 827b9ad mt76: mt7615: remove unused variable in mt7615_mcu_set_bcn 34eea14 mt76: mt7615: remove key check in mt7615_mcu_set_wtbl_key 2bfae5a mt76: usb: fix rx A-MSDU support b033532 mt76: usb: do not always copy the first part of received frames 3e7fc15 mt76x02: fix reporting of non-probing frames with tx status requested 0d5caea Revert "mt76: usb: do not always copy the first part of received frames" 335e8c6 Revert "mt76: usb: fix rx A-MSDU support" 47ddf4b mt76: revert support for TX_NEEDS_ALIGNED4_SKBS 0b6520b mt7603: rework and fix tx status reporting 539b679 mt7603: improve hardware rate switching configuration d86d6ef mt76x0: fix RF frontend initialization for external PA f476a14 mt76x02: fix endian issue in tx status reporting patch f8d0517 mt76: mt7615: simplify mt7615_mcu_set_sta_rec routine 73ff45f mt76: mt7615: add support for per-chain signal strength reporting 9b67ae6 mt76: mt7615: init per-channel target power 160fdc0 mt76: mt7615: take into account extPA when configuring tx power 2211d93 mt76: mt76x02u: fix sparse warnings: should it be static? 3750533 mt76: mt7615: fix incorrect settings in mesh mode c37c1ca mt76: mt7615: update peer's bssid when state transition occurs 9dd1089 mt76: mt76u: reduce rx memory footprint 0789f45 mt76: mt7615: remove cfg80211_chan_def from mt7615_set_channel signature 2dca431 mt76: move nl80211_dfs_regions in mt76_dev data structure 3386ccf mt76: mt76u: get rid of {out,in}_max_packet d680ab0 mt76: usb: fix rx A-MSDU support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: Remove support for kernel 3.18Hauke Mehrtens2019-05-031-1/+1
| | | | | | | | | | No target is using kernel 3.18 anymore, remove all the generic support for kernel 3.18. The removed packages are depending on kernel 3.18 only and are not used on any recent kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mt76: update to the latest versionFelix Fietkau2019-03-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2a18f5 mt76x02: introduce mt76x02_beacon.c 91ade88 mt76x02: add hrtimer for pre TBTT for USB 6370485 mt76x02: introduce beacon_ops 37af803 mt76x02u: implement beacon_ops 41d6190 mt76x02: generalize some mmio beaconing functions dcccc04 mt76x02u: add sta_ps 5ac5289 mt76x02: disable HW encryption for group frames e284cc2 mt76x02u: implement pre TBTT work for USB 77e56b8 mt76x02: make beacon slots bigger for USB d4c740f mt76x02u: add mt76_release_buffered_frames 65e6344 mt76: unify set_tim f720e49 mt76x02: enable AP mode for USB cf1838d mt76usb: change mt76u_submit_buf 16b2ccf mt76: remove rx_page_lock e1bfbeb mt76usb: change mt76u_fill_rx_sg arguments e9c0171 mt76usb: use usb_dev private data a4eb5db mt76usb: remove mt76u_buf redundant fileds 3f9b68d mt76usb: move mt76u_buf->done to queue entry 4a366bd mt76usb: remove mt76u_buf and use urb directly 0904bc4 mt76usb: remove MT_RXQ_MAIN queue from mt76u_urb_alloc 42f2899 mt76usb: resue mt76u_urb_alloc for tx 4d4d73a mt76usb: remove unneded sg_init_table 57309c7 mt76usb: allocate urb and sg as linear data 2e89721 mt76usb: remove queue variable from rx_tasklet 30a256a mt76x02: remove extra_tx_headroom (obsoleted by mac8211 skb aligning) ae166b0 Revert "mt76: mt7603: store software PN/IV in wcid" bf6e72d Revert "mt76: mt76x02: store software PN/IV in wcid" a11b673 mt76: fix tx power issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-03-231-3/+3
| | | | | | | | | | | | | 4d8c7e8 mt76: mt76x02: send no-skb tx status without holding the status lock 7e9e9ad mt76: mt7603: add missing initialization for dev->ps_lock 3a7e6bb mt76: fix potential deadlock on cancelling workqueues deacb8f mt76: fix using mac80211 tx skb header padding c9402eb mt76: use napi polling for tx cleanup 60e508e mt76: use readl/writel instead of ioread32/iowrite32 5912e8a mt7603: fix sequence number assignment 95a83cc mt7603: send BAR after powersave wakeup Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: improve the txq scheduling API to deal with driver buffered packetsFelix Fietkau2019-03-201-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-03-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00ac79d mt7603: fix initialization of max rx length 320af65 mt76: mt7603: use the correct hweight8() function bdee924 mt76: fix schedule while atomic in mt76x02_reset_state abcb544 mt76x02: do not enable RTS/CTS by default e97a209 mt76: remove mt76_queue dependency from tx_queue_skb function pointer ddd98f8 mt76: remove mt76_queue dependency from tx_prepare_skb function pointer 9bc2d56 mt76: remove mt76_queue dependency from tx_complete_skb function pointer 06c917f mt76: introduce mt76_sw_queue data structure 2dc63b0 mt76: introduce mt76_txq_id field in mt76_queue_entry 312f6fc mt76: remove irqsave/restore in locking for tx status fifo 0fe6386 mt76: move mt76x02_insert_hdr_pad in mt76-core module efe9a47 mt76: mmio: move mt76_insert_hdr_pad in mt76_dma_tx_queue_skb 0b03f87 mt76: move skb dma mapping before running tx_prepare_skb f977a92 mt76: introduce mt76_tx_info data structure 72fe286 mt76: use mac80211 txq scheduling b77b932 mt76: reduce locking in mt76_dma_tx_cleanup c0ab515 mt76: store wcid tx rate info in one u32 reduce locking f37ad72 mt76: mt76x02: store software PN/IV in wcid 5323005 mt76: move tx tasklet to struct mt76_dev 688d708 mt76: only schedule txqs from the tx tasklet 42ce040 mt76: use TX_NEEDS_ALIGNED4_SKBS 2660aa9 mt76: mt7603: store software PN/IV in wcid 3ce8a93 mt76: dma: add static qualifier to mt76_dma_tx_queue_skb 81a32aa mt7603: remove mt7603_mcu_init routine 48dc7e9 mt7603: core: do not use magic numbers in mt7603_reg_map 2236490 mt76: usb: reduce code indentation in mt76u_alloc_tx Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-03-071-3/+3
| | | | | | | | 1d7760d mt76: mt7603: set moredata flag when queueing ps-filtered packets 0b927b2 mt76: fix return value check in mt76_wmac_probe() e72376d mt76x02: fix hdr pointer in write txwi for USB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-03-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 3c6df9b mt76: rewrite dma descriptor base and ring size on queue reset 30e757e mt76: mt76x02: when setting a key, use PN from mac80211 fa83406 mt76: mt76x2: implement full device restart on watchdog reset ead881b mt76: mt76x02: do not sync PN for keys with sw_iv set ba1d989 mt76: mmio: move mt76x02_set_irq_mask in mt76 module 283ebbe mt76: dma: move mt76x02_init_{tx,rx}_queue in mt76 module b216d3c mt76: introduce q->stopped parameter 8b437d2 mt76x02: clear sta and vif driver data structures on add 2c62d03 mt76x02: clear running flag when resetting state on restart 6b10cfc mt76: mt76x02: only update the base mac address if necessary 669bc49 mt76: mt76x02: reduce false positives in ED/CCA tx blocking 2ed9382 mt76: mt7603: fix tx status HT rate validation d2c6823 mt76: mt76x2: fix external LNA gain settings 8ee2259 mt76: mt76x2: fix 2.4 GHz channel gain settings 8bfe6d4 mt76: mt7603: clear ps filtering mode before releasing buffered frames d13b065 mt76: mt7603: fix up hardware queue index for PS filtered packets eb1ecc4 mt76: mt7603: notify mac80211 about buffered frames in ps queue 3687eec mt76: mt7603: clear the service period on releasing PS filtered packets 42ab27e mt76: when releasing PS frames, end the service period if no frame was found 461f3b0 mt76: mt76x02: disable ED/CCA by default Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-02-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d81ff mt76x0: eeprom: fix VHT mcs{8,9} rate power offset 6e33ce6 mt76: move mt76_mcu_msg_alloc in mt76-core 4637f95 mt76: move mt76_mcu_get_response in mt76-core 1763cb0 mt76: move mt76_mcu_rx_event in mt76-core 4db9d75 mt76x0: mcu: remove useless commented configuration 91d0455 mt76: move mt76_dma_tx_queue_skb_raw in mt76-core module 0e8e53f mt76: remove add_buf pointer in mt76_queue_ops db47920 mt7603: rely on mt76_mcu_msg_alloc routine 471c447 mt7603: rely on mt76_mcu_get_response routine cacc986 mt7603: rely on mt76_mcu_rx_event routine 11ab620 mt7603: rely on mt76_tx_queue_skb_raw common routine 82fa312 mt7603: move alloc_dev common code in mt76_alloc_device 47d5922 mt76: move alloc_device common code in mt76_alloc_device c50c993 mt76x2u: remove mt76x2u_alloc_device routine 6ed5b7a mt76x0: remove mt76x0u_alloc_device routine e32e249 mt76x2: remove mt76x2_alloc_device routine 6aacd1e mt76: change the return type of mt76_dma_attach() a10e9e5 mt76x02u: use usb_bulk_msg to upload firmware a774ff6 mt76: usb: fix possible NULL pointer dereference in mt76u_mcu_deinit c2877bc mt76: usb: fix possible memory leak in mt76u_buf_free a5cfe96 mt76: usb: do not run mt76u_queues_deinit twice 1e4db14 mt76: usb: move mt76u_check_sg in usb.c 302406b mt76: usb: do not use sg buffers for mcu messages 8ab5267 mt76: usb: use a linear buffer for tx/rx datapath if sg is not supported a0a3505 mt76: usb: introduce disable_usb_sg parameter 0cee180 mt76: usb: use dev_err_ratelimited instead of dev_err in mt76u_complete_rx 1bb97c4 mt76x02u: remove bogus check and comment padding 2cbc2d4 mt76: Use the correct hweight8() function f18e03a mt76x0u: fix suspend/resume 6231336 mt76: mt76x02: fix TSF sync mode 783da04 mt76: mt76x02: fix beacon timer drift adjustment 43d2507 mt76: mt76x02: fix beacon timer issue 59a6587 mt76: mt76x02: only reset beacon drift counter when enabling beacons 8c8eb98 mt76: mt76x02: issue watchdog reset on MCU request timeout 52161d2 mt76: mt76x02: fix ED/CCA enabling/disabling 5e7ecce mt76: mt76x2: unify mt76x2[u]_mac_resume 18af219 mt76: mt76x02: set MT_TXOP_HLDR_TX40M_BLK_EN for mt76x2 e5747b2 mt76usb: allow mt76u_bulk_msg be used for reads 2437a9a mt76usb: use synchronous msg for mcu command responses e4250c9 mt76usb: remove usb_mcu.c 8b1110e mt76: usb: fix warning in mt76u_buf_free 89215f6 mt76: usb: introduce mt76u_fill_bulk_urb routine 523e374 mt76: usb: simplify rx buffer allocation ffe1292 mt76: usb: simplify mt76u_tx_build_sg routine e2a9d40 mt7603: fix ba window size selection b040ef7 mt76: remove no longer used routine declarations 645ef43 mt76: usb: check urb->num_sgs limit in mt76u_process_rx_entry fd315bd mt7603: disable dynamic sensitivity adjustment by default Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-02-031-3/+3
| | | | | | | | | | | a9d4c0e mt76: mt76x2: avoid running DPD calibration if tx is blocked 4d7e13f mt76: explicitly disable energy detect cca during scan e3c1aad mt76: run MAC work every 100ms 4e8766a mt76: clear CCA timer stats in mt76x02_edcca_init e301f23 mt76: measure the time between mt76x02_edcca_check runs 74075ef mt76: increase ED/CCA tx block threshold Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-01-311-3/+3
| | | | | | | | | | | | | | | | a4ec45c mt7603: fix LED support (copy CFLAGS from main Makefile) edda5c5 mt76x02: use mask for vifs dd52191 mt76x02: use commmon add interface for mt76x2u a80acaf mt76x02: initialize mutli bss mode when set up address 38e832d mt76x02: minor beaconing init changes 171adaf mt76x02: init beacon config for mt76x2u dcab682 mt76: beaconing fixes for USB ff81de1 mt76x02: enable support for IBSS and MESH 8027b5d mt7603: remove copyright headers e747e80 mt76: fix software encryption issues 2afa0d7 mt7603: remove WCID override for software encrypted frames Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-01-301-3/+3
| | | | | | | | | | | | | | c3da1aa mt7603: trigger beacon stuck detection faster 7a53138 mt7603: trigger watchdog reset if flushing CAB queue fails 6eef33b mt7603: remove mt7603_txq_init ae30c30 mt76: add driver callback for when a sta is associated 0db925f mt7603: update HT/VHT capabilities after assoc b5ac8e4 mt7603: initialize LED callbacks only if CONFIG_MT76_LEDS is set c989bac mt76x0: eeprom: fix chan_vs_power map in mt76x0_get_power_info 24bd2c0 mt76x0: phy: report target_power in debugfs bc7ce2a mt76x0: init: introduce mt76x0_init_txpower routine Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-01-251-3/+3
| | | | | | | | | | | | | | | | | | | | | 3e9a7d5 Revert "mt7603: fix txd q_idx field value" 815fd03 mt7603: fix CCA timing values b35cc8e mt7603: set timing on channel change before starting MAC 79b337c mt7603: move CF-End rate update to mt7603_mac_set_timing 3df341d mt7603: avoid redundant MAC timing updates 1c751f3 mt76: avoid scheduling tx queues for powersave stations 2efa389 mt7603: limit station power save queue length to 64 63a79ff mt76: do not report out-of-range rx nss fe30bd3 mt7603: issue PSE reset on tx hang ce8cc5d mt7603: issue PSE client reset on init e342cc5 mt7603: fix buffered multicast count register aa470d8 mt7603: fix buffered multicast queue flush b4ee01f mt76: fix tx status timeout processing 7d00d58 mt76x02: fix per-chain signal strength reporting 64abb35 mt76: fix corrupted software generated tx CCMP PN 0b939dc mt76: fix resetting software IV flag on key delete Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-01-201-3/+3
| | | | | | | | | | | | | | | d273ddd mt7603: fix number of frames limit in .release_buffered_frames 63bf183 mt76: add channel switch announcement support e45db12 mt7603: fix tx status info 9d11596 mt7603: discard bogus tx status data 4bcb2f9 mt7603: fix txd q_idx field value 4206db7 mt76: set IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR flag c4e4982 mt7603: set IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN 702f557 mt7603: use maximum tx count for buffered multicast packets 158529d mt7603: fix PSE reset retry sequence fc31457 mt7603: implement support for SMPS Signed-off-by: Felix Fietkau <nbd@nbd.name>