aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* mt76: update to the latest versionFelix Fietkau2020-03-111-3/+3
| | | | | | | | | | | | | | | | | | | | | 8682e0d0b49c mt76: speed up usb bulk copy 884c25e7caca mt76: usb: use max packet length for m76u_copy 1ad98b95cf4a mt76: mt76u: rely only on data buffer for usb control messagges 3d491603caff mt76: fix array overflow on receiving too many fragments for a packet 9792a62e7f30 mt76: set dma-done flag for flushed descriptors 53233cdf9486 mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw a4ae9219e6c7 mt76: dma: do not write cpu_idx on rx queue reset until after refill 1198fa57d185 mt76: mt7603: increase dma mcu rx ring size 91cd5be6ee37 mt76: avoid extra RCU synchronization on station removal 7d7fb26bb78a mt76: mt76x2: avoid starting the MAC too early aac609809de1 mt76: fix LED link time failure 18627db2e633 mt76: mt76x0u: add support to TP-Link T2UHP 5ecfdb1a6e0a mt76: mt76x02: fix handling MCU timeouts during hw restart f7e9be89db59 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power 23b834485070 mt76: mt7603: enable dynamic sensitivity adjustment by default 08054d5ab135 mt76: mt76x02: reset MCU timeout counter earlier in watchdog reset Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest openwrt-19.07 versionDavid Bauer2020-01-041-3/+3
| | | | | | 8a78567 mt76: fix compilation warning in mt76_eeprom_override() Signed-off-by: David Bauer <mail@david-bauer.net>
* mt76: fix incorrect firmware pathDavid Bauer2020-01-041-2/+2
| | | | | | | | | | | | | The mt76 driver does load the firmware for the MT7615 chip from /lib/firmware/mediatek instead of /lib/firmware. The driver loads the firmware from this path since mt76 commit ea3ab68c7589 ("mt76: mt7615: fix mt7615 firmware path definitions"). Fixes: a2e2c40b5ebd ("mt76: update to the latest openwrt-19.07 version") Reported-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Stijn Segers <foss@volatilesystems.org>
* mt76: update to the latest openwrt-19.07 versionDavid Bauer2020-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 330e832 mt76: mt76x0: fix default mac address overwrite f97c33e mt76: mt7603: fix input validation issues for powersave-filtered frames 875f6d7 mt76: mt7615: increase MCU command timeout abd7d86 mt76: clear skb pointers from rx aggregation reorder buffer during cleanup 96c7b07 mt76: eeprom: add support for big endian eeprom partition 19c8e20 mt76: fix possible undetected invalid MAC address df64c56 mt76: Off by one in mt76_calc_rx_airtime() 1702b24 mt76: mt7603: reset STA_CCA counter setting the channel 383a631 mt76: mt76x0u: do not reset radio on resume 2dcfbdd mt76: disable bh in mt76_dma_rx_poll 947d20d mt76: fix rx dma ring descriptor state on reset f3348f5 mt7615: replace sta_state callback with sta_add/sta_remove faf5e6f mt76: mt7615: read {tx,rx} mask from eeprom db78ee0 mt76: move mt76_get_antenna in mt76_core module 7121e16 mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs 5dfb0ec mt76: mt7615: disable radar pattern detector during scanning e2f90ad mt76: move interface_modes definition in mt76_core module cfdb751 mt76: mt7615: add ibss support e0731a8 mt76: move SUPPORTS_REORDERING_BUFFER hw property in mt76_register_device a85c06c mt76: use mt76_dev in mt76_is_{mmio,usb} ea19cd7 mt76: Remove set but not used variable 'idx' 3cbaf81 mt76: mt76u: rely on a dedicated stats workqueue 20f0589 mt76: mt76u: rely on usb_interface instead of usb_dev f2be00b mt76: dma: fix buffer unmap with non-linear skbs c14d656 mt76: mt76x2e: disable pcie_aspm by default 58e1e96 mt76: mt7615: remove unneeded semicolon c93a2d1 mt76: mt76x02u: update ewma pkt len in mt76x02u_tx_prepare_skb 1987b74 mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate 50b1e9b mt76: refactor cc_lock locking scheme d868638 mt76: remove obsolete .add_buf() from struct mt76_queue_ops dc14ac6 mt7615: remove vif sta from poll list on interface remove 2a0a191 mt7603: remove vif sta from poll list on interface remove d3a5895 mt76: fix a-mpdu boundary detection issue for airtime reporting 391e148 mt76: add sanity check for a-mpdu rx wcid index 01642d8 mt76: mt76x02: fix use-after-free in tx status code handling airtime c11a4ad mt76: mt76x0: eeprom: add support for MAC address from OF d94cc81 mt76: drop rcu read lock in mt76_rx_aggr_stop 7d8764d mt76: avoid enabling interrupt if NAPI poll is still pending 5b02a07 mt76: add missing locking around ampdu action 71c2ef0 mt76: fix aggregation stop issue 6f7d0f5 mt76: fix use-after-free bug in airtime fairness code 8f22de0 mt76: do not use devm API for led classdev e7199f9 mt76: enable airtime fairness 81f2be0 mt76: mt7615: track tx/rx airtime for airtime fairness 2579122 mt76: mt7615: introduce mt7615_mac_wtbl_update routine d91f7c1 mt76: mt7615: fix survey channel busy time 028071d mt76: mt7615: report tx_time, bss_rx and busy time to mac80211 0e5050e mt76: mt76x02: track approximate tx airtime for airtime fairness and survey 3429cc7 mt76: mt76x02: move MT_CH_TIME_CFG init to mt76x02_mac_cc_reset de118bb mt76: unify channel survey update code fdf0163 mt76: mt7603: switch to a different counter for survey busy time ee31030 mt76: mt7603: track tx airtime for airtime fairness and survey f34b1ae mt76: track rx airtime for airtime fairness and survey a1d6891 mt76: store current channel survey_state in struct mt76_dev b042987 mt76: rename mt76_driver_ops txwi_flags to drv_flags and include tx aligned4 2027763 mt76: report rx a-mpdu subframe status 1ddcadb mt76: mt7603: remove q_rx field from struct mt7603_dev ea3ab68 mt76: mt7615: fix mt7615 firmware path definitions 081926a mt76: mt7603: collect aggregation stats 696c0fc mt76: mt7615: collect aggregation stats 23e8aed mt76: move aggr_stats array in mt76_dev 1118b5e mt76: mt7615: add queue entry in debugfs fbc59e6 mt76: move queue debugfs entry to driver specific code 0b01ace mt76: mt76x02u: move mt76x02u_mac_start in mt76x02-usb module c394887 mt76: mt76x0u: reset counter starting the device 0355b7a mt76: mt76x2: move mt76x02_mac_reset_counters in mt76x02_mac_start f3792b5 mt76: mt76x02: move mac_reset_counter in mt76x02_lib module 63e8152 mt76: mt7615: enable SCS by default b140512 mt76: mt76x0e: make array mt76x0_chan_map static const, makes object smaller a20c20b mt76: usb: add lockdep_assert_held in __mt76u_vendor_request 0308d75 mt76: remove empty flag in mt76_txq_schedule_list 0efbc5d mt76: use cancel_delayed_work_sync in mt76_rx_aggr_shutdown 9c5df3c mt76: remove aggr_work field from struct mt76_wcid 8739f87 mt76: mt7615: fix control frame rx in monitor mode e07407a mt7603: fix build with CONFIG_KERNEL_DYNAMIC_DEBUG=y c7f8214 mt76: mt7615: add support to read temperature from mcu 6797378 mt76: mt7615: introduce mt7615_txwi_to_txp utility routine 496c78e mt76: mt76x0: remove unneeded return value on set channel 1d2acd5 mt76: mt76x0: remove redundant chandef copy 0167bfa mt76: make mt76_rx_convert static Signed-off-by: David Bauer <mail@david-bauer.net>
* mt76: update to the latest versionFelix Fietkau2019-08-261-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <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>
* mt76: fix typo in version numberFelix Fietkau2019-01-111-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2019-01-111-3/+3
| | | | | | | | | | | | | | | | | | | | | 58988a3 mt76: fix signedness of rx status signal field bce700d mt7603: fix signal strength reporting on single-stream devices 148219d mt7603: fix checkpatch issues 2a092e2 mt7603: fix per-rate retry accounting 962152b mt7603: fix WMM TXOP limit configuration 24ec040 mt7603: fix BSSID configuration in AP mode 48fb011 mt7603: fix CF-End transmit rate when 11b stations are connected 9daa5ff mt76: make const array 'data' static, shrinks object size 7d4a95c mt76: dma: avoid indirect call in mt76_dma_tx_queue_skb f84b008 mt76: fix tx status reporting for non-probing frames 8167074 Revert "mt7603: update firmware to 20161027164355" 2ad54b2 mt76: move wcid rssi ewma init to mt76 core d77c861 mt76: fix rssi ewma tracking eca96cd mt76: use proper name for __MT76x02_H macro d1bc504 mt76: fix building without CONFIG_LEDS_CLASS a946b78 mt76: add led support to mt76x0e driver Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-12-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 417ab77 mt7603: improve recovery from PSE reset failure fea7ad8 mt76: move mt76x02_phy_get_min_avg_rssi to mt76 core 9d009be mt7603: add dynamic sensitivity tuning based on false CCA events 2c8e9ac mt7603: initialize channel maximum power from eeprom data b2cc29b mt76: move mt76x02_get_txpower to mt76 core 6203d46 mt7603: add support for setting transmit power 294e095 mt7603: reset DMA scheduler on MT7628 8178f0d mt7603: apply efuse data only when it exists e67e551 mt76: dma: remove napi from mt76_dma_rx_fill signature 0490bd2 mt76: usb: do not build the skb if reported len does not fit in buf_size eb076ae mt76: Add missing include of linux/module.h 1d2819e mt76: fix typo in mt76x02_check_mac_err routine 9c9fae3 mt76: mac: run mt76x02_mac_work routine atomically 6be90b6 mt76: usb: avoid queue/status spinlocks while passing tx status to mac80211 40dad32 mt76x0: pci: fix ACS support d94e9c4 mt76x02: do not set protection on set_rts_threshold callback 0d83d73 mt76x02: fixup MT_PROT_RATE_* defines 628f8d7 mt76x02: set protection according to ht operation element f7d8c17 mt76x0: configure MT_VHT_HT_FBK_CFG1 10f57cf mt76x2: add static qualifier to mt76x2_init_hardware 37b2ad3 mt76: dfs: run mt76x02_dfs_set_domain atomically 51b6daf mt76x2: init: set default value for MT_TX_LINK_CFG 9661da4 mt76: add energy detect CCA support to mt76x{0,2}e drivers 876d0e9 mt76: mac: minor optimizations in mt76x02_mac_tx_rate_val c78e317 mt76: dma: do not build skb if reported len does not fit in buf_size 3598046 mt76: mmio: introduce mt76x02_check_tx_hang watchdog Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: fix dependenciesDeng Qingfang2018-12-161-1/+1
| | | | | | Only MT76x0U needs kmod-mt76x02-usb Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
* mt76: update to the latest versionFelix Fietkau2018-12-041-3/+3
| | | | | | | | | | | 5a5b396 mt76: throttle transmission of buffered multicast packets 8084323 mt7603: implement code for adjusting energy detect CCA thresholds 8929a6e mt7603: increase MCU timeout f2ba65f mt7603: update firmware to 20161027164355 0ad998b mt7603: increase aggregation limits (based on vendor driver changes) da00af0 mt7603: clear bit 18 in MT_SEC_SCR to fix ICV error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-281-3/+3
| | | | | | | | | | | | | | | | 5fb60a7 mt7603: fix aggregation size handling 31cd20e mt7603: issue PSE reset on stuck beacon 4063ae1 mt7603: check for PSE hang / stuck beacon first 00e03b9 mt7603: fix MT_WF_PHY_CR_RXTD_BASE definition c3efb5d mt7603: add support for detecting MT7688 and single stream devices 2a136cb mt7603: fix TKIP key setup cd456ca mt7603: disable broken support for WEP hardware encryption 3ecb7f8 mt7603: fix hardware queue assignment 6ac9653 mt7603: fix CAB queue limits d22feb0 mt7603: move cab queue enabling to pre-tbtt tasklet 44bb372 mt7603: fix CAB queue flush mask Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-211-3/+3
| | | | | | | | | | | | 4734108 mt7603: use mt7603_wtbl_clear on station removal 9428e34 mt7603: fix watchdog reset sequence b3f82a3 mt7603: report PSE reset failures via debugfs a301dec mt7603: add back PSE client reset code 94cebfc mt7603: fix handling lost interrupt events during watchdog reset b38fe7d mt7603: only issue PSE reset on PSE stuck da666a7 mt7603: issue PSE reset if firmware debug register indicates stuck queues Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-201-4/+4
| | | | | | | | | | | | | | | | | 471d397 mt7603: fix priority for buffered multicast packets 3873e82 mt7603: fix MT_BMAP_0/MT_GROUP_THD_0 register initializion for mt7628 749d5c3 mt7603: fix reserved page handling for mt7628 d22799b mt7603: reduce reserved pages for beacons 42c5281 mt7603: fix maximum frame size in scheduler init fa7335b mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues 84aa12a mt76: fix potential null pointer deref in mt76_sta_add 7c4c33c mt7603: skip efuse tx power data for mt7628 ca2c875 mt7603: add support for accessing remapped registers via ops b44d793 mt7603: clear PSE redirections before MCU init 82363ab mt7603: move tx status to rx queue 0 c09e8a4 mt7603: fix buffering of tx packets for powersave clients Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-161-3/+3
| | | | | | 96b3b3d mt76x2u: main: fix typo setting sta_state mac80211 callback Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-161-3/+3
| | | | | | | | | | | | | | | 009ab91 mt76: clean up more unused EXPORT_SYMBOLs 963768d mt76x02: fix regression in tx station race condition fix d7788cc mt76: mt76x02: make group_wcid the first member in struct mt76x02_vif e65ad4c mt7603: make group_wcid the first member in struct mt7603_vif 7b1373e mt76: mt76x02: remove mt76x02_txq_init a97127b mt76: replace sta_add/remove ops with common sta_state function 13f1e82 mt7603: clear wtbl entry for removed stations 90e2c1b mt7603: add mt7603_wtbl_set_skip_tx, change mt7603_wtbl_set_ps users 41931e4 mt7603: toggle skip_tx on station add/remove d0fdf01 mt7603: avoid unnecessary wtbl writes for ps-filter Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-131-3/+3
| | | | | | | | | | | | | | | | | | | 6745830 mt76: fix race condition in station removal 7e5c819 mt76: add mt76_sta_remove helper 75aa36e mt7603: use wcid/wcid_mask from struct mt76_dev fd85ff9 mt7603: use mt76_sta_remove helper 0848d2d mt7603: simplify mt7603_mcu_msg_send, remove skb_ret handling 83a80ca mt76: request tx status for powersave released EOSP packet df5c797 mt76: fix uninitialized mutex access setting rts threshold 0bfa98e mt76: introduce mt76x02_config_mac_addr_list routine 4248446 mt76x0: pci: enable VHT rates in IBSS mode f75efd8 mt76x2u: phy: add TX_SHAPING calibration c1d67b4 mt76x2u: phy: run phy_channel_calibrate after channel switch 9fe0fe8 mt76x2u: main: use mt76x02_bss_info_changed utility routine 3fc95d7 mt76x2u: init: remove mt76x2u_init_beacon_offsets routine 88f6883 mt76: remove wait argument from mt76x02_mcu_calibrate Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-091-3/+3
| | | | | | ffccb48 mt76: do not wake tx queues during flush Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fix a typoFelix Fietkau2018-11-081-3/+3
| | | | | | 29d9532 mt7603: fix faulty variable initialization in last commit Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-071-3/+3
| | | | | | 417cf49 mt7603: improve recovery from MCU hang Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 172f081 mt76x0: do not overwrite other MT_BBP(AGC, 8) fields 2ae2046 mt76x0: phy: use mt76_poll_msec in mt76x0_phy_temp_sensor add66a0 mt76x0: init: use mt76x02_mac_shared_key_setup in mt76x0_init_hardware 1f24db9 mt76x2: move wcid_tx_rate conf at bootstrap 097b2bd mt76x0: init: use mt76x02_mac_wcid_setup for wcid configuration d0eb03e mt76x2u: init: remove not useful configuration c7aa8f4 mt76x2u: init: use common routines for wcid/key initialization bd568d9 mt76: move mt76x02_eeprom_copy in mt76x02-lib module 57b441d mt76x0: phy: introduce tssi calibration support a78802c mt76x0: phy: use tssi reported value to configure tx power if available 94ad030 mt76: remove mcu_msg_alloc 15cb426 mt76: remove wait argument from mt76x02_mcu_function_select cd76a83 mt76: remove wait argument from mt76x02_mcu_set_radio_state 9b97e0f mt76x02: run calibration after scanning 663b197 mt76x02: assure we update gain after scan eb53745 mt76x0: dfs: fix IBI_R11 configuration on non-radar channels ef06c30 mt76: avoid queue/status spinlocks while passing tx status to mac80211 5195257 mt7603: fix maximum rx frame size 01815e9 mt7603: use mutex from struct mt76_dev 3c8e8a7 mt7603: use irq_lock/irqmask from struct mt76_dev 8b7f50d mt76: add size check for additional rx fragments 87bad3a mt7603: stop MAC on watchdog reset c34baab mt7603: add missing unlock in case changing the channel fails ac6fc78 mt7603: add debugfs file to trigger watchdog resets d9b5324 mt7603: add SPDX license identifiers 498d716 mt7603: fix checkpatch issues a1afefd mt7603: fix handling of fixed rate packets 5ee0523 mt7603: fix tx status rate reporting for fixed-rate packets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-10-271-3/+3
| | | | | | fdc63f1 mt76: fix regression in tx status handling Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: Fix dependencies for PCI supportDaniel Engberg2018-10-261-5/+5
| | | | | | | | | | USB support doesn't necessarily mean that there's PCI support available so move that to the drivers which requires PCI support. This applies to the sunxi platform for instance. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix mt76x0e]
* mt76: update to the latest versionFelix Fietkau2018-10-251-3/+3
| | | | | | | | | | | 0b8b15f mt7603: use common mmio mcu struct d612e2e mt76: mt76x02: skip station tx status for non-sta wcid entries d89d84b mt76: mt76x02: only override control->sta on sw-encrypted tx 9d59d2a mt76: add support for reporting tx status with skb ed17ba2 mt7603: use common tx status handling code 14b6c59 mt76x0: use band parameter for LC calibration Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-10-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | d033272 mt76: mt76x0: handle chip specific initval differences 1a2b2dc mt76: usb: fix static tracepoints 11151f4 mt76x0: antenna select corrections dade109 mt76x0: init: simplify mt76x0_init_mac_registers 3c54612 mt76x0: pci: add missing MODULE_FIRMWARE macro 97e0269 mt76x0: mac: remove mt76x0_mac_set_ampdu_factor 5d8c4bf mt76x0: align mt76x0u and mt76x0e fw version d4391ae mt76: move mt76x02_mac_set_short_preamble in mt76x02_mac.c aa6ebf9 mt76: move mt76x02_init_device in mt76x02-lib module a4a08c3 mt76: move mac beacon routines in mt76x02-lib module 6b69650 mt76: move tx beacon routines in mt76x02-lib module 8486047 mt76x0: pci: add pre_tbtt_tasklet support acd4c99 mt76: move mt76x02_sw_scan and mt76x02_sw_scan_complete in mt76x02-lib module 2d736cf mt76: move mt76x02_get_txpower in mt76x02_util.c aa1d6bd mt76: move mt76x02_sta_ps in mt76x02-lib module e684281 mt76: introduce mt76x02_init_beacon_config routine c181d97 mt76x0: pci: enable AP support 3b86d99 mt76: move mt76x02_set_tx_ackto in mt76x02-lib module 41d7ef7 mt76x0: update init vals for MT_TX_PROT registers fe5a149 mt76: move tx protection routines in mt76x02-lib module 5bca2de mt76: move mt76x02_bss_info_changed in mt76x02-lib module d21a835 mt76: move dfs support in mt76x02-lib module ba9d424 mt76x0: pci: add DFS support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-10-181-3/+3
| | | | | | | | | | | b51337a mt76: clean up unused leftover EXPORT_SYMBOLs 383b228 mt76x0: reduce duplication in setting rf bandwidth parameters a1a4528 mt76: mt76x0: handle chip specific initval differences f473340 mt76: usb: fix static tracepoints 3a975b4 mt76x0: antenna select corrections 37c1150 mt76x0: init: simplify mt76x0_init_mac_registers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, add mt76x0 firmware, enable mt76x0eFelix Fietkau2018-10-161-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96fa353 mt76: do not store aggregation sequence number for null-data frames c50dca8 mt76x0: print BBP version only for debug ddc9e05 mt76x0: correct RF access via RF_CSR register. 02d2385 mt76: allow to identify bus c438e67 mt76x0: correct RF reg pairs write for PCIe c83abb8 mt76x0: use bus helper to identify rf access method 9c272ff mt76x0: phy: fix bank check in mt76x0_rf_csr_{wr,rr} 1945d57 mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mcu.c 214eab7 mt76: use mt76x02_dev instead of mt76_dev in mt76x02_phy.c 29bc2ae mt76: use mt76x02_dev instead of mt76_dev in mt76x02_util.c 08ecb5f mt76: use mt76x02_dev instead of mt76_dev in mt76x02_usb_mcu.c fd9b2b0 mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mac.c f37bd25 mt76: use mt76x02_dev instead of mt76_dev in mt76x02_txrx.c 48950cb mt76: use mt76x02_dev instead of mt76_dev in mt76x02_eeprom.c 06276cc mt76x0: pci: report firmware version using ethtool 72546ed mt76x0: pci: add missing mac80211 callbacks 4de98cd mt76: disable ldpc coding for mt76x0 devices f0951c2 mt76x0: pci: add mt76x0_register_device in mt76x0e_register_device 4f3685e mt76: reserve enough room for USB tx skbs 5e6907f mt76x0: remove dma.h acfc5a9 mt76x0: pci: fix set external PA I/O current 2b79bb7 mt76: mt76x0e: another fix for the external PA current setting 8a0acfd mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc e9e949b mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params 1775717 mt76: move mt76x02_phy_set_bw in mt76x02-lib module f82134f mt76: move mt76x02_phy_set_band in mt76x02-lib module 3eaa34f mt76x0: pci: rename mt76x0_phy_calibrate 7269fb4 mt76x0: pci: introduce mt76x0_phy_calirate routine a514b75 mt76x0: phy: update set_channel for mt76x0e devices 62a1bc5 mt76x0: eeprom: introduce mt76x0_tssi_enabled routine a48481d mt76x0: phy: add phy/vco temperature compensation cc34ce9 mt76: move rssi_gain_thresh routines in mt76x02-lib module eaf9751 mt76: move mt76x02_phy_adjust_vga_gain in mt76/mt76x02_phy.c 2715e7c mt76: introduce mt76x02_init_agc_gain routine 87fcb31 mt76x0: phy: align channel gain logic to mt76x2 one 98f8ef7 mt76x0: phy: do not run calibration during channel switch cf859ad mt76x2: align mt76x2 and mt76x2u firmware 1f3f767 mt76x2u: align channel gain logic to mt76x2 one d1c1454 treewide: Replace more open-coded allocation size multiplications bcbecd2 mt76x0: phy: use proper name convention b6694e6 mt76x0: phy: simplify rf configuration routines da129c9 mt76x0: phy: improve code readability in initvals_phy.h eab7ab1 mt76x0: pci: add get_survey support 9e493f7 mt76: move mt76x02_mac_work routine in mt76x02-lib module ecec6ba mt76: move mt76x02_debugfs in mt76x02-lib module 4f3b608 mt76x0: use shared debugfs implementation 6aae25b mt76x0: use mt76x02_mac_work as stats handler b228a45 mt76x2u: introduce mac workqueue support 4671af4 mt76x0: phy: unify calibration between mt76x0u and mt76x0e 5ed28f3 mt76x0: do not perform MCU calibration for MT7630 9b844da add mt7610e firmware Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: move mt76x2e firmware to kmod-mt76x2-common and use it for mt76x2uFelix Fietkau2018-10-141-1/+7
| | | | | | USB and PCIe devices can run the same firmware Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: fix typo in kmod-mt76x0u package descriptionFelix Fietkau2018-10-091-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: fix dependenciesFelix Fietkau2018-10-061-1/+2
| | | | | | | - make kmod-mt76-core hidden - select kmod-mt76-core and kmod-usb-core from mt76-usb Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-10-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 053de5c mt76x0: pci: add mt76x0e_cleanup routine c6b1926 mt76x2: move mt76x2 source files to mt76x2 folder 6afb1b8 mt76: fix header guard macro define names 05c7f24 mt76: fix frag length allocation for usb 6856ef6 mt76: usb: fix hw initialization sequence 3d43146 mt76x0: usb: stop cal/mac workqueues at hw stop bef08cc mt76: move mt76x02_tx_get_max_txpwr_adj in mt76x02_util.c cd42111 mt76: add get_tx_txpwr_adj function pointer to mt76_driver_ops c49a3ae mt76: move mt76x02_mac_write_txwi in mt76x02-lib module 4bae980 mt76: usb: use mt76x02u_tx_prepare_skb to fill txwi e0847b4 mt76x0: init: remove unnecessary configurations e802b5c mt76: move mt76x02_phy_get_min_avg_rssi in mt76x02_phy.c 2742847 mt76: move mt76x02_rx_get_sta and mt76x02_rx_get_sta_wcid in mt76x02_util.h c26f9fd mt76x0: mac: use sta ewma estimation for rssi tracking 330fbe3 mt76x0: remove unused variable in mt76x0_dev a56efc5 mt76x0: remove hw_atomic_mutex mutex in mt76x0_dev abd1daa mt76x2: move mt76x2_dev in mt76x02_util.h d5d1e59 mt76x0: merge mt76x0_dev in mt76x02_dev e236ba5 mt76: move mt76x02_mac_process_rx in mt76x02-lib module 724d547 mt76: unify rxwi parsing between mt76x2 and mt76x0 drivers ec3d829 mt76: move mt76x02_tx in mt76x02-lib module 159f767 mt76: move txrx shared routines in mt76x02_txrx.c 9c874cd mt76: rename mt76x02_util.h in mt76x02.h fd9174f mt76x2: remove leftover function declatarions 608708a mt76: move tpc routines in mt76x02-lib module 45b8f5e mt76: move mt76x02_tx_prepare_skb in mt76x02_txrx.c 9a39521 mt76: usb: move mt76x02u_tx_complete_skb in mt76x02_usb_core.c 3770c54 mt76: move mt76x02_mac_poll_tx_status in mt76x02-lib moudle 9730290 mt76: move mt76x02_tx_complete in mt76x02-lib module 99e0486 mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mmio.c 3d2cfe3 mt76: move tx_tasklet management in mt76x02-lib moudle e61671e mt76: move irq handler in mt76x02-lib moudle d533f13 mt76x0: pci: report firmware version using ethtool Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes mt76x2 beacon issueFelix Fietkau2018-10-011-3/+3
| | | | | | 94d4445 mt76: mt76x2: fix multi-interface beacon configuration Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to latest, adds mt76x0u and mt76x2u support, fixes a mt7603 ↵Felix Fietkau2018-09-291-5/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | powersave issue d220f43 Revert "mt76x2: reset HW before probe" 0853d79 Revert "mt76x2: add functions for setting extended MAC address registers" 8ba17b1 Revert "mt76: use a per rx queue page fragment cache" 3f0ac35 mt76x2: init: disable APCLI by default 38014de mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate() fbf4791 mt76x2: fix TXD_INFO bitmask definition d00c616 mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status() 0d42d22 mt76: introduce mt76_{incr,decr} utility routines 0f6379a mt76x2: dfs: add sw event ring buffer df8071f mt76x2: dfs: add sw pattern detector 016df9c mt76x2: debugfs: add sw pulse statistics to dfs debugfs a6915cb mt76: move MT_TXD_INFO, MT_MCU_MSG and MT_RX_FCE_INFO defs in dma.h 911e6aa mt76x2: move mt76x2_fw_header and mt76x2_patch_header definitions in mcu.h c55d29b mt76x2: move utility routines in mt76x2.h d08ea82 mt76x2: introduce mt76x2_init_device routine 6a1e809 mt76x2: move interface_modes definition in mt76x2_init 5aa0972 mt76x2: introduce mt76x2_mac_load_tx_status routine 730b86c mt76x2: add napi struct to mt76_rx_poll_complete/mt76_rx_complete signatures 1ab6cea mt76x2: add buffer len to mt76x2_mac_write_txwi signature 7ac6dac mt76: rename mt76_tx_queue_skb in mt76_dma_tx_queue_skb 66f3949 mt76: introduce tx_queue_skb function pointer in mt76_bus_ops d099694 mt76: introduce mt76x2-common module 9bf1aa1 mt76: add mt76x2_tx_common to mt76x2-common module 29f960a mt76: add mt76x2_mac_common to mt76x2-common module 8f568ce mt76: add mt76x2_init_common to mt76x2-common module 61c4c61 mt76: add mt76x2_common to mt76x2-common module 264edbe mt76: add mt76x2_phy_common to mt76x2-common module 7625508 mt76: move mt76x2_debugfs in mt76-common module 99a3afa mt76: add usb support to mt76 layer 25b4598 mt76: add driver code for MT76x2u based devices 253c443 mt76x0: core files 6ed7bc2 mt76x0: mac files a2c1068 mt76x0: usb files c332481 mt76x0: mcu files 0d7d9ed mt76x0: phy files 5d50834 mt76x0: init files c633654 mt76x0: eeprom files 18a9d4e mt76x0: trace and debugfs files 7395bba mt76x0: dma and tx files 08dec4c mt76x0: main file 5892efd mt76: add more states e176af8 mt76: Kconfig and Makefile for mt76x0 driver 5c38d48 mt76x0: disable HW before probe 2f37f60 mt76x0: load firmware from mediatek subdir 1388140 mt76x0: rename mt76_* functions 1cb65d5 mt76x0: rename trace symbols 4fe2b16 mt76x0: correct type for eeprom gain value 560b643 mt76x0: perform mt76x0_mac_set_ampdu_factor d1645aa mt76x0: Remove VLA usage f8a0da4 mt76: Fix comparisons with invalid hardware key index 884eca5 mt76: unify wait_for_mac fc636f0 mt76: rename mt76x2_regs.h 493feb9 mt76: merge mt76x0/regs.h into mt76x02_regs.h a238099 mt76: create new mt76x02-lib module for common mt76x{0,2} code 55bceee mt76: unify mac_get_key_info f6c19cf mt76: add helpers for register access with mt76_dev struct 34a95b8 mt76: unify mac_shared_key_setup 4286255 mt76: unify mt76x02_mac_wcid_set_key 732535e mt76: unify mac_wcid_setup 51b74ac mt76: use mac_wcid_set_drop in mt76x0 1b4a98f mt76x0: use mt76_wcid_free in mt76x0 fcf2130 mt76: unify mt76x02_vif struct 1f35eb5 mt76: unify sta structure part 1 086ea9f mt76: unify sta structure part 2 caff9a2 mt76x0: initalize custom tx queues 7362da7 mt76x0: use mt76x02_sta and mt76x02_tx_status 3a03aa1 mt76: move mt76_reg_pair definition in mt76.h a853831 mt76: split __mt76u_mcu_send_msg and mt76u_mcu_send_msg routines a80564f mt76: move mt76x2u_mcu_deinit routine in mt76-usb module ac92496 mt76: add multiple regs read support to usb_mcu layer 8b0e08f mt76x0: use mt76u_init for bus initialization ef32115 mt76x0: remove mt76x0_vendor_reset routine 949858f mt76x0: remove mt76x0_vendor_single_wr routine 21ecb9b mt76x0: remove mt76x0_mcu_msg_alloc routine 4cfeebb mt76x0: use shared mt76 usb mcu completion 2600712 mt76x0: remove mt76x0_complete_urb routine 0bd0fe8 mt76x0: remove mt76x0_vendor_request routine f88bde2 mt76x0: remove unused mt76x0_wait_asic_ready routine 7eca333 mt76x0: use mt76u_mcu_send_msg utility routine to send fw cmds 8fedb79 mt76x0: remove unused mt76x0_mcu structure e8fe4f3 mt76x0: use mt76u_mcu_fw_send_data for fw uploading b9c46a8 mt76x0: remove unused routines for usb_buff alloc/free ed3366d mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST 9867146 mt76: verify evt type in usb mcu response 82a8c8a mt76: move wcid fields to common mt76_dev struct f409c6b mt76: unify sta_add / sta_remove d972ddd mt76: pratially unify add_interface f8f5788 mt76x0: fix wrong usage of wcid_mask in remove_interface 380f89c mt76: unify ampdu_action 8c7098e mt76: unify set_key 2a20cfc mt76x0: remove empty sta_notify a690333 mt76: unify AC to hw queue mapping 4453308 mt76: unify conf_tx d9352cb mt76x0: remove vif_mask 196720e mt76: unify remove_interface 57c3e89 mt76: unify add_interface 91fce2f mt76: unify sta_rate_tbl_update and related helpers 3977f48 mt76: unify txwi and rxwi structures 41e0403 mt76: unify load_tx_status 4674502 mt76: unify send_tx_status and related helpers 02816b0 mt76: use mt76_rx_status in mt76x0 0a17b1e mt76: unify mac_process_rate 8aac175 mt76x0: reserve enough space in mac80211 81a655a mt76: unify {insert/remove}_hdr_pad d8f7d2e mt76: partially unify filling txwi fields 3533718 mt76x2: change mt76x2_tx_complete routine signature 469aeb1 mt76: move mt76x2_tx_complete routine in mt76x02-lib module 87f138b mt76: move mt76x2u_remove_dma_hdr in mt76x02-lib module c87a7e8 mt76: move mt76x2u_tx_complete_skb in mt76x02-lib moudule b85e072 mt76: move mt76_qsel definition in dma.h 53b3c5a mt76: move mt76x2u_set_txinfo in mt76x02-lib module 34cec25 mt76x0: introduce mt76x0_tx_prepare_skb routine 6c5ac15 mt76: move mt76x2u_tx_status_data in mt76x02-lib module 0ba8261 mt76x0: init mt76_driver_ops callbacks 2615090 mt76x0: use mt76_alloc_device for device allocation 3c40eaf mt76x0: disable usb rx bulk aggregation 746edd7 mt76x0: mark device as running in mt76x0_start dd77785 mt76x0: simplify mt76_mac_process_rx signature 3739601 mt76x0: add mt76x0_queue_rx_skb routine 062aaa8 mt76x0: unify tx/rx datapath with mt76x2u driver 85f171f mt76x0: stop stat workqueue at hw stop 8c68115 mt76x0: set max fragments size ac02f5c mt76x0: remove unused dma.c source file 964df72 mt76x0: remove unused stat work_queue afb34b8 mt76x0: remove unused {tx/rx}_queue definitions a4fd791 mt76x0: remove unused mt76x0_tx_status routine 0e92ff6 mt76x0: remove unused endpoint definitions 8340e19 mt76x0: remove unused stat_work bfbbf05 mt76x0: enable per-sta tx queueing a8fcaa3 mt76x0: init hw capabilities 6a9b73c mt76x0: trim rx skb to proper length aa0c279 mt76: remove unused MT76_MORE_STATS state 873d792 mt76x0: remove mt76x0_stop_hardware routine 246a216 mt76: move mt76 rate definitions in mt76x02-lib module aae3fb8 mt76x0: alloc mcu buffers first in mt76x0_mcu_cmd_init 3c693a1 mt76x0: fix memory leak during hw probe 98faee1 mt76x0: move stop related routines in mt76x0_mac_stop d07c02a mt76x0: move mt76x0_init_hardware in mt76x0_register_device 12c01f4 mt76x0: do not free/alloc buffers during suspend/resume 297cc34 mt76x0: remove has_{2,5}ghz fields of mt76x0_eeprom_params 2d77a9a mt76x0: use mt76_register_device for device registration bb57912 mt76x0: inital split between pci and usb 3e241f3 mt76x0: remove unused mt76x0_wcid a8c61c2 mt76x0: remove some usb specific code from mt76x0_register_device e4a7387 mt76x0: make device allocation bus neutral 6da4642 mt76x0: run vco calibration for each channel configuration 1ac35da mt76: move mt76x0 and mt76x2 mcu shared defs in mt76x02_mcu.h 4d43674 mt76: add mt76_mcu_ops data structure for mcu related pointers 479b153 mt76: add usb implementation of {wr,rd}_rp e525b01 mt76: add rd_rp and wr_rp to bus_ops/mcu_ops f5590b0 mt76: usb: use common helpers for mcu_alloc_msg()/mcu_send_msg() d2773ce mt76: usb: move mt76x02 mcu code in mt76x02-usb module 6337ffb mt76: usb: move mt76u_skb_dma_info in mt76x02_usb_core.c 5a79f17 mt76x02: move TXD/RXD/MCU definitions in mt76x02_dma.h 88ece32 mt76x02: add static qualifier to mt76x02_remove_dma_hdr d63b72f mt76x0: remove unused mt76x0_burst_read_regs 0aef244 mt76x0: remove mt76x0_burst_write_regs() 14aaf87 mt76: usb: remove skb check in mt76x{0,2}u mcu routines 46ba81c mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_tx_queue_mcu dbc4442 mt76x2: remove leftover mt76u_buf data structure in mt76x2_mcu 26909cd mt76: introduce mmio data structure in mt76_dev 425e7e0 mt76: move __iomem regs in mt76_mmio 28cfe61 mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_mcu_msg_send a1e27de mt76x2: use common helpers for mcu_alloc_msg()/mcu_send_msg() 90b1eac mt76: unify firmware header between mt76x0 and mt76x2 a0cbd4b mt76: move mt76{0,2} mcu shared code in mt76x02_mcu.c a633c61 mt76x2: move mt76x2 mcu shared code in mt76x2_mcu_common.c ce91108 mt76: move shared mcu_calibrate routine in mt76x02-lib module 2b3b4df mt76x2: move mt76x2_phy_tssi_compensate in mt76x2-common module 39a380a mt76: use a per rx queue page fragment cache b4a2141 mt76x2u: run device cleanup routine if resume fails df11092 treewide: Use struct_size() for kmalloc()-family 788becd treewide: devm_kzalloc() -> devm_kcalloc() 971005a mt76x2u: Add support for Alfa AWUS036ACM 878b0bd mt76: fix debugfs_simple_attr.cocci warnings 44ed12d wireless: Use octal not symbolic permissions a6f80ef build: make building 76x2e and 7603e optional 1047913 mt76x0: usb: move firmware loading to usb.c 26b20f8 mt76x0: remove mcu source file 44145f3 mt76x0: remove unused usb header file d56be99 mt76x0: usb: remove mt76_fw definition 3733445 mt76x2: fix tx power configuration for VHT mcs 9 0aced80 mt76x0: pci: add mt7650 PCI ID 35e88c0 mt76x0: pci: add fw uploading routine 3991afa mt76: move seq_put_array in mt76-core module 6cf6fba mt76: add stbc entries to mt76_rate_power 4451f99 mt76: move common eeprom definitions in mt76x02-lib module c9100cb mt76: move eeprom utility routines in mt76x02_eeprom.h 611b8c7 mt76: move mt76x2_eeprom_get in mt76x02_eeprom.h b59ed56 mt76: move mt76x02_mac_setaddr in mt76x02-lib module 844daeb mt76: move mt76x2_get_efuse_data in mt76x02-lib module 7556cb9 mt76: move mt76x2_ext_pa_enabled routine in mt76x02_eeprom.c 19d7853 mt76x0: remove mt76x0_set_country_reg routine ba7a3da mt76: add mt76x02_get_rx_gain and mt76x02_get_lna_gain utility routines 35b0a2a mt76x0: unify lna_gain parsing 2a470db mt76x0: unify rssi_offset parsing fe89537 mt76x0: unify temperature offset parsing 76bc22f mt76x0: unify freq offset parsing bedeb3d mt76: move mt76x02_eeprom_parse_hw_cap in mt76x02-lib module 1adcd39 mt76x0: unify parse hw capabilities df23620 mt76: move mt76x2_tssi_enabled in mt76x02_eeprom.h ebca136 mt76: usb: remove WARN_ON in mt76u_get_rx_entry_len cf8f750 mt76: fix return value of mt76x02_wait_for_mac f802bd5 mt76: move mt76_rate_power in mt76_dev 4b6093c mt76: add mt76x02_phy_set_txpower utility routine c206b8c mt76: move rate_txpower handler in mt76 debugfs 4da6fd3 mt76: move mt76x02_rate_power_val in mt76x02-lib module fb3806d mt76x0: remove mt76x0_phy_set_tx_power and mt76x0_extra_power_over_mac 730db56 mt76x0: remove eeprom dependency from mt76x0_set_tx_power_per_rate 212fa2c mt76x0: remove eeprom dependency from mt76x0_get_power_info 280e452 mt76x0: use shared debugfs implementation 21fddc3 mt76x0: phy: introduce mt76x0_phy_set_txpower routine b0d85d4 mt76: include linux/module.h in files using MODULE_* a47083b mt76: report firmware version using ethtool dc66f7c mt76: usb: make rx page_frag_cache access atomic 09d696b mt76: use skb_pad() instead of __skb_pad() e8d7890 mt76x0: add quirk to disable 2.4GHz band for Archer T1U e76fe15 mt76x2: disable WLAN core before probe 41c552f mt76x0: work around cflags issue in compat layer for trace.h b95bc8a mt76x0: use mt76_poll in mt76x0_set_wlan_state 3a3554a mt76: move wait_for_wpdma in mt76x02_dma.h 0527feb mt76: add mt76x02_dma_enable/mt76x02_dma_disable utility routines a8fda4b mt76: move mt76x02_set_irq_mask in mt76x02_mmio.c 11e3028 mt76: move queue initialization in mt76x02_mmio.c 5a29094 mt76: move mt76x02_beacon_offset in mt76x02_util.c 5f1d0ff mt76: mmio: add implementation of wr_rp and rd_rp 47eee35 mt76: move mt76x2_wait_for_bbp in mt76x02-lib module 7cc4be7 mt76x0: update initvals to latest version of vendor driver e1a2179 mt76x0: pci: move mcu code in pci_mcu.c 886f6fc mt76x0: usb: move mcu code in usb_mcu.c c7b28f4 mt76x0: use mt76x02 utility routines in mt76x0 init code 005d40a mt76x0: init: remove duplicated initialization 94776fe mt76x0: init: remove MT_PBF_SYS_CTRL configuration in mt76x0_reset_csr_bbp 5bb8339 mt76x0: init rx filter in mt76x0_init_hardware fe1379a mt76: add mt76x02_mac_start routine da982d3 mt76x0: usb: move initialization code in usb.c 22be43e mt76x0: pci: add hw initialization at bootstrap 15a50e1 mt76x0: phy: set antenna parameter according to wireless band 5d2a331 mt76: move set_{tx,rx}_path routines in mt76x02-lib module 8050d71 mt76x0: add ieee80211_ops ops pointer to mt76x0_alloc_device signature c240904 mt76x0: pci: add mt76x0e_{start/stop} callbacks b50f38a mt76x0: eeprom: load eeprom data from mtd by default fb5bae0 mt76x0: usb: move mt76x0u_tx_prepare_skb in usb.c 4047e1f move mt7603 source files to mt7603/ 14f70f4 mt7603: fix wcid for frames sent via drv_tx 542f17e mt76: fix handling ps-poll frames 7464cc9 mt76: check aggregation sequence number for frames sent via drv_tx Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: fix tx power issue for mt76x2Felix Fietkau2018-09-221-3/+3
| | | | | | 6e1898d mt76x2: fix tx power configuration for VHT mcs 9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-08-241-3/+3
| | | | | | | | 7daf962 mt7603: add survey support 980c606 mt7603: add fix for CCA signal configuration 30b8371 mt7603: fix BAR rate Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-07-131-3/+3
| | | | | | | | | 08719b1 mt76: use a per rx queue page fragment cache 4d2c565 mt76x2: reset HW before probe f622975 mt76x2: fix CCK protection control frame rate 6780375 mt76x2: add frame protection support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-06-211-3/+3
| | | | | | 1d4ca10 mt76x2: track rssi for gain adjustment per station Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-06-181-3/+3
| | | | | | | 072fdac mt76x2: mac: consider multicast/broadcast frames in ewma rssi estimation f450659 mt76x2: improve gain adjustment in noisy environments Signed-off-by: Felix Fietkau <nbd@nbd.name>