[PATCH 3/4] utils: skip comment lines when parsing devices.txt

2023-01-18 Thread Andre Heider
Just a small optimization, skip the line early if it starts with a #. Signed-off-by: Andre Heider --- iwinfo_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iwinfo_utils.c b/iwinfo_utils.c index ecd1dff..d96cbb3 100644 --- a/iwinfo_utils.c +++ b/iwinfo_utils.c @@ -280,6 +280,9 @@

[PATCH 4/4] devices: add USB devices supported by the mt76 driver

2023-01-18 Thread Andre Heider
A nice and stable working mainline driver deserves first class support, and this adds all USB devices supported by it. The PIDs/VIDs are taken directly from the driver, in the very same order to make future syncs easy. The single left out entry is the unknown 148f:760a. Signed-off-by: Andre

[PATCH 1/4] devices: add MediaTek MT7628 card

2023-01-18 Thread Andre Heider
This adds the single missing compatible supported by the mt76 driver, which is used by a bunch of ramips mt7628an devices. Signed-off-by: Andre Heider --- devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.txt b/devices.txt index 4da663d..e316d60 100644 --- a/devices.txt

[PATCH 2/4] cli: describe USB devices as such

2023-01-18 Thread Andre Heider
This makes it clear if the hardware is embedded or usb/pci based. Signed-off-by: Andre Heider --- iwinfo_cli.c | 4 1 file changed, 4 insertions(+) diff --git a/iwinfo_cli.c b/iwinfo_cli.c index f46772b..5dcee9a 100644 --- a/iwinfo_cli.c +++ b/iwinfo_cli.c @@ -367,6 +367,10 @@ static char