Commit Graph

62 Commits

Author SHA1 Message Date
Hauke Mehrtens 55840040df mt76: Fix mirror hash
The mirror hash added in this commit was wrong.
The file on the mirror server and the newly generated file from git have
a different hash value, use that one.

Fixes: 4b5861c47 ("mt76: update to the latest version")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-08-30 11:55:30 +02:00
Felix Fietkau 4b5861c47d mt76: update to the latest version
Significant performance/stability improvements for MT76x2 and MT7603.
Adds LED support.

Changes:

2895775 mt76x2: mcu: remove unused parameter in mt76x2_mcu_msg_alloc signature
1dae8f0 mt7603: mcu: remove unused parameter in mt7603_mcu_msg_alloc() signature
5e49aa9 Fix errors found by cppcheck
1b8c8a0 mt7603: add LED definition registers
4d83561 mt76x2: add LED register definitions
2f40e4a mt76x2: Support using PCI ID as chip ID
27c64bc mt76: add led support using mac80211 led framework
dfd64fc mt76x2: init: add ma80211 led callbacks
215edf1 mt7603: init: add ma80211 led callbacks
9d36ff2 mt76x2: Add PCI identifier for MT7602
0b7984e mt7603: remove unnecessary mcu register read function
f5498d2 debugfs: add support for changing the LED pin
8e453b3 mac80211: move DT led configuration to the "led" child node
8f1673a mt76x2: limit client WCID entries to 0-127
f9d9c22 mt76x2: clear drop flag for all WCIDs on init
0dd8b68 mt76x2: clear per-WCID tx rate lookup register
3e5afe7 mt76x2: add helper function for setting drop mask
941555b mt76x2: clear drop mask when sending a PS response
7dfb354 mt76: increase rx ring size for mt76x2
73902dc mt76x2: add rx statistics registers
fe79816 mt76x2: fix LNA gain register annotation
cc588c5 mt76x2: sync channel gain value with latest reference driver
60a4d67 mt76x2: implement dynamic AGC tuning based on false packet detection count
4bc9aa9 mt76x2: add more gain tuning based on the latest reference driver
0a0d16f mt76x2: sync tx power related values with reference driver
8c821aa mac80211: add missing include
82acc85 mt7603: add missing include required on newer kernels
2c1a77c mt76x2: fix transmission of encrypted management frames
0532315 mt76x2: increase OFDM SIFS time
1acde21 mt76x2: add channel argument to eeprom tx power functions
58364a2 mt76x2: initialize channel power limits
c2bd89e mt76x2: convert between per-chain tx power and combined output
e7eaa7c mt7603: rename mt7603_mac_reset to mt7603_pse_reset
ea4c2a1 mt7603: rename MT_PSE_RESET register
c86c3a0 mt7603: remove watchdog reset on interface stop
4490f93 mt7603: remove WARN_ON_ONCE for workaround checks
3075059 mt7603: simplify PSE reset
4ed7e07 mt7603: warn if PSE reset fails
7dc8db1 mt7603: clean up dma debug reads
41e6a04 mt7603: make mt7603_mac_watchdog_reset() static
dc7a351 mt7603: clear wtbl PS bit for powersave responses
123acf2 mt7603: set tx-skip flag for powersave clients
7dd2a9e mt7603: initialize wtbl ps flag on station add
86ddef3 mt76x2: remove some harmless WARN_ONs in tx status and rx path
e326bc2 mt7603: remove some harmless WARN_ONs in rx path

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-12-04 10:52:52 +01:00
Felix Fietkau c1023c8075 mt76: sync with version 878456caf6 from master
Backport required DT changes from commit dabdd123c9.
Significantly improves stability and performance for MT76x2 and MT7603

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-10-13 11:56:25 +02:00
Felix Fietkau 7099bb19b5 mt76: ensure that the metapackage gets built as .ipk
Fixes errors during the image builder run

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-04-05 23:39:23 +02:00
Joseph C. Lehner 0a3088cb4b mt76: split kmod package
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]
2017-02-23 17:34:14 +01:00
Felix Fietkau f4162bf3ca mt76: update to the latest version
Fixes DFS detection false positive issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-31 21:29:33 +01:00
Stijn Tintel f4f2dd04bd mt76: select 802.11w support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Felix Fietkau <nbd@nbd.name>
2017-01-15 20:13:56 +01:00
Felix Fietkau a206394efa mt76: update to the latest version, adds support for 802.11w
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-15 14:53:27 +01:00
Felix Fietkau c7c1cf5618 treewide: clean up and unify PKG_VERSION for git based downloads
Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-22 16:42:21 +01:00
Felix Fietkau 2d4c42ad49 mt76: select 802.11ac support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-20 16:24:22 +01:00
Felix Fietkau 720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-16 22:39:22 +01:00
Felix Fietkau fb237477fd mt76: update to the latest version, fixes a build error on some platforms
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-15 13:02:31 +01:00
Felix Fietkau b305b8c386 mt76: update to the latest version, fixes dfs issues
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-12 10:54:47 +01:00
Felix Fietkau fb504e8799 Revert "mt76: update to the latest version, adds a tx queue configuration fix"
This reverts commit 32867540ea.
A report indicates that this causes a tx/rx throughput regression

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-11-05 10:16:53 +01:00
Felix Fietkau 32867540ea mt76: update to the latest version, adds a tx queue configuration fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-11-04 10:32:51 +01:00
Felix Fietkau acffa62d12 mt76: update to the latest version
Adds client + ad-hoc mode fixes and some initial TPC preparation work

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-08-25 13:00:10 +02:00
Felix Fietkau d98409edbc mt76: update to the latest version, fixes powersave issues
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-08 10:41:45 +02:00
Felix Fietkau 240137a744 mt76: update to the latest version, fixes a SMPS handling issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-17 14:51:11 +02:00
Felix Fietkau c2ec43733a mt76: update to latest version, adds survey support for mt76x2
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 17:50:51 +02:00
Felix Fietkau 8e70655f35 mt76: update to the latest version, fixes a monitor mode injection crash
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-15 15:00:14 +02:00
Felix Fietkau 7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Felix Fietkau 5770678122 mt76: disable build for linux 3.18
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-01 01:15:20 +02:00
Felix Fietkau df93d53a4b mac80211: update to wireless-testing 2016-05-12
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-15 20:55:39 +02:00
Felix Fietkau 5b64e3532a mt76: update to the latest version
Fixes a tx locking error and adds a pci id

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-05 19:43:23 +01:00
Felix Fietkau 6259583ef3 mt76: fix rebuild on CONFIG_PACKAGE_MAC80211_MESH changes
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-05 19:43:23 +01:00
John Crispin 0ffa58009a ramips: Fixes for LinkIt 7688
Misc fixes for LinkIt 7688 board:

