Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

wlan_compat.h File Reference

#include <linux/types.h>

Include dependency graph for wlan_compat.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define WLAN_Ix86   1
#define WLAN_PPC   2
#define WLAN_Ix96   3
#define WLAN_ARM   4
#define WLAN_ALPHA   5
#define WLAN_MIPS   6
#define WLAN_HPPA   7
#define WLAN_SPARC   8
#define WLAN_SH   9
#define WLAN_x86_64   10
#define WLAN_PCAT   1
#define WLAN_MBX   2
#define WLAN_RPX   3
#define WLAN_LWARCH   4
#define WLAN_PMAC   5
#define WLAN_SKIFF   6
#define WLAN_BITSY   7
#define WLAN_ALPHAARCH   7
#define WLAN_MIPSARCH   9
#define WLAN_HPPAARCH   10
#define WLAN_SPARCARCH   11
#define WLAN_SHARCH   12
#define BIT0   0x00000001
#define BIT1   0x00000002
#define BIT2   0x00000004
#define BIT3   0x00000008
#define BIT4   0x00000010
#define BIT5   0x00000020
#define BIT6   0x00000040
#define BIT7   0x00000080
#define BIT8   0x00000100
#define BIT9   0x00000200
#define BIT10   0x00000400
#define BIT11   0x00000800
#define BIT12   0x00001000
#define BIT13   0x00002000
#define BIT14   0x00004000
#define BIT15   0x00008000
#define BIT16   0x00010000
#define BIT17   0x00020000
#define BIT18   0x00040000
#define BIT19   0x00080000
#define BIT20   0x00100000
#define BIT21   0x00200000
#define BIT22   0x00400000
#define BIT23   0x00800000
#define BIT24   0x01000000
#define BIT25   0x02000000
#define BIT26   0x04000000
#define BIT27   0x08000000
#define BIT28   0x10000000
#define BIT29   0x20000000
#define BIT30   0x40000000
#define BIT31   0x80000000
#define UINT8_MAX   (0xffUL)
#define UINT16_MAX   (0xffffUL)
#define UINT32_MAX   (0xffffffffUL)
#define INT8_MAX   (0x7fL)
#define INT16_MAX   (0x7fffL)
#define INT32_MAX   (0x7fffffffL)
#define __WLAN_ATTRIB_PACK__   __attribute__ ((packed))
#define WLAN_DBVAR   wlan_debug
#define WLAN_LOG_ERROR(x, args...)   printk(KERN_ERR "%s: " x , __FUNCTION__ , ##args);
#define WLAN_LOG_WARNING(x, args...)   printk(KERN_WARNING "%s: " x , __FUNCTION__ , ##args);
#define WLAN_LOG_NOTICE(x, args...)   printk(KERN_NOTICE "%s: " x , __FUNCTION__ , ##args);
#define WLAN_LOG_INFO(args...)   printk(KERN_INFO args)
#define WLAN_ASSERT(c)
#define WLAN_HEX_DUMP(l, s, p, n)
#define DBFENTER
#define DBFEXIT
#define WLAN_LOG_DEBUG(l, s, args...)
#define KERNEL_VERSION(a, b, c)   (((a) << 16) + ((b) << 8) + (c))
#define init_waitqueue_head(p)   (*(p) = NULL)
#define set_current_state(b)   { current->state = (b); mb(); }
#define init_waitqueue_entry(a, b)   { (a)->task = current; }
#define __wait_event_interruptible_timeout(wq, condition, ret)
#define wait_event_interruptible_timeout(wq, condition, timeout)
#define spin_lock(l)   do { } while (0)
#define spin_unlock(l)   do { } while (0)
#define spin_lock_irqsave(l, f)   do { save_flags(f); cli(); } while (0)
#define spin_unlock_irqrestore(l, f)   do { restore_flags(f); } while (0)
#define spin_lock_init(s)   do { } while (0)
#define spin_trylock(l)   (1)
#define spin_lock_bh   spin_lock
#define spin_is_locked(l)   (0)
#define INIT_TQUEUE(_tq, _routine, _data)
#define PREPARE_TQUEUE(_tq, _routine, _data)
#define work_struct   tq_struct
#define schedule_work(a)   queue_task(a, &tq_scheduler)
#define flush_scheduled_work   flush_scheduled_tasks
#define INIT_WORK(_wq, _routine, _data)   INIT_TQUEUE(_wq, _routine, _data)
#define PREPARE_WORK(_wq, _routine, _data)   PREPARE_TQUEUE(_wq, _routine, _data)
#define tasklet_schedule(a)   queue_task(a, &tq_scheduler)
#define MODULE_PARM(a, b)   extern int __bogus_decl
#define MODULE_AUTHOR(a)   extern int __bogus_decl
#define MODULE_DESCRIPTION(a)   extern int __bogus_decl
#define MODULE_SUPPORTED_DEVICE(a)   extern int __bogus_decl
#define GET_USE_COUNT(m)   mod_use_count_
#define MODULE_OWNER(a)   extern int __bogus_decl
#define ANCIENT_MODULE_CODE
#define MODULE_LICENSE(m)   extern int __bogus_decl
#define MODULE_DEVICE_TABLE(foo, bar)
#define wlan_minutes2ticks(a)   ((a)*(wlan_ticks_per_sec * 60))
#define wlan_seconds2ticks(a)   ((a)*(wlan_ticks_per_sec))
#define module_param(name, type, perm)
#define _MODULE_PARM_STRING_byte   "b"
#define _MODULE_PARM_STRING_short   "h"
#define _MODULE_PARM_STRING_ushort   "h"
#define _MODULE_PARM_STRING_int   "i"
#define _MODULE_PARM_STRING_uint   "i"
#define _MODULE_PARM_STRING_long   "l"
#define _MODULE_PARM_STRING_ulong   "l"
#define _MODULE_PARM_STRING_bool   "i"
#define IRQ_HANDLED
#define IRQ_RETVAL(x)
#define in_atomic()   0
#define URB_ASYNC_UNLINK   USB_ASYNC_UNLINK
#define usb_fill_bulk_urb   FILL_BULK_URB
#define usb_kill_urb   usb_unlink_urb
#define free_netdev(x)   kfree(x)
#define eth_hdr(x)   (x)->mac.ethernet
#define del_timer_sync(a)   del_timer(a)
#define pcmcia_access_configuration_register(handle, reg)   CardServices(AccessConfigurationRegister, handle, reg)
#define pcmcia_register_client(handle, reg)   CardServices(RegisterClient, handle, reg)
#define pcmcia_deregister_client(handle)   CardServices(DeregisterClient, handle)
#define pcmcia_get_first_tuple(handle, tuple)   CardServices(GetFirstTuple, handle, tuple)
#define pcmcia_get_next_tuple(handle, tuple)   CardServices(GetNextTuple, handle, tuple)
#define pcmcia_get_tuple_data(handle, tuple)   CardServices(GetTupleData, handle, tuple)
#define pcmcia_parse_tuple(handle, tuple, parse)   CardServices(ParseTuple, handle, tuple, parse)
#define pcmcia_get_configuration_info(handle, config)   CardServices(GetConfigurationInfo, handle, config)
#define pcmcia_request_io(handle, req)   CardServices(RequestIO, handle, req)
#define pcmcia_request_irq(handle, req)   CardServices(RequestIRQ, handle, req)
#define pcmcia_request_configuration(handle, req)   CardServices(RequestConfiguration, handle, req)
#define pcmcia_release_configuration(handle)   CardServices(ReleaseConfiguration, handle)
#define pcmcia_release_io(handle, req)   CardServices(ReleaseIO, handle, req)
#define pcmcia_release_irq(handle, req)   CardServices(ReleaseIRQ, handle, req)
#define pcmcia_release_window(win)   CardServices(ReleaseWindow, win)
#define pcmcia_get_card_services_info(info)   CardServices(GetCardServicesInfo, info)
#define pcmcia_report_error(handle, err)   CardServices(ReportError, handle, err)
#define ieee2host16(n)   __le16_to_cpu(n)
#define ieee2host32(n)   __le32_to_cpu(n)
#define host2ieee16(n)   __cpu_to_le16(n)
#define host2ieee32(n)   __cpu_to_le32(n)
#define wlan_inw(a)   inw((a))
#define wlan_inw_le16_to_cpu(a)   __cpu_to_le16(inw((a)))
#define wlan_outw(v, a)   outw((v),(a))
#define wlan_outw_cpu_to_le16(v, a)   outw(__cpu_to_le16((v)),(a))
#define wlan_max(a, b)   (((a) > (b)) ? (a) : (b))
#define wlan_min(a, b)   (((a) < (b)) ? (a) : (b))
#define wlan_isprint(c)   (((c) > (0x19)) && ((c) < (0x7f)))
#define wlan_hexchar(x)   (((x) < 0x0a) ? ('0' + (x)) : ('a' + ((x) - 0x0a)))
#define wlan_mkprintstr(buf, buflen, str, strlen)

