Lines Matching +full:hardware +full:- +full:wise
1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com>
8 * Copyright (c) 2001-2007 Jean Tourrilhes, All Rights Reserved.
16 * Initial driver API (1996 -> onward) :
17 * -----------------------------------
37 * New driver API (2002 -> onward) :
38 * -------------------------------
54 * o Driver doesn't have to worry about memory and user-space issues
69 * ---
82 * Good luck with migration to the new API ;-)
85 /* ---------------------- THE IMPLEMENTATION ---------------------- */
92 * --------------------
98 * o Lean : it should be efficient memory wise to minimise the impact
105 * ---------------------------------------------
118 * ----------------------------------------
125 * hardware, it may be more efficient or logical to handle multiple
129 * modify it according to info->cmd and rewrite it).
132 * -----------------------------------------
137 * can't do it (different hardware may have different notion of what a
154 * ----------------------------------
157 * and only have a function to commit the registry to the hardware.
172 * ---------------------------------
178 * ----------------------
195 * --------------------------------
217 * --------
218 * - Move event definition in <linux/wireless.h>
219 * - Add Wireless Event support :
223 * --------
224 * - Reshuffle IW_HEADER_TYPE_XXX to map IW_PRIV_TYPE_XXX changes
227 * --------
228 * - Add new spy support : struct iw_spy_data & prototypes
231 * --------
232 * - Change the way we get to spy_data method for added safety
233 * - Remove spy #ifdef, they are always on -> cleaner code
234 * - Add IW_DESCR_FLAG_NOMAX flag for very large requests
235 * - Start migrating get_wireless_stats to struct iw_handler_def
238 * --------
239 * - Add struct ieee80211_device pointer in struct iw_public_data
240 * - Remove (struct iw_point *)->pointer from events and streams
241 * - Remove spy_offset from struct iw_handler_def
242 * - Add "check" version of event macros for ieee802.11 stack
245 * ----------
246 * - Prevent leaking of kernel space in stream on 64 bits.
274 * cool features we might need one day ;-) */
285 /* ----------------------- WIRELESS HANDLER ----------------------- */
291 * (that's the perfect hash table ;-).
304 __u16 flags; /* More to come ;-) */
325 * We will call dev->wireless_handlers->standard[ioctl - SIOCIWFIRST]
337 * Will call dev->wireless_handlers->private[ioctl - SIOCIWFIRSTPRIV]
347 /* New location of get_wireless_stats, to de-bloat struct net_device.
353 /* ---------------------- IOCTL DESCRIPTION ---------------------- */
382 /* --------------------- ENHANCED SPY SUPPORT --------------------- */
394 /* --- Standard spy support --- */
398 /* --- Enhanced spy support (event) */
406 * Functions part of the Wireless Extensions (defined in net/wireless/wext-core.c).
414 /* flush all previous wext events - if work is done from netdev notifiers */
431 if (info->flags & IW_REQUEST_FLAG_COMPAT) in iwe_stream_lcp_len()
440 if (info->flags & IW_REQUEST_FLAG_COMPAT) in iwe_stream_point_len()
450 if (info->flags & IW_REQUEST_FLAG_COMPAT) { in iwe_stream_event_len_adjust()
451 event_len -= IW_EV_LCP_LEN; in iwe_stream_event_len_adjust()
459 /*------------------------------------------------------------------*/
473 return ERR_PTR(-E2BIG); in iwe_stream_add_event_check()
477 /*------------------------------------------------------------------*/
492 return ERR_PTR(-E2BIG); in iwe_stream_add_point_check()
496 /*------------------------------------------------------------------*/