- Copy the right wireless firmware for the mt7688
- Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4.
- Remove SPI_DEV from linux config which otherwise causes a massive warning
- Add wmac to LINKIT7688.dts so wireless works

Signed-off-by: Adam Kent <adam@semicircular.net>

SVN-Revision: 49130
2016-04-09 10:24:58 +00:00
John Crispin 1898144b5f mt76: fix compile error
gcc complained about uninitialized variables

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 49065
2016-03-21 20:42:56 +00:00
Felix Fietkau 296abba161 mt76: update to the latest version, adds some mt7603/mt7628 fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48958
2016-03-07 21:00:58 +00:00
Felix Fietkau a4c2092d17 mt76: update to the latest version, adds stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48895
2016-03-03 22:01:06 +00:00
Felix Fietkau 21ef61952b mt76: update to the latest version, adds basic mt7628 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48885
2016-03-02 17:40:55 +00:00
Felix Fietkau 64fc5264cc mt76: update to the latest version, adds a number of stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48814
2016-02-28 21:06:08 +00:00
Felix Fietkau 9d18e34052 mt76: update to the latest version, enable MT7603 support (very basic, needs testing and debugging work)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48811
2016-02-28 09:55:18 +00:00
Felix Fietkau 9546181867 mt76: update to the latest version, fixes fragmented rx issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48674
2016-02-08 13:38:22 +00:00
Felix Fietkau 21e716dbec mac80211: update A-MSDU tx patch to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48671
2016-02-08 13:37:55 +00:00
Felix Fietkau 18bcbbfd45 mt76: update to the latest version, adds A-MSDU support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48638
2016-02-05 16:43:47 +00:00
Felix Fietkau 704473864e mt76: update to the latest version, fixes tx status information polling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48597
2016-02-01 12:31:04 +00:00
Felix Fietkau 644bbe8c34 mt76: update to the latest version, adds some tx path and protection mode register fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48514
2016-01-27 23:58:19 +00:00
Felix Fietkau ba8a603a49 mt76: update to the latest version, fixes build with latest mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48250
2016-01-15 16:53:44 +00:00
Felix Fietkau 711e28f012 mt76: update to the latest version, fixes signal strength reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48234
2016-01-14 11:59:10 +00:00
Felix Fietkau 155f7ba037 mt76: update to the latest version, adds mac address fixes and some performance tuning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48232
2016-01-14 01:00:42 +00:00
Felix Fietkau e269b3b4bc mt76: update to the latest version from the mt7603 branch, adds support for overriding the mac address via OF
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48028
2016-01-01 18:57:54 +00:00
Felix Fietkau ec3ee0969e mac80211: update to wireless-testing 2015-10-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47286
2015-10-30 15:17:56 +00:00
Felix Fietkau ee480b694f mt76: update to the latest version, fixes tx related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47187
2015-10-12 13:11:26 +00:00
Felix Fietkau 6be33f517a mt76: update to the latest version, adds a few minor fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47143
2015-10-05 22:30:01 +00:00
Felix Fietkau d982a178aa mt76: update to the latest version, fixes some aggregation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47063
2015-09-27 22:39:53 +00:00
Felix Fietkau 98e55baaeb mt76: update to the latest version, adds performance improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47043
2015-09-24 15:39:45 +00:00
Felix Fietkau a149b9f987 mt76: update to the latest version, fixes some tx power issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46741
2015-08-28 07:05:41 +00:00
Felix Fietkau 5bd8e60ed2 mt76: update to the latest version, fixes more tx power related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46519
2015-07-29 16:01:55 +00:00
Felix Fietkau 1602a8cb6b mt76: update to the latest version, fixes some compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46513
2015-07-27 18:46:42 +00:00
Felix Fietkau 9ed820a4a7 mt76: update to the latest version, fixes rx buffer allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46409
2015-07-18 16:04:58 +00:00