diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-06-09 13:57:23 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-06-09 13:57:26 +0200 |
commit | aa0e3c4bbe12f02ddb3a0a2e69b3b4f0b30b9b79 (patch) | |
tree | 34943e6d8d97203ff7cc824292c56eae28cb53e1 /include | |
parent | c45f0b584b4b86f8250f90ea19afca271c114fa2 (diff) | |
download | iwinfo-aa0e3c4bbe12f02ddb3a0a2e69b3b4f0b30b9b79.tar.gz |
iwinfo: nl80211: add support for printing the device path for a phy
Will be used to replace the shell code from mac80211.sh
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r-- | include/iwinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h index 3fc414b..f7097cc 100644 --- a/include/iwinfo.h +++ b/include/iwinfo.h @@ -293,6 +293,7 @@ struct iwinfo_ops { int (*countrylist)(const char *, char *, int *); int (*survey)(const char *, char *, int *); int (*lookup_phy)(const char *, char *); + int (*phy_path)(const char *phyname, const char **path); void (*close)(void); }; |