diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-02 23:53:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-02 23:53:45 -0400 |
commit | cd6362befe4cc7bf589a5236d2a780af2d47bcc9 (patch) | |
tree | 3bd4e13ec3f92a00dc4f6c3d65e820b54dbfe46e /drivers/net/wireless/ti/wl12xx/wl12xx.h | |
parent | 0f1b1e6d73cb989ce2c071edc57deade3b084dfe (diff) | |
parent | b1586f099ba897542ece36e8a23c1a62907261ef (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
"Here is my initial pull request for the networking subsystem during
this merge window:
1) Support for ESN in AH (RFC 4302) from Fan Du.
2) Add full kernel doc for ethtool command structures, from Ben
Hutchings.
3) Add BCM7xxx PHY driver, from Florian Fainelli.
4) Export computed TCP rate information in netlink socket dumps, from
Eric Dumazet.
5) Allow IPSEC SA to be dumped partially using a filter, from Nicolas
Dichtel.
6) Convert many drivers to pci_enable_msix_range(), from Alexander
Gordeev.
7) Record SKB timestamps more efficiently, from Eric Dumazet.
8) Switch to microsecond resolution for TCP round trip times, also
from Eric Dumazet.
9) Clean up and fix 6lowpan fragmentation handling by making use of
the existing inet_frag api for it's implementation.
10) Add TX grant mapping to xen-netback driver, from Zoltan Kiss.
11) Auto size SKB lengths when composing netlink messages based upon
past message sizes used, from Eric Dumazet.
12) qdisc dumps can take a long time, add a cond_resched(), From Eric
Dumazet.
13) Sanitize netpoll core and drivers wrt. SKB handling semantics.
Get rid of never-used-in-tree netpoll RX handling. From Eric W
Biederman.
14) Support inter-address-family and namespace changing in VTI tunnel
driver(s). From Steffen Klassert.
15) Add Altera TSE driver, from Vince Bridgers.
16) Optimizing csum_replace2() so that it doesn't adjust the checksum
by checksumming the entire header, from Eric Dumazet.
17) Expand BPF internal implementation for faster interpreting, more
direct translations into JIT'd code, and much cleaner uses of BPF
filtering in non-socket ocntexts. From Daniel Borkmann and Alexei
Starovoitov"
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1976 commits)
netpoll: Use skb_irq_freeable to make zap_completion_queue safe.
net: Add a test to see if a skb is freeable in irq context
qlcnic: Fix build failure due to undefined reference to `vxlan_get_rx_port'
net: ptp: move PTP classifier in its own file
net: sxgbe: make "core_ops" static
net: sxgbe: fix logical vs bitwise operation
net: sxgbe: sxgbe_mdio_register() frees the bus
Call efx_set_channels() before efx->type->dimension_resources()
xen-netback: disable rogue vif in kthread context
net/mlx4: Set proper build dependancy with vxlan
be2net: fix build dependency on VxLAN
mac802154: make csma/cca parameters per-wpan
mac802154: allow only one WPAN to be up at any given time
net: filter: minor: fix kdoc in __sk_run_filter
netlink: don't compare the nul-termination in nla_strcmp
can: c_can: Avoid led toggling for every packet.
can: c_can: Simplify TX interrupt cleanup
can: c_can: Store dlc private
can: c_can: Reduce register access
can: c_can: Make the code readable
...
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/wl12xx.h')
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/wl12xx.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/wl12xx.h b/drivers/net/wireless/ti/wl12xx/wl12xx.h index 9e5484a73667..75c92658bfea 100644 --- a/drivers/net/wireless/ti/wl12xx/wl12xx.h +++ b/drivers/net/wireless/ti/wl12xx/wl12xx.h | |||
@@ -65,6 +65,9 @@ | |||
65 | 65 | ||
66 | #define WL12XX_RX_BA_MAX_SESSIONS 3 | 66 | #define WL12XX_RX_BA_MAX_SESSIONS 3 |
67 | 67 | ||
68 | #define WL12XX_MAX_AP_STATIONS 8 | ||
69 | #define WL12XX_MAX_LINKS 12 | ||
70 | |||
68 | struct wl127x_rx_mem_pool_addr { | 71 | struct wl127x_rx_mem_pool_addr { |
69 | u32 addr; | 72 | u32 addr; |
70 | u32 addr_extra; | 73 | u32 addr_extra; |
@@ -79,4 +82,54 @@ struct wl12xx_priv { | |||
79 | struct wl127x_rx_mem_pool_addr *rx_mem_addr; | 82 | struct wl127x_rx_mem_pool_addr *rx_mem_addr; |
80 | }; | 83 | }; |
81 | 84 | ||
85 | struct wl12xx_fw_packet_counters { | ||
86 | /* Cumulative counter of released packets per AC */ | ||
87 | u8 tx_released_pkts[NUM_TX_QUEUES]; | ||
88 | |||
89 | /* Cumulative counter of freed packets per HLID */ | ||
90 | u8 tx_lnk_free_pkts[WL12XX_MAX_LINKS]; | ||
91 | |||
92 | /* Cumulative counter of released Voice memory blocks */ | ||
93 | u8 tx_voice_released_blks; | ||
94 | |||
95 | /* Tx rate of the last transmitted packet */ | ||
96 | u8 tx_last_rate; | ||
97 | |||
98 | u8 padding[2]; | ||
99 | } __packed; | ||
100 | |||
101 | /* FW status registers */ | ||
102 | struct wl12xx_fw_status { | ||
103 | __le32 intr; | ||
104 | u8 fw_rx_counter; | ||
105 | u8 drv_rx_counter; | ||
106 | u8 reserved; | ||
107 | u8 tx_results_counter; | ||
108 | __le32 rx_pkt_descs[WL12XX_NUM_RX_DESCRIPTORS]; | ||
109 | |||
110 | __le32 fw_localtime; | ||
111 | |||
112 | /* | ||
113 | * A bitmap (where each bit represents a single HLID) | ||
114 | * to indicate if the station is in PS mode. | ||
115 | */ | ||
116 | __le32 link_ps_bitmap; | ||
117 | |||
118 | /* | ||
119 | * A bitmap (where each bit represents a single HLID) to indicate | ||
120 | * if the station is in Fast mode | ||
121 | */ | ||
122 | __le32 link_fast_bitmap; | ||
123 | |||
124 | /* Cumulative counter of total released mem blocks since FW-reset */ | ||
125 | __le32 total_released_blks; | ||
126 | |||
127 | /* Size (in Memory Blocks) of TX pool */ | ||
128 | __le32 tx_total; | ||
129 | |||
130 | struct wl12xx_fw_packet_counters counters; | ||
131 | |||
132 | __le32 log_start_addr; | ||
133 | } __packed; | ||
134 | |||
82 | #endif /* __WL12XX_PRIV_H__ */ | 135 | #endif /* __WL12XX_PRIV_H__ */ |