Typedefs

typedef u_int8_t UINT8
typedef u_int16_t UINT16
typedef u_int32_t UINT32
typedef int8_t INT8
typedef int16_t INT16
typedef int32_t INT32
typedef unsigned int UINT
typedef signed int INT
typedef u_int64_t UINT64
typedef int64_t INT64
typedef wait_queue * wait_queue_head_t
typedef wait_queue wait_queue_t
typedef int spinlock_t
typedef device netdevice_t
typedef void irqreturn_t
typedef UINT32 phys_t

Variables

int wlan_ethconv


Define Documentation

#define WLAN_Ix86   1
 

Definition at line 56 of file wlan_compat.h.

#define WLAN_PPC   2
 

Definition at line 57 of file wlan_compat.h.

#define WLAN_Ix96   3
 

Definition at line 58 of file wlan_compat.h.

#define WLAN_ARM   4
 

Definition at line 59 of file wlan_compat.h.

#define WLAN_ALPHA   5
 

Definition at line 60 of file wlan_compat.h.

#define WLAN_MIPS   6
 

Definition at line 61 of file wlan_compat.h.

#define WLAN_HPPA   7
 

Definition at line 62 of file wlan_compat.h.

#define WLAN_SPARC   8
 

Definition at line 63 of file wlan_compat.h.

