Library to access wireless devices, inspired from OpenWRT without UCI
Find a file
Jo-Philipp Wich 14f864eb72 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>
2022-12-15 21:14:57 +01:00
api iwinfo: add 802.11ax HE rate information 2021-05-02 00:20:54 +02:00
include fix -Wduplicate-decl-specifier warnings 2022-12-15 20:07:49 +01:00
COPYING Initial commit 2014-10-05 19:56:27 +02:00
devices.txt devices: add MediaTek MT7986 WiSoC 2022-08-31 14:08:39 +01:00
iwinfo_cli.c fix -Wdangling-else warnings 2022-12-15 20:07:49 +01:00
iwinfo_lib.c fix -Wduplicate-decl-specifier warnings 2022-12-15 20:07:49 +01:00
iwinfo_lua.c fix -Wdangling-else warnings 2022-12-15 20:07:49 +01:00
iwinfo_madwifi.c iwinfo: set center chan unsupported for not-nl80211 driver 2021-01-06 17:38:07 +00:00
iwinfo_nl80211.c nl80211: add ability to describe USB devices 2022-12-15 21:14:57 +01:00
iwinfo_nl80211.h nl80211: fix code calculating average signal and rate 2018-04-09 07:30:37 +02:00
iwinfo_utils.c Correctly identify key management algorithms starting with "FT-" 2022-11-01 17:11:32 +01:00
iwinfo_wext.c iwinfo: set center chan unsupported for not-nl80211 driver 2021-01-06 17:38:07 +00:00
iwinfo_wext.h Initial commit 2014-10-05 19:56:27 +02:00
iwinfo_wext_scan.c wext_scan: fix possibly unterminated ifname string 2015-10-29 10:53:32 +01:00
iwinfo_wl.c iwinfo: set center chan unsupported for not-nl80211 driver 2021-01-06 17:38:07 +00:00
Makefile enable useful compiler warnings via -Wall 2022-12-15 20:07:27 +01:00