diff options
author | Daniel Danzberger <daniel@dd-wrt.com> | 2019-12-19 15:41:24 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-01-05 17:17:40 +0100 |
commit | bf2c1069a7f14d1af1e02c8edd2b7338f0355ac8 (patch) | |
tree | 4cc5d15e3a0799d61ac192c71af3bd38c671c8d9 /include | |
parent | a6f6c053481fb5bb29fc8357fb107400100a0658 (diff) | |
download | iwinfo-bf2c1069a7f14d1af1e02c8edd2b7338f0355ac8.tar.gz |
nl80211: add htmode to iwinfo_ops
This callback shows the currently active HTMODE of the device.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iwinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h index d035c9c..5e64294 100644 --- a/include/iwinfo.h +++ b/include/iwinfo.h @@ -88,8 +88,9 @@ enum iwinfo_htmode { IWINFO_HTMODE_VHT80 = (1 << 4), IWINFO_HTMODE_VHT80_80 = (1 << 5), IWINFO_HTMODE_VHT160 = (1 << 6), + IWINFO_HTMODE_NOHT = (1 << 7), - IWINFO_HTMODE_COUNT = 7 + IWINFO_HTMODE_COUNT = 8 }; extern const char *IWINFO_HTMODE_NAMES[IWINFO_HTMODE_COUNT]; @@ -231,6 +232,7 @@ struct iwinfo_ops { int (*mbssid_support)(const char *, int *); int (*hwmodelist)(const char *, int *); int (*htmodelist)(const char *, int *); + int (*htmode)(const char *, int *); int (*ssid)(const char *, char *); int (*bssid)(const char *, char *); int (*country)(const char *, char *); |