#define WLAN_SH   9
 

Definition at line 64 of file wlan_compat.h.

#define WLAN_x86_64   10
 

Definition at line 65 of file wlan_compat.h.

#define WLAN_PCAT   1
 

Definition at line 67 of file wlan_compat.h.

#define WLAN_MBX   2
 

Definition at line 68 of file wlan_compat.h.

#define WLAN_RPX   3
 

Definition at line 69 of file wlan_compat.h.

#define WLAN_LWARCH   4
 

Definition at line 70 of file wlan_compat.h.

#define WLAN_PMAC   5
 

Definition at line 71 of file wlan_compat.h.

#define WLAN_SKIFF   6
 

Definition at line 72 of file wlan_compat.h.

#define WLAN_BITSY   7
 

Definition at line 73 of file wlan_compat.h.

#define WLAN_ALPHAARCH   7
 

Definition at line 74 of file wlan_compat.h.

#define WLAN_MIPSARCH   9
 

Definition at line 75 of file wlan_compat.h.

#define WLAN_HPPAARCH   10
 

Definition at line 76 of file wlan_compat.h.

#define WLAN_SPARCARCH   11
 

Definition at line 77 of file wlan_compat.h.

#define WLAN_SHARCH   12
 

Definition at line 78 of file wlan_compat.h.

#define BIT0   0x00000001
 

Definition at line 156 of file wlan_compat.h.

#define BIT1   0x00000002
 

Definition at line 157 of file wlan_compat.h.

#define BIT2   0x00000004
 

Definition at line 158 of file wlan_compat.h.

#define BIT3   0x00000008
 

Definition at line 159 of file wlan_compat.h.

#define BIT4   0x00000010
 

Definition at line 160 of file wlan_compat.h.

#define BIT5   0x00000020
 

Definition at line 161 of file wlan_compat.h.

#define BIT6   0x00000040
 

Definition at line 162 of file wlan_compat.h.

#define BIT7   0x00000080
 

Definition at line 163 of file wlan_compat.h.

#define BIT8   0x00000100
 

Definition at line 164 of file wlan_compat.h.

#define BIT9   0x00000200
 

Definition at line 165 of file wlan_compat.h.

#define BIT10   0x00000400
 

Definition at line 166 of file wlan_compat.h.

#define BIT11   0x00000800
 

Definition at line 167 of file wlan_compat.h.

#define BIT12   0x00001000
 

Definition at line 168 of file wlan_compat.h.

#define BIT13   0x00002000
 

Definition at line 169 of file wlan_compat.h.

#define BIT14   0x00004000
 

Definition at line 170 of file wlan_compat.h.

#define BIT15   0x00008000
 

Definition at line 171 of file wlan_compat.h.

#define BIT16   0x00010000
 

Definition at line 172 of file wlan_compat.h.

#define BIT17   0x00020000
 

