sta_info.h (4f6b1b3daaf167bf927174224e07efd17ed95984) sta_info.h (0f9c5a61d4b2330b12c59126aa5a9108dbfce555)
1/*
2 * Copyright 2002-2005, Devicescape Software, Inc.
3 * Copyright 2013-2014 Intel Mobile Communications GmbH
4 * Copyright(c) 2015-2016 Intel Deutschland GmbH
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

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

13
14#include <linux/list.h>
15#include <linux/types.h>
16#include <linux/if_ether.h>
17#include <linux/workqueue.h>
18#include <linux/average.h>
19#include <linux/etherdevice.h>
20#include <linux/rhashtable.h>
1/*
2 * Copyright 2002-2005, Devicescape Software, Inc.
3 * Copyright 2013-2014 Intel Mobile Communications GmbH
4 * Copyright(c) 2015-2016 Intel Deutschland GmbH
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

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

13
14#include <linux/list.h>
15#include <linux/types.h>
16#include <linux/if_ether.h>
17#include <linux/workqueue.h>
18#include <linux/average.h>
19#include <linux/etherdevice.h>
20#include <linux/rhashtable.h>
21#include <linux/u64_stats_sync.h>
21#include "key.h"
22
23/**
24 * enum ieee80211_sta_info_flags - Stations flags
25 *
26 * These flags are used with &struct sta_info's @flags member, but
27 * only indirectly with set_sta_flag() and friends.
28 *

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

439 unsigned long driver_buffered_tids;
440 unsigned long txq_buffered_tids;
441
442 long last_connected;
443
444 /* Updated from RX path only, no locking requirements */
445 struct {
446 unsigned long packets;
22#include "key.h"
23
24/**
25 * enum ieee80211_sta_info_flags - Stations flags
26 *
27 * These flags are used with &struct sta_info's @flags member, but
28 * only indirectly with set_sta_flag() and friends.
29 *

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

440 unsigned long driver_buffered_tids;
441 unsigned long txq_buffered_tids;
442
443 long last_connected;
444
445 /* Updated from RX path only, no locking requirements */
446 struct {
447 unsigned long packets;
447 u64 bytes;
448 unsigned long last_rx;
449 unsigned long num_duplicates;
450 unsigned long fragments;
451 unsigned long dropped;
452 int last_signal;
453 u8 chains;
454 s8 chain_signal_last[IEEE80211_MAX_CHAINS];
455 u16 last_rate;
448 unsigned long last_rx;
449 unsigned long num_duplicates;
450 unsigned long fragments;
451 unsigned long dropped;
452 int last_signal;
453 u8 chains;
454 s8 chain_signal_last[IEEE80211_MAX_CHAINS];
455 u16 last_rate;
456
457 struct u64_stats_sync syncp;
458 u64 bytes;
456 u64 msdu[IEEE80211_NUM_TIDS + 1];
457 } rx_stats;
458 struct {
459 struct ewma_signal signal;
460 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS];
461 } rx_stats_avg;
462
463 /* Plus 1 for non-QoS frames */

--- 258 unchanged lines hidden ---
459 u64 msdu[IEEE80211_NUM_TIDS + 1];
460 } rx_stats;
461 struct {
462 struct ewma_signal signal;
463 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS];
464 } rx_stats_avg;
465
466 /* Plus 1 for non-QoS frames */

--- 258 unchanged lines hidden ---