aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76
Commit message (Collapse)AuthorAgeFilesLines
* mt76: update to the latest versionFelix Fietkau2018-04-091-3/+3
| | | | | | | | | | | | | | | | | | | c66094e mt76x2: fix possible NULL pointer dereferencing in mt76x2_tx() 249fa2d mt76x2: fix warning in ieee80211_get_key_rx_seq() 54d6710 mt76: use mt76_poll_msec routine in mt76pci_load_firmware() eb359f1 mt76x2: remove unnecessary len variable in mt76x2_eeprom_load() 7e6e00b mt76: initialize available_antennas_{tx,rx} info 6469dca mt76: add mt76_init_stream_cap routine ced433d mt76x2: add mac80211 {set,get}_antenna callbacks 238f3f1 mt76x2: remove warnings in mt76x2_mac_write_txwi() 880611b mt7603: main: fix warning in ieee80211_get_key_rx_seq() bc35af8 mt76x2: fix tssi initialization for 5GHz band 700ed20 mt76x2: make mt76x2_mac_reset routine static 6e7d5ce mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration 5153ece mt76x2: set default values in TX_ALC_CFG_{1,2} for tempetaure compensation a3e7740 mt76x2: fix tx_alc_enabled check Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-03-041-3/+3
| | | | | | | cda627f mt76: add missing VHT maximum A-MPDU length capability ffa2069 mt76: fix potential sleep in atomic context Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, improves performance and fixes tx power ↵Felix Fietkau2018-02-241-3/+3
| | | | | | | | | issues 62d52e9 mt76: set RX_FLAG_DUP_VALIDATED for A-MPDU reordered packets 5ba5995 mt76x2: rework tx power handling Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes mt7603 stability issuesFelix Fietkau2018-02-091-3/+3
| | | | | | | | 3413961 mt7603: avoid reordering qos-null data packets c60e6db mt76: toggle driver station powersave bit before notifying mac80211 246d548 mt76: stop tx queues from the driver callback instead of common code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b7fae4 mt76: fix returnvar.cocci warnings 939e3e0 mt76x2: dfs: avoid tasklet scheduling during mt76x2_dfs_init_params() cf59170 mt76x2: dfs: add set_domain handler 5e4d60e mt76x2: dfs: take into account dfs region in mt76x2_dfs_init_params() f76e25f mt76x2: fix WMM parameter configuration 34d612d mt76: retry rx polling as long as there is budget left 0f8327a mt76x2: fix TSF value in probe responses ad3f8e9 mt76: add an intermediate struct for rx status information 58a41f1 mt76: get station pointer by wcid and pass it to mac80211 b0508d3 mt76: implement A-MPDU rx reordering in the driver code cf3cfc4 mt76: split mt76_rx_complete 461cdf9 mt76: pass the per-vif wcid to the core for multicast rx 9b2c778 mt76: validate rx CCMP PN 302af90 mt76x2: init: disable all pending tasklets during device removal 9f685fe mt7603: init: disable tbtt tasklet during device removal c6f8cac mt76: let mac80211 validate CCMP PN for fragmented frames 3968dae mt7603: fix 40 mhz channel bandwidth reporting 9c2e03d mt7603: fix rx LDPC reporting f515dfc mt76: implement AP_LINK_PS 974142c mt76: implement processing of BlockAckReq frames c5209db mt76: avoid re-queueing A-MPDU rx reorder work if no frames are pending e67e7a5 mt76x2: do not set status->aggr for NULL data frames 8693864 mt76: check qos ack policy before reordering packets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "mt76: update to the latest version"Felix Fietkau2018-01-251-3/+3
| | | | | | | This reverts commit 99eb128acaf76a69119fd2de8e194f2b2bbb0427. Connectivity issues reported by users, needs rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-01-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 2b7fae4 mt76: fix returnvar.cocci warnings 939e3e0 mt76x2: dfs: avoid tasklet scheduling during mt76x2_dfs_init_params() cf59170 mt76x2: dfs: add set_domain handler 5e4d60e mt76x2: dfs: take into account dfs region in mt76x2_dfs_init_params() f76e25f mt76x2: fix WMM parameter configuration 34d612d mt76: retry rx polling as long as there is budget left 0f8327a mt76x2: fix TSF value in probe responses ad3f8e9 mt76: add an intermediate struct for rx status information 58a41f1 mt76: get station pointer by wcid and pass it to mac80211 b0508d3 mt76: implement A-MPDU rx reordering in the driver code cf3cfc4 mt76: split mt76_rx_complete 461cdf9 mt76: pass the per-vif wcid to the core for multicast rx 9b2c778 mt76: validate rx CCMP PN 302af90 mt76x2: init: disable all pending tasklets during device removal 9f685fe mt7603: init: disable tbtt tasklet during device removal c6f8cac mt76: let mac80211 validate CCMP PN for fragmented frames 3968dae mt7603: fix 40 mhz channel bandwidth reporting 9c2e03d mt7603: fix rx LDPC reporting Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, reverts MAC address changes causing ↵Felix Fietkau2017-12-171-3/+3
| | | | | | | | | | | | | | | | | | | performance regressions cf4a5ce mt76: fix memcpy to potential null pointer on failed allocation ca5ca8c mt76x2: fix possible NULL pointer dereferencing in mt76x2_ampdu_action() 2d4b8f5 mt76x2: mac: fix possible NULL pointer dereferencing in mt76x2_mac_write_txwi() 4ca8bba mt76x2: eeprom: fix typo in mt76x2_get_power_info_5g() 00f7e60 mt7603: fix configuration for HT40 31e9bdb mt7603: main: fix possible NULL pointer dereferencing in mt7603_ampdu_action() bf90dd2 mt7603: mcu: fix potential NULL pointer dereferencing on failed allocation 860b185 Revert "mt76x2: init: disable APCLI by default" bcd576e Revert "mt76x2: drop wiphy->addresses" bdc6f2f Revert "mt76x2: clean up MAC/BSSID address initialization" d242650 Revert "mt76x2: remove MAC address limitation for multi-vif setups" 68b0cf1 mt76x2: add functions for setting extended MAC address registers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes setting per-vif mac addressFelix Fietkau2017-12-081-3/+3
| | | | | | | | | | | | | | d02a05b mt7603: update firmware to version 20160107100755 4d4cd05 Partially revert "mt7603: use mcu command to set timing registers, fix OFDM timeout values" 170f334 mt76x2: remove MAC address limitation for multi-vif setups 3563b8f mt76x2: clean up MAC/BSSID address initialization 9de77e1 mt76x2: drop wiphy->addresses a6a6e25 mt76x2: init: disable APCLI by default c64633e mt76x2: configure rx filter based on monitor mode setting ac815fa mt76x2: init: fix rx filter default value during init e504656 mt7603: configure other-unicast drop based on monitor mode setting Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, adds stability fixesFelix Fietkau2017-12-031-3/+3
| | | | | | | | | | | | | | | | | | | | | 11f42a8 mt76x2: add channel argument to eeprom tx power functions 3bd7e76 mt76x2: initialize channel power limits 19fff41 mt76x2: convert between per-chain tx power and combined output 737cf2b mt7603: rename mt7603_mac_reset to mt7603_pse_reset 8026638 mt7603: rename MT_PSE_RESET register c4dd32a mt7603: remove watchdog reset on interface stop d99092b mt7603: remove WARN_ON_ONCE for workaround checks c8807b4 mt7603: simplify PSE reset d8a5990 mt7603: warn if PSE reset fails c079960 mt7603: clean up dma debug reads 96817d6 mt7603: make mt7603_mac_watchdog_reset() static e953c78 mt7603: clear wtbl PS bit for powersave responses 57a2e33 mt7603: set tx-skip flag for powersave clients c8e5ab1 mt7603: initialize wtbl ps flag on station add b4034cf mt76x2: remove some harmless WARN_ONs in tx status and rx path 8e17d36 mt7603: remove some harmless WARN_ONs in rx path Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes encrypted mesh support and HT20 issuesFelix Fietkau2017-11-291-3/+3
| | | | | | | | | fc28872 mac80211: add missing include a4c82ca mt7603: add missing include required on newer kernels 792859b mt76x2: fix transmission of encrypted management frames a51358e mt76x2: increase OFDM SIFS time Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2017-11-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Significantly improves throughput on MT76x2, fixes some stability issues, adds LED support. Changes: 266ef38 mt76x2: mcu: remove unused parameter in mt76x2_mcu_msg_alloc signature 758376d mt7603: mcu: remove unused parameter in mt7603_mcu_msg_alloc() signature e764787 Fix errors found by cppcheck a6fce8a mt7603: add LED definition registers f658dd2 mt76x2: add LED register definitions f6a021d mt76x2: Support using PCI ID as chip ID c9bdcd8 mt76: add led support using mac80211 led framework 58e9138 mt76x2: init: add ma80211 led callbacks 8ea8da3 mt7603: init: add ma80211 led callbacks ded88cd mt76x2: Add PCI identifier for MT7602 51a6764 mt7603: remove unnecessary mcu register read function fbdbf65 debugfs: add support for changing the LED pin cc02e49 mac80211: move DT led configuration to the "led" child node e4e7734 mt76x2: limit client WCID entries to 0-127 60172cc mt76x2: clear drop flag for all WCIDs on init d8140b6 mt76x2: clear per-WCID tx rate lookup register 0ce7923 mt76x2: add helper function for setting drop mask ccc4baf mt76x2: clear drop mask when sending a PS response ff60d14 mt76: increase rx ring size for mt76x2 b57ada5 mt76x2: add rx statistics registers af425de mt76x2: fix LNA gain register annotation efd7724 mt76x2: sync channel gain value with latest reference driver 4af37bd mt76x2: implement dynamic AGC tuning based on false packet detection count 70f2002 mt76x2: add more gain tuning based on the latest reference driver 8f1c8ab mt76x2: sync tx power related values with reference driver Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: use KERNEL_MAKE_FLAGS for kernel file compilationsKarl Vogel2017-10-291-2/+1
| | | | | | | The build system already defines KERNEL_CROSS which defaults to TARGET_CROSS. Make use of this variable for kernel makefiles. Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
* mt76: switch to AutoProbeJonas Gorski2017-10-271-3/+2
| | | | | | | Now that we have working module dependency generation, we can switch to AutoProbe and let modprobe handle loading required modules. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mt76: update to the latest versionFelix Fietkau2017-10-132-89/+3
| | | | | | | e781569 update to latest mac80211/cfg80211 API changes 37654d7 mt76x2: fix tx status ampdu length corner case Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to backports-4.14-rc2Hauke Mehrtens2017-10-011-0/+86
| | | | | | | | | | | | | | | | | | | | This updates mac80211 to backprots-4.14-rc2. This was compile and runtime tested with ath9k, ath10k and b43 with multiple stations and ieee80211w and in different scenarios by many other people. To create the backports-4.14-rc2-1.tar.xz use this repository: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git from tag v4.14-rc2-1 Then run this: ./gentree.py --git-revision v4.14-rc2 --clean <path to linux repo> ../backports-4.14-rc2-1 This also adapts the ath10k-ct and mt76 driver to the changed cfg80211 APIs and syncs the nl80211.h file in iw with the new version from backports-4.14-rc2. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mt76: update to the latest version, improves mt7603 stabilityFelix Fietkau2017-09-281-3/+3
| | | | | | | | cb83f33 mt7603: mac: fix logic in mt7603_tx_hang() 21f20b4 mt7603: mac: fix register configuration in mt7603_rx_dma_busy() d5e945e mt7603: mcu: fix indentation of mcu command definition Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix mt76x8 dependenciesJohn Crispin2017-09-051-1/+1
| | | | | | | The commit merging mt7628 and mt7688 failed to update some dependencies. Signed-off-by: John Crispin <john@phrozen.org>
* mt76: update to the latest version, fixes stability issuesFelix Fietkau2017-07-211-3/+3
| | | | | | | | 8a649c3 mt7603: mac: code optimization 8dee788 mt7603: mac: stop netdev queues during watchdog reset 3c4c9a6 tx: move state check in mt76_txq_send_burst() Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2017-07-051-3/+3
| | | | | | | | | | | | | Fixes mt7603 stablity and performance issues af32615 mt7603: change auto rate control register initialization 01fb9ba mt7603: fix control/status retries count estimation cf4ba12 mt7603: avoid tx rate sampling using no retransmissions 32eab50 mt7603: set wtbl entry vif index c4e3dea mt7603: use the real vif index in txwi header for normal tx. e90a81a mt7603: fix channel width fall back in TXWI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes rate control issuesFelix Fietkau2017-06-171-3/+3
| | | | | | Should improve performance considerably in many cases Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update mirror hash after tar portablity fixFelix Fietkau2017-05-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes a mt7603 beacon issueFelix Fietkau2017-05-301-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, improves mt7603/7628 stabilityFelix Fietkau2017-05-291-4/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: ensure that the metapackage gets built as .ipkFelix Fietkau2017-04-051-0/+4
| | | | | | Fixes errors during the image builder run Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes Mesh/IBSS crypto supportFelix Fietkau2017-03-171-3/+3
| | | | | | | | 9f02db7 mt76x2: fall back to software crypto for IBSS/Mesh per-sta GTK 4a54ab3 mt7603: fall back to software crypto for IBSS/Mesh per-sta GTK 712b8e8 mac80211: claim RSN IBSS support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, improves mt7603 supportFelix Fietkau2017-03-151-3/+3
| | | | | | | | | | | | | | | | | 03e44dc mt76x2: remove unnecessary headroom check cc70498 mt76x2: clarify queue selection field b056a78 dma: fix endian issue in mt76_dma_get_buf f020a60 mt7603: support loading the entire EEPROM from OTP 29b08d3 mt7603: fix endian issue in mt7603_mcu_set_timing dce8aac mt7603: fix endian issue in mt7603_mac_fill_rx f22273b mt7603: init WTBL entry before setting capabilities da8e796 mt7603: check wtbl busy status and stop/start tx queues when clearing sta entry e54add5 mt7603: move napi/tasklet enable/disable outside of the locked section 59ce2b4 mt7603: set tx vif own MAC index (needed for beacons) 93ce124 mt7603: enable beacons for other virtual interfaces c91e660 mt7603: set secondary beacon time offsets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: split kmod packageJoseph C. Lehner2017-02-231-13/+49
| | | | | | | | | | | | | | | | This patch splits `kmod-mt76` into three separate packages: `kmod-mt76-core`, `kmod-mt76x2` and `kmod-mt7603`. By making `kmod-mt76` a metapackage containing these new packages, the previous behaviour of including all drivers and firmware is left unchanged, unless explicitly unselected in `DEVICE_PACKAGES`. This splitting is especially beneficial for devices with small flash chips, since the `kmod-mt76` package currently requires ~160K on squashfs (after compression). Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
* mt76: update to the latest version, fixes a MAC address handling regressionFelix Fietkau2017-02-041-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2017-02-011-3/+3
| | | | | | | | Uses upstream code to parse DT supported band/frequency information. Update existing .dts files to the new format and remove unnecessary overrides. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2017-01-311-3/+3
| | | | | | Fixes DFS detection false positive issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: select 802.11w supportStijn Tintel2017-01-151-1/+3
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, adds support for 802.11wFelix Fietkau2017-01-151-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-4/+2
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: select 802.11ac supportFelix Fietkau2016-12-201-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-0/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes a build error on some platformsFelix Fietkau2016-12-151-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes dfs issuesFelix Fietkau2016-12-121-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "mt76: update to the latest version, adds a tx queue configuration fix"Felix Fietkau2016-11-051-2/+2
| | | | | | | This reverts commit 32867540ea18db2c8b025723768093cd5c12f22b. A report indicates that this causes a tx/rx throughput regression Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, adds a tx queue configuration fixFelix Fietkau2016-11-041-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2016-08-251-2/+2
| | | | | | Adds client + ad-hoc mode fixes and some initial TPC preparation work Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes powersave issuesFelix Fietkau2016-07-081-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes a SMPS handling issueFelix Fietkau2016-06-171-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to latest version, adds survey support for mt76x2Felix Fietkau2016-06-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, fixes a monitor mode injection crashFelix Fietkau2016-06-151-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: disable build for linux 3.18Felix Fietkau2016-06-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-05-12Felix Fietkau2016-05-151-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2016-05-052-13/+2
| | | | | | Fixes a tx locking error and adds a pci id Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: fix rebuild on CONFIG_PACKAGE_MAC80211_MESH changesFelix Fietkau2016-05-051-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>