carl9170.h (acf1771221f2877ab5d36487930cd6a2ecaa73e6) carl9170.h (00044f17afd36bf6397b9a2a12f242a057449e9a)
1/*
2 * Atheros CARL9170 driver
3 *
4 * Driver specific definitions
5 *
6 * Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2009, 2010, Christian Lamparter <chunkeey@googlemail.com>
8 *

--- 29 unchanged lines hidden (view full) ---

38 */
39#ifndef __CARL9170_H
40#define __CARL9170_H
41
42#include <linux/kernel.h>
43#include <linux/firmware.h>
44#include <linux/completion.h>
45#include <linux/spinlock.h>
1/*
2 * Atheros CARL9170 driver
3 *
4 * Driver specific definitions
5 *
6 * Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2009, 2010, Christian Lamparter <chunkeey@googlemail.com>
8 *

--- 29 unchanged lines hidden (view full) ---

38 */
39#ifndef __CARL9170_H
40#define __CARL9170_H
41
42#include <linux/kernel.h>
43#include <linux/firmware.h>
44#include <linux/completion.h>
45#include <linux/spinlock.h>
46#include <linux/hw_random.h>
46#include <net/cfg80211.h>
47#include <net/mac80211.h>
48#include <linux/usb.h>
49#ifdef CONFIG_CARL9170_LEDS
50#include <linux/leds.h>
51#endif /* CONFIG_CARL9170_LEDS */
52#ifdef CONFIG_CARL9170_WPC
53#include <linux/input.h>

--- 390 unchanged lines hidden (view full) ---

444 unsigned int dtim_counter;
445 unsigned long last_beacon;
446 unsigned long last_action;
447 unsigned long last_slept;
448 unsigned int sleep_ms;
449 unsigned int off_override;
450 bool state;
451 } ps;
47#include <net/cfg80211.h>
48#include <net/mac80211.h>
49#include <linux/usb.h>
50#ifdef CONFIG_CARL9170_LEDS
51#include <linux/leds.h>
52#endif /* CONFIG_CARL9170_LEDS */
53#ifdef CONFIG_CARL9170_WPC
54#include <linux/input.h>

--- 390 unchanged lines hidden (view full) ---

445 unsigned int dtim_counter;
446 unsigned long last_beacon;
447 unsigned long last_action;
448 unsigned long last_slept;
449 unsigned int sleep_ms;
450 unsigned int off_override;
451 bool state;
452 } ps;
453
454#ifdef CONFIG_CARL9170_HWRNG
455# define CARL9170_HWRNG_CACHE_SIZE CARL9170_MAX_CMD_PAYLOAD_LEN
456 struct {
457 struct hwrng rng;
458 bool initialized;
459 char name[30 + 1];
460 u16 cache[CARL9170_HWRNG_CACHE_SIZE / sizeof(u16)];
461 unsigned int cache_idx;
462 } rng;
463#endif /* CONFIG_CARL9170_HWRNG */
452};
453
454enum carl9170_ps_off_override_reasons {
455 PS_OFF_VIF = BIT(0),
456 PS_OFF_BCN = BIT(1),
457};
458
459struct carl9170_ba_stats {

--- 191 unchanged lines hidden ---
464};
465
466enum carl9170_ps_off_override_reasons {
467 PS_OFF_VIF = BIT(0),
468 PS_OFF_BCN = BIT(1),
469};
470
471struct carl9170_ba_stats {

--- 191 unchanged lines hidden ---