Definition at line 173 of file wlan_compat.h.

#define BIT18   0x00040000
 

Definition at line 174 of file wlan_compat.h.

#define BIT19   0x00080000
 

Definition at line 175 of file wlan_compat.h.

#define BIT20   0x00100000
 

Definition at line 176 of file wlan_compat.h.

#define BIT21   0x00200000
 

Definition at line 177 of file wlan_compat.h.

#define BIT22   0x00400000
 

Definition at line 178 of file wlan_compat.h.

#define BIT23   0x00800000
 

Definition at line 179 of file wlan_compat.h.

#define BIT24   0x01000000
 

Definition at line 180 of file wlan_compat.h.

#define BIT25   0x02000000
 

Definition at line 181 of file wlan_compat.h.

#define BIT26   0x04000000
 

Definition at line 182 of file wlan_compat.h.

#define BIT27   0x08000000
 

Definition at line 183 of file wlan_compat.h.

#define BIT28   0x10000000
 

Definition at line 184 of file wlan_compat.h.

#define BIT29   0x20000000
 

Definition at line 185 of file wlan_compat.h.

#define BIT30   0x40000000
 

Definition at line 186 of file wlan_compat.h.

#define BIT31   0x80000000
 

Definition at line 187 of file wlan_compat.h.

#define UINT8_MAX   (0xffUL)
 

Definition at line 205 of file wlan_compat.h.

#define UINT16_MAX   (0xffffUL)
 

Definition at line 206 of file wlan_compat.h.

#define UINT32_MAX   (0xffffffffUL)
 

Definition at line 207 of file wlan_compat.h.

#define INT8_MAX   (0x7fL)
 

Definition at line 209 of file wlan_compat.h.

#define INT16_MAX   (0x7fffL)
 

Definition at line 210 of file wlan_compat.h.

#define INT32_MAX   (0x7fffffffL)
 

Definition at line 211 of file wlan_compat.h.

#define __WLAN_ATTRIB_PACK__   __attribute__ ((packed))
 

Definition at line 216 of file wlan_compat.h.

#define WLAN_DBVAR   wlan_debug
 

Definition at line 223 of file wlan_compat.h.

#define WLAN_LOG_ERROR x,
args...   )     printk(KERN_ERR "%s: " x , __FUNCTION__ , ##args);
 

Definition at line 226 of file wlan_compat.h.

#define WLAN_LOG_WARNING x,
args...   )     printk(KERN_WARNING "%s: " x , __FUNCTION__ , ##args);
 

Definition at line 228 of file wlan_compat.h.

#define WLAN_LOG_NOTICE x,
args...   )     printk(KERN_NOTICE "%s: " x , __FUNCTION__ , ##args);
 

Definition at line 230 of file wlan_compat.h.

#define WLAN_LOG_INFO args...   )     printk(KERN_INFO args)
 

Definition at line 232 of file wlan_compat.h.

#define WLAN_ASSERT  ) 
 

Definition at line 248 of file wlan_compat.h.

#define WLAN_HEX_DUMP l,
s,
p,
 ) 
 

Definition at line 249 of file wlan_compat.h.

#define DBFENTER
 

Definition at line 250 of file wlan_compat.h.

#define DBFEXIT
 

Definition at line 251 of file wlan_compat.h.

#define WLAN_LOG_DEBUG l,
s,
args...   ) 
 

Definition at line 253 of file wlan_compat.h.

#define KERNEL_VERSION a,
b,
 )     (((a) << 16) + ((b) << 8) + (c))
 

Definition at line 261 of file wlan_compat.h.

#define init_waitqueue_head  )     (*(p) = NULL)
 

Definition at line 275 of file wlan_compat.h.

#define set_current_state  )     { current->state = (b); mb(); }
 

Definition at line 281 of file wlan_compat.h.

#define init_waitqueue_entry a,
 )     { (a)->task = current; }
 

Definition at line 282 of file wlan_compat.h.

#define __wait_event_interruptible_timeout wq,
condition,
ret   ) 
 

Value:

do {                                                                    \
        struct wait_queue __wait;                                       \
                                                                        \
        __wait.task = current;                                          \
        add_wait_queue(&wq, &__wait);                                   \
        for (;;) {                                                      \
                current->state = TASK_INTERRUPTIBLE;                    \
                if (condition)                                          \
                        break;                                          \
                if (!signal_pending(current)) {                         \
                        ret = schedule_timeout(ret);                    \
                        if (!ret)                                       \
                               break;                                   \
                        continue;                                       \
                }                                                       \
                ret = -ERESTARTSYS;                                     \
                break;                                                  \
        }                                                               \
        current->state = TASK_RUNNING;                                  \
        remove_wait_queue(&wq, &__wait);                                \
} while (0)

