diff options
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index d07b56e5ea69..813b2409f0c3 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -547,12 +547,18 @@ struct b43_phy { | |||
547 | 547 | ||
548 | u16 initval; //FIXME rename? | 548 | u16 initval; //FIXME rename? |
549 | 549 | ||
550 | /* OFDM address read/write caching for hardware auto-increment. */ | ||
551 | u16 ofdm_addr; | ||
552 | u8 ofdm_valid; /* 0: invalid, 1: read, 2: write */ | ||
553 | |||
554 | /* PHY TX errors counter. */ | 550 | /* PHY TX errors counter. */ |
555 | atomic_t txerr_cnt; | 551 | atomic_t txerr_cnt; |
552 | |||
553 | /* The device does address auto increment for the OFDM tables. | ||
554 | * We cache the previously used address here and omit the address | ||
555 | * write on the next table access, if possible. */ | ||
556 | u16 ofdmtab_addr; /* The address currently set in hardware. */ | ||
557 | enum { /* The last data flow direction. */ | ||
558 | B43_OFDMTAB_DIRECTION_UNKNOWN = 0, | ||
559 | B43_OFDMTAB_DIRECTION_READ, | ||
560 | B43_OFDMTAB_DIRECTION_WRITE, | ||
561 | } ofdmtab_addr_direction; | ||
556 | }; | 562 | }; |
557 | 563 | ||
558 | /* Data structures for DMA transmission, per 80211 core. */ | 564 | /* Data structures for DMA transmission, per 80211 core. */ |