Merge tag 'wireless-drivers-next-for-davem-2016-02-12' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
Kalle Valo says: ==================== Major changes: wl12xx * add device tree support for SPI mwifiex * add debugfs file to read chip information * add MSIx support for newer pcie chipsets (8997 onwards) * add schedule scan support * add WoWLAN net-detect support * firmware dump support for w8997 chipset iwlwifi * continue the work on multiple Rx queues * add support for beacon storing used in low power states * use the regular firmware image of WoWLAN * fix 8000 devices for Big Endian machines * more firmware debug hooks * add support for P2P Client snoozing * make the beacon filtering for AP mode configurable * fix transmit queues overflow with LSO libertas * add support for setting power save via cfg80211 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
このコミットが含まれているのは:
@@ -107,7 +107,7 @@
|
||||
* amount of bytes needed to move the data.
|
||||
*/
|
||||
#define ALIGN_SIZE(__skb, __header) \
|
||||
( ((unsigned long)((__skb)->data + (__header))) & 3 )
|
||||
(((unsigned long)((__skb)->data + (__header))) & 3)
|
||||
|
||||
/*
|
||||
* Constants for extra TX headroom for alignment purposes.
|
||||
@@ -128,14 +128,14 @@
|
||||
#define SLOT_TIME 20
|
||||
#define SHORT_SLOT_TIME 9
|
||||
#define SIFS 10
|
||||
#define PIFS ( SIFS + SLOT_TIME )
|
||||
#define SHORT_PIFS ( SIFS + SHORT_SLOT_TIME )
|
||||
#define DIFS ( PIFS + SLOT_TIME )
|
||||
#define SHORT_DIFS ( SHORT_PIFS + SHORT_SLOT_TIME )
|
||||
#define EIFS ( SIFS + DIFS + \
|
||||
GET_DURATION(IEEE80211_HEADER + ACK_SIZE, 10) )
|
||||
#define SHORT_EIFS ( SIFS + SHORT_DIFS + \
|
||||
GET_DURATION(IEEE80211_HEADER + ACK_SIZE, 10) )
|
||||
#define PIFS (SIFS + SLOT_TIME)
|
||||
#define SHORT_PIFS (SIFS + SHORT_SLOT_TIME)
|
||||
#define DIFS (PIFS + SLOT_TIME)
|
||||
#define SHORT_DIFS (SHORT_PIFS + SHORT_SLOT_TIME)
|
||||
#define EIFS (SIFS + DIFS + \
|
||||
GET_DURATION(IEEE80211_HEADER + ACK_SIZE, 10))
|
||||
#define SHORT_EIFS (SIFS + SHORT_DIFS + \
|
||||
GET_DURATION(IEEE80211_HEADER + ACK_SIZE, 10))
|
||||
|
||||
enum rt2x00_chip_intf {
|
||||
RT2X00_CHIP_INTF_PCI,
|
||||
|
@@ -629,7 +629,7 @@ static struct dentry *rt2x00debug_create_file_chipset(const char *name,
|
||||
data += sprintf(data, "register\tbase\twords\twordsize\n");
|
||||
#define RT2X00DEBUGFS_SPRINTF_REGISTER(__name) \
|
||||
{ \
|
||||
if(debug->__name.read) \
|
||||
if (debug->__name.read) \
|
||||
data += sprintf(data, __stringify(__name) \
|
||||
"\t%d\t%d\t%d\n", \
|
||||
debug->__name.word_base, \
|
||||
@@ -699,7 +699,7 @@ void rt2x00debug_register(struct rt2x00_dev *rt2x00dev)
|
||||
|
||||
#define RT2X00DEBUGFS_CREATE_REGISTER_ENTRY(__intf, __name) \
|
||||
({ \
|
||||
if(debug->__name.read) { \
|
||||
if (debug->__name.read) { \
|
||||
(__intf)->__name##_off_entry = \
|
||||
debugfs_create_u32(__stringify(__name) "_offset", \
|
||||
S_IRUSR | S_IWUSR, \
|
||||
|
@@ -138,14 +138,14 @@
|
||||
#define PAIRWISE_TA_TABLE_BASE 0x1a00
|
||||
|
||||
#define SHARED_KEY_ENTRY(__idx) \
|
||||
( SHARED_KEY_TABLE_BASE + \
|
||||
((__idx) * sizeof(struct hw_key_entry)) )
|
||||
(SHARED_KEY_TABLE_BASE + \
|
||||
((__idx) * sizeof(struct hw_key_entry)))
|
||||
#define PAIRWISE_KEY_ENTRY(__idx) \
|
||||
( PAIRWISE_KEY_TABLE_BASE + \
|
||||
((__idx) * sizeof(struct hw_key_entry)) )
|
||||
(PAIRWISE_KEY_TABLE_BASE + \
|
||||
((__idx) * sizeof(struct hw_key_entry)))
|
||||
#define PAIRWISE_TA_ENTRY(__idx) \
|
||||
( PAIRWISE_TA_TABLE_BASE + \
|
||||
((__idx) * sizeof(struct hw_pairwise_ta_entry)) )
|
||||
(PAIRWISE_TA_TABLE_BASE + \
|
||||
((__idx) * sizeof(struct hw_pairwise_ta_entry)))
|
||||
|
||||
struct hw_key_entry {
|
||||
u8 key[16];
|
||||
@@ -180,7 +180,7 @@ struct hw_pairwise_ta_entry {
|
||||
#define HW_BEACON_BASE3 0x2f00
|
||||
|
||||
#define HW_BEACON_OFFSET(__index) \
|
||||
( HW_BEACON_BASE0 + (__index * 0x0100) )
|
||||
(HW_BEACON_BASE0 + (__index * 0x0100))
|
||||
|
||||
/*
|
||||
* HOST-MCU shared memory.
|
||||
@@ -1287,9 +1287,9 @@ struct hw_pairwise_ta_entry {
|
||||
/*
|
||||
* DMA descriptor defines.
|
||||
*/
|
||||
#define TXD_DESC_SIZE ( 16 * sizeof(__le32) )
|
||||
#define TXINFO_SIZE ( 6 * sizeof(__le32) )
|
||||
#define RXD_DESC_SIZE ( 16 * sizeof(__le32) )
|
||||
#define TXD_DESC_SIZE (16 * sizeof(__le32))
|
||||
#define TXINFO_SIZE (6 * sizeof(__le32))
|
||||
#define RXD_DESC_SIZE (16 * sizeof(__le32))
|
||||
|
||||
/*
|
||||
* TX descriptor format for TX, PRIO and Beacon Ring.
|
||||
|
新しいイシューから参照
ユーザーをブロックする