diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-12-15 20:45:20 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-12-15 21:14:57 +0100 |
commit | 14f864eb72f55da55cb6d0672dad07b54bca3185 (patch) | |
tree | cd587317e19bf0a9517f56db35bb093714cd450b /devices.txt | |
parent | a5a75fd661da3cb029bf71fab5e27eebc14cdd1b (diff) | |
download | iwinfo-14f864eb72f55da55cb6d0672dad07b54bca3185.tar.gz |
nl80211: add ability to describe USB devices
Treat USB vendor and product IDs like PCI subsystem vendor and device IDs
respectively to allow describing USB devices as `0000 0000 $vid $pid` in
the hardware database.
As a side effect, this also skips potentially expensive MTD lookups on
embedded devices with plugged in USB radios.
With a 5.15 kernel, such MTD lookups even spam dmesg with:
mtdblock: MTD device 'factory' is NAND, please consider using UBI block devices instead.
This fix speeds up iwinfo considerably on affected systems:
Before:
sys 0m 3.56s
After:
sys 0m 0.09s
Suggested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'devices.txt')
0 files changed, 0 insertions, 0 deletions