Lines Matching +full:local +full:- +full:host
1 /* SPDX-License-Identifier: GPL-2.0 */
19 #define PARM_MIN_MAX "1-" __MODULE_STRING(MAX_PARM_DEVICES)
20 #define DEF_INTS -1, -1, -1, -1, -1, -1, -1
24 /* Specific skb->protocol value that indicates that the packet already contains
33 * (from linux-wlan-ng) */
114 u8 tx_rate; /* Host AP only; 0 = firmware, or 10, 20, 55, 110 */
147 #define HFA384X_LEVEL_TO_dBm(v) 0x100 + (v) * 100 / 255 - 100
149 #define HFA384X_LEVEL_TO_dBm_sign(v) (v) * 100 / 255 - 100
577 int (*card_present)(local_info_t *local);
578 void (*cor_sreset)(local_info_t *local);
579 void (*genesis_reset)(local_info_t *local, int hcr);
584 /* FIX: low-level commands like cmd might disappear at some point to
599 void (*schedule_reset)(local_info_t *local);
600 int (*download)(local_info_t *local,
644 /* Per radio private Host AP data - shared by all net devices interfaces used
646 * ((struct hostap_interface *) netdev_priv(dev))->local points to this
656 struct list_head hostap_interfaces; /* Host AP interface list (contains
712 int sram_type; /* 8 = x8 SRAM, 16 = x16 SRAM, -1 = unknown */
747 int manual_retry_count; /* -1 = use f/w default; otherwise retry count
778 int fw_encrypt_ok; /* whether firmware-based WEP encrypt is working
779 * in Host AP mode (STA f/w 1.4.9 or newer) */
794 int tallies32; /* 32-bit tallies in use */
837 * Host AP driver code does not touch this. */
842 /* Passive scan in Host AP mode */
853 * valid for Managed and Ad-hoc modes */
863 /* BSS list / protected by local->lock */
892 /* Per interface private Host AP data
893 * Allocated for each net device that Host AP uses (wlan#, wlan#ap, wlan#sta,
896 struct list_head list; /* list entry in Host AP interface list */
898 struct local_info *local; /* pointer to shared private data */ member
922 * TX meta data - stored in skb->cb buffer, so this must not be increased over
923 * the 48-byte limit.
985 local_info_t *local = iface->local; in prism2_io_debug_add() local
987 if (!local->io_debug_enabled) in prism2_io_debug_add()
990 local->io_debug[local->io_debug_head] = jiffies & 0xffffffff; in prism2_io_debug_add()
991 if (++local->io_debug_head >= PRISM2_IO_DEBUG_SIZE) in prism2_io_debug_add()
992 local->io_debug_head = 0; in prism2_io_debug_add()
993 local->io_debug[local->io_debug_head] = in prism2_io_debug_add()
995 if (++local->io_debug_head >= PRISM2_IO_DEBUG_SIZE) in prism2_io_debug_add()
996 local->io_debug_head = 0; in prism2_io_debug_add()
1003 local_info_t *local = iface->local; in prism2_io_debug_error() local
1006 if (!local->io_debug_enabled) in prism2_io_debug_error()
1009 spin_lock_irqsave(&local->lock, flags); in prism2_io_debug_error()
1011 if (local->io_debug_enabled == 1) { in prism2_io_debug_error()
1012 local->io_debug_enabled = 0; in prism2_io_debug_error()
1013 printk(KERN_DEBUG "%s: I/O debug stopped\n", dev->name); in prism2_io_debug_error()
1015 spin_unlock_irqrestore(&local->lock, flags); in prism2_io_debug_error()
1044 void prism2_callback(local_info_t *local, int event);