Definition at line 319 of file wlan_compat.h.

#define wait_event_interruptible_timeout wq,
condition,
timeout   ) 
 

Value:

({                                                                        \
        long __ret = timeout;                                             \
        if (!(condition))                                                 \
                __wait_event_interruptible_timeout(wq, condition, __ret); \
        __ret;                                                            \
})

Definition at line 344 of file wlan_compat.h.

#define spin_lock  )     do { } while (0)
 

Definition at line 398 of file wlan_compat.h.

#define spin_unlock  )     do { } while (0)
 

Definition at line 399 of file wlan_compat.h.

#define spin_lock_irqsave l,
 )     do { save_flags(f); cli(); } while (0)
 

Definition at line 400 of file wlan_compat.h.

#define spin_unlock_irqrestore l,
 )     do { restore_flags(f); } while (0)
 

Definition at line 401 of file wlan_compat.h.

#define spin_lock_init  )     do { } while (0)
 

Definition at line 402 of file wlan_compat.h.

#define spin_trylock  )     (1)
 

Definition at line 403 of file wlan_compat.h.

#define spin_lock_bh   spin_lock
 

Definition at line 408 of file wlan_compat.h.

#define spin_is_locked  )     (0)
 

Definition at line 415 of file wlan_compat.h.

#define INIT_TQUEUE _tq,
_routine,
_data   ) 
 

Value:

do {                                                    \
                (_tq)->next = NULL;                             \
                (_tq)->sync = 0;                                \
                PREPARE_TQUEUE((_tq), (_routine), (_data));     \
        } while (0)

Definition at line 445 of file wlan_compat.h.

#define PREPARE_TQUEUE _tq,
_routine,
_data   ) 
 

Value:

do {                                                    \
                (_tq)->routine = _routine;                      \
                (_tq)->data = _data;                            \
        } while (0)

Definition at line 451 of file wlan_compat.h.

#define work_struct   tq_struct
 

Definition at line 459 of file wlan_compat.h.

#define schedule_work  )     queue_task(a, &tq_scheduler)
 

Definition at line 462 of file wlan_compat.h.

#define flush_scheduled_work   flush_scheduled_tasks
 

Definition at line 467 of file wlan_compat.h.

#define INIT_WORK _wq,
_routine,
_data   )     INIT_TQUEUE(_wq, _routine, _data)
 

Definition at line 468 of file wlan_compat.h.

#define PREPARE_WORK _wq,
_routine,
_data   )     PREPARE_TQUEUE(_wq, _routine, _data)
 

Definition at line 469 of file wlan_compat.h.

#define tasklet_schedule  )     queue_task(a, &tq_scheduler)
 

Definition at line 476 of file wlan_compat.h.

#define MODULE_PARM a,
 )     extern int __bogus_decl
 

Definition at line 504 of file wlan_compat.h.

#define MODULE_AUTHOR  )     extern int __bogus_decl
 

Definition at line 505 of file wlan_compat.h.

#define MODULE_DESCRIPTION  )     extern int __bogus_decl
 

Definition at line 506 of file wlan_compat.h.

#define MODULE_SUPPORTED_DEVICE  )     extern int __bogus_decl
 

Definition at line 507 of file wlan_compat.h.

#define GET_USE_COUNT  )     mod_use_count_
 

Definition at line 509 of file wlan_compat.h.

#define MODULE_OWNER  )     extern int __bogus_decl
 

Definition at line 513 of file wlan_compat.h.

#define ANCIENT_MODULE_CODE
 

Definition at line 514 of file wlan_compat.h.

#define MODULE_LICENSE  )     extern int __bogus_decl
 

Definition at line 518 of file wlan_compat.h.

#define MODULE_DEVICE_TABLE foo,
bar   ) 
 

Definition at line 523 of file wlan_compat.h.

#define wlan_minutes2ticks  )     ((a)*(wlan_ticks_per_sec * 60))
 

Definition at line 526 of file wlan_compat.h.

#define wlan_seconds2ticks  )     ((a)*(wlan_ticks_per_sec))
 

