This gathers many subsets to fix checkpatch.pl warnings and switches
to use SPDX tags.
I still keep some warnings there due to readability. The most of them
are networking block comments or Macro argument reuse...
Changes since v1:
- fix misspellings.
- fix a header convention error.
Ryder Lee (6):
mt76: Add paragraphs to describe the config symbols fully
mt76: mt7603: fix some checkpatch warnings
mt76: mt7615: fix some checkpatch warnings
mt76: mt76x02: fix some checkpatch warnings
mt76: fix some checkpatch warnings
mt76: switch to SPDX tag instead of verbose boilerplate text
drivers/net/wireless/mediatek/mt76/agg-rx.c | 34 ++++-------
drivers/net/wireless/mediatek/mt76/debugfs.c | 13 +---
drivers/net/wireless/mediatek/mt76/dma.c | 15 +----
drivers/net/wireless/mediatek/mt76/dma.h | 13 +---
drivers/net/wireless/mediatek/mt76/eeprom.c | 13 +---
drivers/net/wireless/mediatek/mt76/mac80211.c | 43 ++++++--------
drivers/net/wireless/mediatek/mt76/mcu.c | 13 +---
drivers/net/wireless/mediatek/mt76/mmio.c | 13 +---
drivers/net/wireless/mediatek/mt76/mt76.h | 59 ++++++++-----------
.../net/wireless/mediatek/mt76/mt7603/Kconfig | 6 +-
.../wireless/mediatek/mt76/mt7603/beacon.c | 2 +-
.../net/wireless/mediatek/mt76/mt7603/core.c | 2 +-
.../wireless/mediatek/mt76/mt7603/debugfs.c | 2 +-
.../net/wireless/mediatek/mt76/mt7603/dma.c | 7 ++-
.../wireless/mediatek/mt76/mt7603/eeprom.c | 2 +-
.../net/wireless/mediatek/mt76/mt7603/init.c | 3 +-
.../net/wireless/mediatek/mt76/mt7603/mac.c | 6 +-
.../net/wireless/mediatek/mt76/mt7603/main.c | 7 ++-
.../net/wireless/mediatek/mt76/mt7603/mcu.c | 2 +-
.../net/wireless/mediatek/mt76/mt7603/pci.c | 2 +-
.../net/wireless/mediatek/mt76/mt7603/soc.c | 2 +-
.../net/wireless/mediatek/mt76/mt7615/Kconfig | 7 ++-
.../wireless/mediatek/mt76/mt7615/debugfs.c | 2 +-
.../net/wireless/mediatek/mt76/mt7615/mac.c | 5 +-
.../net/wireless/mediatek/mt76/mt7615/mcu.c | 2 -
.../net/wireless/mediatek/mt76/mt76x0/Kconfig | 12 +++-
.../wireless/mediatek/mt76/mt76x0/mt76x0.h | 2 +-
.../net/wireless/mediatek/mt76/mt76x0/pci.c | 13 +---
.../wireless/mediatek/mt76/mt76x0/pci_mcu.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x0/phy.c | 40 +++++++------
.../net/wireless/mediatek/mt76/mt76x0/phy.h | 10 ++--
.../net/wireless/mediatek/mt76/mt76x0/usb.c | 16 ++---
.../wireless/mediatek/mt76/mt76x0/usb_mcu.c | 13 +---
drivers/net/wireless/mediatek/mt76/mt76x02.h | 38 +++++-------
.../wireless/mediatek/mt76/mt76x02_beacon.c | 17 +-----
.../wireless/mediatek/mt76/mt76x02_debugfs.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_dfs.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_dfs.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_dma.h | 13 +---
.../wireless/mediatek/mt76/mt76x02_eeprom.c | 13 +---
.../wireless/mediatek/mt76/mt76x02_eeprom.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_mac.c | 29 +++------
.../net/wireless/mediatek/mt76/mt76x02_mac.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_mcu.c | 26 +++-----
.../net/wireless/mediatek/mt76/mt76x02_mcu.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_mmio.c | 24 +++-----
.../net/wireless/mediatek/mt76/mt76x02_phy.c | 16 +----
.../net/wireless/mediatek/mt76/mt76x02_phy.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_regs.h | 41 +++++--------
.../wireless/mediatek/mt76/mt76x02_trace.c | 13 +---
.../wireless/mediatek/mt76/mt76x02_trace.h | 16 +----
.../net/wireless/mediatek/mt76/mt76x02_txrx.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_usb.h | 13 +---
.../wireless/mediatek/mt76/mt76x02_usb_core.c | 15 +----
.../wireless/mediatek/mt76/mt76x02_usb_mcu.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x02_util.c | 33 ++++-------
.../net/wireless/mediatek/mt76/mt76x2/Kconfig | 14 ++++-
.../wireless/mediatek/mt76/mt76x2/eeprom.c | 23 +++-----
.../wireless/mediatek/mt76/mt76x2/eeprom.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/init.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/mac.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/mac.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/mcu.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/mcu.h | 16 +----
.../wireless/mediatek/mt76/mt76x2/mt76x2.h | 13 +---
.../wireless/mediatek/mt76/mt76x2/mt76x2u.h | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/pci.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/pci_init.c | 14 +----
.../wireless/mediatek/mt76/mt76x2/pci_main.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/pci_mcu.c | 17 +-----
.../wireless/mediatek/mt76/mt76x2/pci_phy.c | 13 +---
.../net/wireless/mediatek/mt76/mt76x2/phy.c | 18 ++----
.../net/wireless/mediatek/mt76/mt76x2/usb.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/usb_init.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/usb_mac.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/usb_main.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/usb_mcu.c | 13 +---
.../wireless/mediatek/mt76/mt76x2/usb_phy.c | 13 +---
drivers/net/wireless/mediatek/mt76/trace.c | 13 +---
drivers/net/wireless/mediatek/mt76/trace.h | 22 ++-----
drivers/net/wireless/mediatek/mt76/tx.c | 31 ++++------
drivers/net/wireless/mediatek/mt76/usb.c | 44 ++++++--------
.../net/wireless/mediatek/mt76/usb_trace.c | 13 +---
.../net/wireless/mediatek/mt76/usb_trace.h | 24 +++-----
drivers/net/wireless/mediatek/mt76/util.c | 13 +---
drivers/net/wireless/mediatek/mt76/util.h | 4 +-
86 files changed, 321 insertions(+), 971 deletions(-)
--
2.18.0
Update the help text to fix a checkpatch warning:
WARNING: please write a paragraph that describes the config symbol fully
Signed-off-by: Ryder Lee <[email protected]>
---
drivers/net/wireless/mediatek/mt76/mt7603/Kconfig | 6 ++++--
drivers/net/wireless/mediatek/mt76/mt7615/Kconfig | 7 ++++++-
drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig | 12 ++++++++++--
drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig | 14 +++++++++++---
4 files changed, 31 insertions(+), 8 deletions(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig
index e108bf881ca8..6a0080f1d91c 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig
@@ -5,6 +5,8 @@ config MT7603E
depends on MAC80211
depends on PCI
help
- This adds support for MT7603E wireless PCIe devices and the WLAN core on
- MT7628/MT7688 SoC devices
+ This adds support for MT7603E wireless PCIe devices and the WLAN core
+ on MT7628/MT7688 SoC devices. This family supports IEEE 802.11n 2x2
+ to 300Mbps PHY rate
+ To compile this driver as a module, choose M here.
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
index 2ed47b309b6e..4cabba9aa2ea 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
@@ -5,4 +5,9 @@ config MT7615E
depends on MAC80211
depends on PCI
help
- This adds support for MT7615-based wireless PCIe devices.
+ This adds support for MT7615-based wireless PCIe devices,
+ which support concurrent dual-band operation at both 5GHz
+ and 2.4GHz, IEEE 802.11ac 4x4:4SS 1733Mbps PHY rate, wave2
+ MU-MIMO up to 4 users/group and 160MHz channels.
+
+ To compile this driver as a module, choose M here.
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig b/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig
index 209d8abc49d5..7c88ed8b8f1e 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig
@@ -10,7 +10,11 @@ config MT76x0U
depends on MAC80211
depends on USB
help
- This adds support for MT7610U-based wireless USB dongles.
+ This adds support for MT7610U-based wireless USB 2.0 dongles,
+ which comply with IEEE 802.11ac standards and support 1x1
+ 433Mbps PHY rate.
+
+ To compile this driver as a module, choose M here.
config MT76x0E
tristate "MediaTek MT76x0E (PCIe) support"
@@ -18,4 +22,8 @@ config MT76x0E
depends on MAC80211
depends on PCI
help
- This adds support for MT7610/MT7630-based wireless PCIe devices.
+ This adds support for MT7610/MT7630-based wireless PCIe devices,
+ which comply with IEEE 802.11ac standards and support 1x1
+ 433Mbps PHY rate.
+
+ To compile this driver as a module, choose M here.
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig b/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig
index 1f69908f8373..5fd4973e32df 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig
@@ -8,8 +8,12 @@ config MT76x2E
select MT76x2_COMMON
depends on MAC80211
depends on PCI
- ---help---
- This adds support for MT7612/MT7602/MT7662-based wireless PCIe devices.
+ help
+ This adds support for MT7612/MT7602/MT7662-based wireless PCIe
+ devices, which comply with IEEE 802.11ac standards and support
+ 2SS to 866Mbit/s PHY rate.
+
+ To compile this driver as a module, choose M here.
config MT76x2U
tristate "MediaTek MT76x2U (USB) support"
@@ -18,4 +22,8 @@ config MT76x2U
depends on MAC80211
depends on USB
help
- This adds support for MT7612U-based wireless USB dongles.
+ This adds support for MT7612U-based wireless USB 3.0 dongles,
+ which comply with IEEE 802.11ac standards and support 2SS to
+ 866Mbit/s PHY rate.
+
+ To compile this driver as a module, choose M here.
--
2.18.0