dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
53 lines
1.6 KiB
C
53 lines
1.6 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* This file define a set of standard wireless extensions
|
|
*
|
|
* Version : 22 16.3.07
|
|
*
|
|
* Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com>
|
|
* Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
|
|
*/
|
|
#ifndef _LINUX_WIRELESS_H
|
|
#define _LINUX_WIRELESS_H
|
|
|
|
#include <uapi/linux/wireless.h>
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
|
|
#include <linux/compat.h>
|
|
|
|
struct compat_iw_point {
|
|
compat_caddr_t pointer;
|
|
__u16 length;
|
|
__u16 flags;
|
|
};
|
|
|
|
struct __compat_iw_event {
|
|
__u16 len; /* Real length of this stuff */
|
|
__u16 cmd; /* Wireless IOCTL */
|
|
|
|
union {
|
|
compat_caddr_t pointer;
|
|
|
|
/* we need ptr_bytes to make memcpy() run-time destination
|
|
* buffer bounds checking happy, nothing special
|
|
*/
|
|
DECLARE_FLEX_ARRAY(__u8, ptr_bytes);
|
|
};
|
|
};
|
|
#define IW_EV_COMPAT_LCP_LEN offsetof(struct __compat_iw_event, pointer)
|
|
#define IW_EV_COMPAT_POINT_OFF offsetof(struct compat_iw_point, length)
|
|
|
|
/* Size of the various events for compat */
|
|
#define IW_EV_COMPAT_CHAR_LEN (IW_EV_COMPAT_LCP_LEN + IFNAMSIZ)
|
|
#define IW_EV_COMPAT_UINT_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(__u32))
|
|
#define IW_EV_COMPAT_FREQ_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct iw_freq))
|
|
#define IW_EV_COMPAT_PARAM_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct iw_param))
|
|
#define IW_EV_COMPAT_ADDR_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct sockaddr))
|
|
#define IW_EV_COMPAT_QUAL_LEN (IW_EV_COMPAT_LCP_LEN + sizeof(struct iw_quality))
|
|
#define IW_EV_COMPAT_POINT_LEN \
|
|
(IW_EV_COMPAT_LCP_LEN + sizeof(struct compat_iw_point) - \
|
|
IW_EV_COMPAT_POINT_OFF)
|
|
#endif /* CONFIG_COMPAT */
|
|
#endif /* _LINUX_WIRELESS_H */
|