summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/util.c
AgeCommit message (Collapse)AuthorFilesLines
2019-09-05mt76: switch to SPDX tag instead of verbose boilerplate textRyder Lee1-12/+1
No functional change intended. Add SPDX identifiers to all remaining files in /mt76. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
2019-01-17mt76: fix rssi ewma trackingFelix Fietkau1-1/+1
The generic EWMA code cannot deal with negative numbers, so convert signal to a positive number before adding it Fixes mt76x2 AGC tuning Signed-off-by: Felix Fietkau <nbd@nbd.name>
2019-01-17mt76: move mt76x02_phy_get_min_avg_rssi to mt76 coreFelix Fietkau1-0/+42
This will be used by mt7603 as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-12-07mt76: add common code shared between multiple chipsetsFelix Fietkau1-0/+78
This will be used by drivers for MT76x2e, MT7603e and MT7628 Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>