#
972c5981 |
| 10-Feb-2020 |
Sean Wang <sean.wang@mediatek.com> |
mt76: mt76u: extend RX scatter gather number
Set RX scatter gather number to 4 in order to extend the maximum AMSDU size to 11,454.
Signed-off-by: Sean Wang <sean.wang@mediatek.com> Co-developed-by
mt76: mt76u: extend RX scatter gather number
Set RX scatter gather number to 4 in order to extend the maximum AMSDU size to 11,454.
Signed-off-by: Sean Wang <sean.wang@mediatek.com> Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
07cda406 |
| 11-Feb-2020 |
Felix Fietkau <nbd@nbd.name> |
mt76: fix rounding issues on converting per-chain and combined txpower
Unify code converting between the different txpower values. Always add/remove the combined txpower delta before dividing half-d
mt76: fix rounding issues on converting per-chain and combined txpower
Unify code converting between the different txpower values. Always add/remove the combined txpower delta before dividing half-dB values. Also fix the combined txpower delta values. The correct half-dB delta for 3 chains is 9, not 8.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
43ba1922 |
| 06-Feb-2020 |
Felix Fietkau <nbd@nbd.name> |
mt76: avoid extra RCU synchronization on station removal
Use sta_pre_rcu_remove callback to clear wcid pointer earlier
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
Revision tags: v5.4.18, v5.4.17 |
|
#
61c4fa72 |
| 30-Jan-2020 |
Felix Fietkau <nbd@nbd.name> |
mt76: mt7615: implement hardware reset support
When the firmware detects a problem, it needs the host to stop/reset DMA and resume it again when the hardware state has been reset.
Signed-off-by: Fe
mt76: mt7615: implement hardware reset support
When the firmware detects a problem, it needs the host to stop/reset DMA and resume it again when the hardware state has been reset.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
Revision tags: v5.4.16, v5.5, v5.4.15, v5.4.14, v5.4.13 |
|
#
94d4d076 |
| 15-Jan-2020 |
Lorenzo Bianconi <lorenzo@kernel.org> |
mt76: mt76u: introduce MT_DRV_RX_DMA_HDR flag
Define MT_DRV_RX_DMA_HDR flag in drv_flag in order to not skip rx frame dma header since new devices (e.g. mt7663u) reports rx frame info in the usb dma
mt76: mt76u: introduce MT_DRV_RX_DMA_HDR flag
Define MT_DRV_RX_DMA_HDR flag in drv_flag in order to not skip rx frame dma header since new devices (e.g. mt7663u) reports rx frame info in the usb dma header
Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
3bcd979c |
| 15-Jan-2020 |
Lorenzo Bianconi <lorenzo@kernel.org> |
mt76: mt76u: add endpoint to mt76u_bulk_msg signature
This is a preliminary patch to support mt7663u usb dongles
Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.w
mt76: mt76u: add endpoint to mt76u_bulk_msg signature
This is a preliminary patch to support mt7663u usb dongles
Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
9803b7b1 |
| 15-Jan-2020 |
Lorenzo Bianconi <lorenzo@kernel.org> |
mt76: mt76u: introduce mt76u_skb_dma_info routine
Introduce mt76u_skb_dma_info utility routine in mt76-usb module in order to be reused adding mt7663u support
Co-developed-by: Sean Wang <sean.wang@
mt76: mt76u: introduce mt76u_skb_dma_info routine
Introduce mt76u_skb_dma_info utility routine in mt76-usb module in order to be reused adding mt7663u support
Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
1e816c65 |
| 15-Jan-2020 |
Lorenzo Bianconi <lorenzo@kernel.org> |
mt76: mt76u: add {read/write}_extended utility routines
Introduce extended utility routines to read/write data o usb bus. New devices (e.g. mt7663u) will rely on both upper and lower part of the reg
mt76: mt76u: add {read/write}_extended utility routines
Introduce extended utility routines to read/write data o usb bus. New devices (e.g. mt7663u) will rely on both upper and lower part of the register address. Add ext parameter to mt76u_init signature in order to reuse the code adding mt7663u support.
Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
94e1cfa8 |
| 15-Jan-2020 |
Lorenzo Bianconi <lorenzo@kernel.org> |
mt76: mt76u: introduce mt76u_alloc_mcu_queue utility routine
Add mt76u_alloc_mcu_queue utility routine to allocate mcu hw rx queue. This is a preliminary patch to support new devices (e.g. mt7663u)
mt76: mt76u: introduce mt76u_alloc_mcu_queue utility routine
Add mt76u_alloc_mcu_queue utility routine to allocate mcu hw rx queue. This is a preliminary patch to support new devices (e.g. mt7663u) that rely on a hw queue for mcu messages
Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
Revision tags: v5.4.12, v5.4.11, v5.4.10, v5.4.9, v5.4.8, v5.4.7, v5.4.6, v5.4.5, v5.4.4, v5.4.3 |
|
#
85b7a5d0 |
| 09-Dec-2019 |
Lorenzo Bianconi <lorenzo@kernel.org> |
mt76: rely on mac80211 utility routines to compute airtime
Rely on mac80211 airitme utility routines and remove mt76 duplicated code to estimate tx/rx airtime
Signed-off-by: Lorenzo Bianconi <loren
mt76: rely on mac80211 utility routines to compute airtime
Rely on mac80211 airitme utility routines and remove mt76 duplicated code to estimate tx/rx airtime
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
e5051965 |
| 14-Dec-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: mt7615: measure channel noise and report it via survey
Read measurements every 100 ms and build a simple moving average
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
Revision tags: v5.3.15, v5.4.2 |
|
#
a6bfb6d1 |
| 29-Nov-2019 |
Stanislaw Gruszka <sgruszka@redhat.com> |
mt76: usb: use max packet length for m76u_copy
For transferring data over USB the optimal size is endpoint maxpacket. For my hardware maxpaket for control endpoint is 64 bytes and changing to this v
mt76: usb: use max packet length for m76u_copy
For transferring data over USB the optimal size is endpoint maxpacket. For my hardware maxpaket for control endpoint is 64 bytes and changing to this value from 128 bytes further shorten TBTT work time from 3ms to 1ms.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
94462486 |
| 18-Dec-2019 |
Markus Theil <markus.theil@tu-ilmenau.de> |
mt76: speed up usb bulk copy
Use larger batches for usb copy to speed this operation up. Otherwise it would be too slow for copying new beacons or broadcast frames over usb. Assure, that always a mu
mt76: speed up usb bulk copy
Use larger batches for usb copy to speed this operation up. Otherwise it would be too slow for copying new beacons or broadcast frames over usb. Assure, that always a multiple of 4 Bytes is copied, as outlined in 850e8f6fbd "mt76: round up length on mt76_wr_copy" from Felix Fietkau.
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
#
e7ec563e |
| 14-Dec-2019 |
Markus Theil <markus.theil@tu-ilmenau.de> |
mt76: use AC specific reorder timeout
Before this patch, mt76 handled rx traffic for all TIDs equally, when released from reorder buffer early. This patch uses an AC specific reorder timeout, in ord
mt76: use AC specific reorder timeout
Before this patch, mt76 handled rx traffic for all TIDs equally, when released from reorder buffer early. This patch uses an AC specific reorder timeout, in order to release partial aggregated frames for video ACs earlier. Voice ACs are currently not aggregated (thanks to Felix for this hint). For example, ath10k also uses AC specific reorder timeouts (reported by firmware in that case).
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de> Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|
Revision tags: v5.4.1, v5.3.14, v5.4, v5.3.13, v5.3.12, v5.3.11, v5.3.10 |
|
#
30684481 |
| 06-Nov-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: move ampdu_ref from mt76_dev to driver struct
It is only used by the driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
Revision tags: v5.3.9 |
|
#
c7d2d631 |
| 04-Nov-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: add ext_phy field to struct mt76_wcid
Will be used to determine the phy from within the driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
c89d3625 |
| 30-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: add function for allocating an extra wiphy
Unlike the core phy, this will have extra allocated memory for a driver private struct.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
a3d01038 |
| 30-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: add priv pointer to struct mt76_phy
Will be used for per-phy driver private data
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
Revision tags: v5.3.8, v5.3.7 |
|
#
8af63fed |
| 16-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: add multiple wiphy support to mt76_get_min_avg_rssi
Allow tracking clients of both wiphys separately
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
beaaeb6b |
| 16-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: move txpower and antenna mask to struct mt76_phy
Adds multiple wiphy support to mt76_get_txpower
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
9e5f6dd7 |
| 16-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: move txpower_conf back to driver specific structs
Nothing in the core uses it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
db7aa188 |
| 16-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: move chainmask back to driver specific structs
Nothing in the core uses it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
011849e0 |
| 16-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: move state from struct mt76_dev to mt76_phy
Allows keeping per-wiphy state separate
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
5a95ca41 |
| 14-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: keep a set of software tx queues per phy
Allows tracking tx scheduling separately per phy
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
#
96747a51 |
| 12-Oct-2019 |
Felix Fietkau <nbd@nbd.name> |
mt76: move channel state to struct mt76_phy
Add support for an extra wiphy in mt76_set_channel and mt76_get_survey This is preparation for supporting multiple wiphys per device to support the concur
mt76: move channel state to struct mt76_phy
Add support for an extra wiphy in mt76_set_channel and mt76_get_survey This is preparation for supporting multiple wiphys per device to support the concurrent dual-band feature of MT7615D
Signed-off-by: Felix Fietkau <nbd@nbd.name>
show more ...
|