summaryrefslogtreecommitdiffstats
path: root/include/net/iw_handler.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-10-07 22:00:03 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-10-08 21:54:14 +0200
commitff919efb5fe8256fba132b5f2c58df3c38bdd0b3 (patch)
tree4f694e74ef410f689eceeddcc724d62de67a1f3c /include/net/iw_handler.h
parentwifi: wext: merge adjacent CONFIG_COMPAT ifdef blocks (diff)
downloadlinux-ff919efb5fe8256fba132b5f2c58df3c38bdd0b3.tar.xz
linux-ff919efb5fe8256fba132b5f2c58df3c38bdd0b3.zip
wireless: wext: shorten struct iw_ioctl_description
There's no need for "future" extensions in an internal struct, and we don't need a u32 for flags, use just a u8. Also remove the unused IW_DESCR_FLAG_WAIT flag. Link: https://patch.msgid.link/20241007220003.309bd52fa763.I9a1229fa7f2be53d4f50e63671ed441d0968bb41@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/iw_handler.h')
-rw-r--r--include/net/iw_handler.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index 804587b7592b..c9b46b996197 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -279,8 +279,6 @@
#define IW_DESCR_FLAG_RESTRICT 0x0004 /* GET : request is ROOT only */
/* SET : Omit payload from generated iwevent */
#define IW_DESCR_FLAG_NOMAX 0x0008 /* GET : no limit on request size */
-/* Driver level flags */
-#define IW_DESCR_FLAG_WAIT 0x0100 /* Wait for driver event */
/****************************** TYPES ******************************/
@@ -373,11 +371,10 @@ struct iw_handler_def {
*/
struct iw_ioctl_description {
__u8 header_type; /* NULL, iw_point or other */
- __u8 token_type; /* Future */
+ __u8 flags; /* Special handling of the request */
__u16 token_size; /* Granularity of payload */
__u16 min_tokens; /* Min acceptable token number */
__u16 max_tokens; /* Max acceptable token number */
- __u32 flags; /* Special handling of the request */
};
/* Need to think of short header translation table. Later. */