summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c
Commit message (Collapse)AuthorAgeFilesLines
* wifi: mt76: move aggr_stats array in mt76_phyLorenzo Bianconi2022-12-011-1/+1
| | | | | | | | Move aggregation stats array per-phy instead of share it between multiple interfaces. This is a preliminary patch to add mt7996 driver support. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: Convert to DEFINE_SHOW_ATTRIBUTEQinglang Miao2020-09-241-14/+4
| | | | | | | Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: add rx queues info to mt76 debugfsLorenzo Bianconi2020-05-121-1/+1
| | | | | | | | Introduce rx-queues debugfs node in order to dump rx queues status. This would be useful for mcu fw debugging Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: mt7603: make dynamic sensitivity adjustment configurable via debugfsFelix Fietkau2020-03-171-0/+2
| | | | | | In some cases it may be useful for debugging to disable this feature Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: mt7603: add upper limit for dynamic sensitivity minimum receive powerFelix Fietkau2020-03-171-0/+2
| | | | | | | | | If the minimum power is raised too much, it can make it impossible for weaker clients to connect, and there are some scenarios where the false detects will not go down no matter how much the sensitivity is adjusted. Fixes connectivity issues in some rare cases Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: mt7603: collect aggregation statsLorenzo Bianconi2019-11-201-0/+36
| | | | | | | | Introduce ampdu_stat entry in mt7603 debugfs in order to dump 802.11 aggr cumulative statistics Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: move queue debugfs entry to driver specific codeLorenzo Bianconi2019-11-201-0/+2
| | | | | | | | Move queue debugfs entry to driver specific code since mt7615 devices rely on a different queue layout Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: mt7603: fix some checkpatch warningsRyder Lee2019-09-051-1/+1
| | | | | | | | | | This fixes the following checkpatch warnings: WARNING: Improper SPDX comment style CHECK: No space is necessary after a cast Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: move nl80211_dfs_regions in mt76_dev data structureLorenzo Bianconi2019-06-271-1/+1
| | | | | | | | | Move dfs region field in mt76_dev data structure since it is used by all drivers. This is a preliminary patch to add DFS support to mt7615 driver Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: mt7603: add debugfs knob to enable/disable edccaLorenzo Bianconi2019-06-251-0/+30
| | | | | | | | Introduce a knob in mt7603 debugfs in order to enable/disable energy detection based on CCA thresholds Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: add driver for MT7603E and MT7628/7688Felix Fietkau2019-02-261-0/+56
This driver is for a newer generation of 2x2 MediaTek 802.11n chipsets. MT7603E is a PCIe chip. MT7628 and MT7688 are MIPS SoC devices with built-in WLAN. MT7688 is limited to 1x1 This driver fully supports AP, station, mesh, ad-hoc and monitor mode. Signed-off-by: Felix Fietkau <nbd@nbd.name>