aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* mt76: update to the latest versionFelix Fietkau2018-06-151-3/+3
| | | | | | | | | | | | 9090f9c mt76x2: fix threshold for gain adjustment 2cbaa57 mt76x2: fix swapped values for RXO-18 in gain control a39ab70 mt76x2: adjust AGC control register 26 based on gain for VHT80 4936c0c mt76x2: clear false CCA counters after changing gain settings 1528fe7 mt76x2: fix variable gain adjustment range f3522e1 mt76x2: add a debugfs file to dump agc calibration information 65e161b mt76x2: fix tracking rssi for dynamic gain adjustment Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-06-051-3/+3
| | | | | | | | | | | | | | | 20c0766 mt7603: adjust rx hang watchdog for MT7628 664e321 mt7603: add extra PSE hang check signature for MT7628 f24b56f update MT7628 firmware to the latest version d87e4b0 mt7603: clear PSE reset bit if PSE reset fails 0ef26ef mt76: only stop tx queues on offchannel, not during the entire scan f399da3 mt76: prevent tx scheduling during channel change 21c1e1e mt76: move ieee80211_hw allocation to common core 730c292 mt76: wait for pending tx to complete before switching channel fcbb49e mt76x2: use udelay instead of usleep_range in mt76x2_mac_stop 792dbe0 mt7603: do not hold dev->mutex while flushing dev->mac_work Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-05-181-3/+3
| | | | | | | 73edb22 mt76: discard early received packets if not running yet 0b8d1dd mt76: fix beacon timer drift Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-05-151-3/+3
| | | | | | | | | b2ecc52 mt76x2: fix avg_rssi estimation fd58b28 mt76x2: add a polling delay in mt76x2_mac_stop routine a78673d mt76: fix sending encrypted broadcast packets for secondary interfaces e87f925 mt76x2: apply coverage class on slot time too Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-04-181-3/+3
| | | | | | | | ec8435e mt76: initialize rx lock earlier e08d5da mt76x2: fix is_mt7612 routine e2eedc9 mt7603: retry PSE reset calls Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-04-171-3/+3
| | | | | | | | | ea6dd6f mt7603: add missing spin lock init 2d08440 mt76: add rcu locking around tx scheduling 8c92c91 mt7603: turn vif wcid entry back into a full mt7603_sta ca5cc9a mt76: fix concurrent rx calls on A-MPDU release Signed-off-by: Felix Fietkau <nbd@nbd.name>