Definition at line 527 of file wlan_compat.h.

#define module_param name,
type,
perm   ) 
 

Value:

static inline void *__check_existence_##name(void) { return &name; } \
        MODULE_PARM(name, _MODULE_PARM_STRING_ ## type)

Definition at line 535 of file wlan_compat.h.

#define _MODULE_PARM_STRING_byte   "b"
 

Definition at line 539 of file wlan_compat.h.

#define _MODULE_PARM_STRING_short   "h"
 

Definition at line 540 of file wlan_compat.h.

#define _MODULE_PARM_STRING_ushort   "h"
 

Definition at line 541 of file wlan_compat.h.

#define _MODULE_PARM_STRING_int   "i"
 

Definition at line 542 of file wlan_compat.h.

#define _MODULE_PARM_STRING_uint   "i"
 

Definition at line 543 of file wlan_compat.h.

#define _MODULE_PARM_STRING_long   "l"
 

Definition at line 544 of file wlan_compat.h.

#define _MODULE_PARM_STRING_ulong   "l"
 

Definition at line 545 of file wlan_compat.h.

#define _MODULE_PARM_STRING_bool   "i"
 

Definition at line 546 of file wlan_compat.h.

#define IRQ_HANDLED
 

Definition at line 553 of file wlan_compat.h.

#define IRQ_RETVAL  ) 
 

Definition at line 554 of file wlan_compat.h.

 
#define in_atomic  )     0
 

Definition at line 558 of file wlan_compat.h.

#define URB_ASYNC_UNLINK   USB_ASYNC_UNLINK
 

Definition at line 562 of file wlan_compat.h.

#define usb_fill_bulk_urb   FILL_BULK_URB
 

Definition at line 563 of file wlan_compat.h.

#define usb_kill_urb   usb_unlink_urb
 

Definition at line 564 of file wlan_compat.h.

#define free_netdev  )     kfree(x)
 

Definition at line 570 of file wlan_compat.h.

#define eth_hdr  )     (x)->mac.ethernet
 

Definition at line 574 of file wlan_compat.h.

#define del_timer_sync  )     del_timer(a)
 

Definition at line 578 of file wlan_compat.h.

#define pcmcia_access_configuration_register handle,
reg   )     CardServices(AccessConfigurationRegister, handle, reg)
 

Definition at line 584 of file wlan_compat.h.

#define pcmcia_register_client handle,
reg   )     CardServices(RegisterClient, handle, reg)
 

Definition at line 586 of file wlan_compat.h.

#define pcmcia_deregister_client handle   )     CardServices(DeregisterClient, handle)
 

Definition at line 588 of file wlan_compat.h.

#define pcmcia_get_first_tuple handle,
tuple   )     CardServices(GetFirstTuple, handle, tuple)
 

Definition at line 590 of file wlan_compat.h.

#define pcmcia_get_next_tuple handle,
tuple   )     CardServices(GetNextTuple, handle, tuple)
 

Definition at line 592 of file wlan_compat.h.

#define pcmcia_get_tuple_data handle,
tuple   )     CardServices(GetTupleData, handle, tuple)
 

Definition at line 594 of file wlan_compat.h.

#define pcmcia_parse_tuple handle,
tuple,
parse   )     CardServices(ParseTuple, handle, tuple, parse)
 

Definition at line 596 of file wlan_compat.h.

#define pcmcia_get_configuration_info handle,
config   )     CardServices(GetConfigurationInfo, handle, config)
 

Definition at line 598 of file wlan_compat.h.

#define pcmcia_request_io handle,
req   )     CardServices(RequestIO, handle, req)
 

Definition at line 600 of file wlan_compat.h.

#define pcmcia_request_irq handle,
req   )     CardServices(RequestIRQ, handle, req)
 

Definition at line 602 of file wlan_compat.h.

#define pcmcia_request_configuration handle,
req   )     CardServices(RequestConfiguration, handle, req)
 

Definition at line 604 of file wlan_compat.h.

#define pcmcia_release_configuration handle   )     CardServices(ReleaseConfiguration, handle)
 

Definition at line 606 of file wlan_compat.h.

#define pcmcia_release_io handle,
req   )     CardServices(ReleaseIO, handle, req)
 

Definition at line 608 of file wlan_compat.h.

#define pcmcia_release_irq handle,
req   )     CardServices(ReleaseIRQ, handle, req)
 

Definition at line 610 of file wlan_compat.h.

