mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 05:55:02 +08:00
net: wireless: rt2x00: Fixed Spacing issues
Removed empty spaces before/after parenthesis Signed-off-by: Paul McQuade <paulmcquad@gmail.com> Acked-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
143e494584
commit
ac2b335e71
@ -138,14 +138,14 @@
|
|||||||
#define PAIRWISE_TA_TABLE_BASE 0x1a00
|
#define PAIRWISE_TA_TABLE_BASE 0x1a00
|
||||||
|
|
||||||
#define SHARED_KEY_ENTRY(__idx) \
|
#define SHARED_KEY_ENTRY(__idx) \
|
||||||
( SHARED_KEY_TABLE_BASE + \
|
(SHARED_KEY_TABLE_BASE + \
|
||||||
((__idx) * sizeof(struct hw_key_entry)) )
|
((__idx) * sizeof(struct hw_key_entry)))
|
||||||
#define PAIRWISE_KEY_ENTRY(__idx) \
|
#define PAIRWISE_KEY_ENTRY(__idx) \
|
||||||
( PAIRWISE_KEY_TABLE_BASE + \
|
(PAIRWISE_KEY_TABLE_BASE + \
|
||||||
((__idx) * sizeof(struct hw_key_entry)) )
|
((__idx) * sizeof(struct hw_key_entry)))
|
||||||
#define PAIRWISE_TA_ENTRY(__idx) \
|
#define PAIRWISE_TA_ENTRY(__idx) \
|
||||||
( PAIRWISE_TA_TABLE_BASE + \
|
(PAIRWISE_TA_TABLE_BASE + \
|
||||||
((__idx) * sizeof(struct hw_pairwise_ta_entry)) )
|
((__idx) * sizeof(struct hw_pairwise_ta_entry)))
|
||||||
|
|
||||||
struct hw_key_entry {
|
struct hw_key_entry {
|
||||||
u8 key[16];
|
u8 key[16];
|
||||||
@ -180,7 +180,7 @@ struct hw_pairwise_ta_entry {
|
|||||||
#define HW_BEACON_BASE3 0x2f00
|
#define HW_BEACON_BASE3 0x2f00
|
||||||
|
|
||||||
#define HW_BEACON_OFFSET(__index) \
|
#define HW_BEACON_OFFSET(__index) \
|
||||||
( HW_BEACON_BASE0 + (__index * 0x0100) )
|
(HW_BEACON_BASE0 + (__index * 0x0100))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* HOST-MCU shared memory.
|
* HOST-MCU shared memory.
|
||||||
@ -1287,9 +1287,9 @@ struct hw_pairwise_ta_entry {
|
|||||||
/*
|
/*
|
||||||
* DMA descriptor defines.
|
* DMA descriptor defines.
|
||||||
*/
|
*/
|
||||||
#define TXD_DESC_SIZE ( 16 * sizeof(__le32) )
|
#define TXD_DESC_SIZE (16 * sizeof(__le32))
|
||||||
#define TXINFO_SIZE ( 6 * sizeof(__le32) )
|
#define TXINFO_SIZE (6 * sizeof(__le32))
|
||||||
#define RXD_DESC_SIZE ( 16 * sizeof(__le32) )
|
#define RXD_DESC_SIZE (16 * sizeof(__le32))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TX descriptor format for TX, PRIO and Beacon Ring.
|
* TX descriptor format for TX, PRIO and Beacon Ring.
|
||||||
|
Loading…
Reference in New Issue
Block a user