#define pcmcia_release_window win   )     CardServices(ReleaseWindow, win)
 

Definition at line 612 of file wlan_compat.h.

#define pcmcia_get_card_services_info info   )     CardServices(GetCardServicesInfo, info)
 

Definition at line 614 of file wlan_compat.h.

#define pcmcia_report_error handle,
err   )     CardServices(ReportError, handle, err)
 

Definition at line 616 of file wlan_compat.h.

#define ieee2host16  )     __le16_to_cpu(n)
 

Definition at line 624 of file wlan_compat.h.

#define ieee2host32  )     __le32_to_cpu(n)
 

Definition at line 625 of file wlan_compat.h.

#define host2ieee16  )     __cpu_to_le16(n)
 

Definition at line 626 of file wlan_compat.h.

#define host2ieee32  )     __cpu_to_le32(n)
 

Definition at line 627 of file wlan_compat.h.

#define wlan_inw  )     inw((a))
 

Definition at line 639 of file wlan_compat.h.

#define wlan_inw_le16_to_cpu  )     __cpu_to_le16(inw((a)))
 

Definition at line 640 of file wlan_compat.h.

#define wlan_outw v,
 )     outw((v),(a))
 

Definition at line 641 of file wlan_compat.h.

#define wlan_outw_cpu_to_le16 v,
 )     outw(__cpu_to_le16((v)),(a))
 

Definition at line 642 of file wlan_compat.h.

#define wlan_max a,
 )     (((a) > (b)) ? (a) : (b))
 

Definition at line 649 of file wlan_compat.h.

#define wlan_min a,
 )     (((a) < (b)) ? (a) : (b))
 

Definition at line 650 of file wlan_compat.h.

#define wlan_isprint  )     (((c) > (0x19)) && ((c) < (0x7f)))
 

Definition at line 652 of file wlan_compat.h.

#define wlan_hexchar  )     (((x) < 0x0a) ? ('0' + (x)) : ('a' + ((x) - 0x0a)))
 

Definition at line 654 of file wlan_compat.h.

#define wlan_mkprintstr buf,
buflen,
str,
strlen   ) 
 

Value:

{ \
        int i = 0; \
        int j = 0; \
        memset(str, 0, (strlen)); \
        for (i = 0; i < (buflen); i++) { \
                if ( wlan_isprint((buf)[i]) ) { \
                        (str)[j] = (buf)[i]; \
                        j++; \
                } else { \
                        (str)[j] = '\\'; \
                        (str)[j+1] = 'x'; \
                        (str)[j+2] = wlan_hexchar(((buf)[i] & 0xf0) >> 4); \
                        (str)[j+3] = wlan_hexchar(((buf)[i] & 0x0f)); \
                        j += 4; \
                } \
        } \
}

Definition at line 658 of file wlan_compat.h.


Typedef Documentation

typedef u_int8_t UINT8
 

Definition at line 191 of file wlan_compat.h.

typedef u_int16_t UINT16
 

Definition at line 192 of file wlan_compat.h.

typedef u_int32_t UINT32
 

Definition at line 193 of file wlan_compat.h.

typedef int8_t INT8
 

Definition at line 195 of file wlan_compat.h.

typedef int16_t INT16
 

Definition at line 196 of file wlan_compat.h.

typedef int32_t INT32
 

Definition at line 197 of file wlan_compat.h.

typedef unsigned int UINT
 

Definition at line 199 of file wlan_compat.h.

typedef signed int INT
 

Definition at line 200 of file wlan_compat.h.

typedef u_int64_t UINT64
 

Definition at line 202 of file wlan_compat.h.

typedef int64_t INT64
 

Definition at line 203 of file wlan_compat.h.

typedef struct wait_queue* wait_queue_head_t
 

Definition at line 279 of file wlan_compat.h.

typedef struct wait_queue wait_queue_t
 

Definition at line 280 of file wlan_compat.h.

typedef int spinlock_t
 

Definition at line 404 of file wlan_compat.h.

typedef struct device netdevice_t
 

Definition at line 484 of file wlan_compat.h.

typedef void irqreturn_t
 

Definition at line 551 of file wlan_compat.h.

typedef UINT32 phys_t
 

Definition at line 630 of file wlan_compat.h.


Variable Documentation

int wlan_ethconv
 


Generated on Fri Feb 25 12:03:14 2005 for WifiScanner by  doxygen 1.4.1