diff options
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_chip.h')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_chip.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.h b/drivers/net/wireless/zd1211rw/zd_chip.h index 009c03777a35..f8c061a9b6ec 100644 --- a/drivers/net/wireless/zd1211rw/zd_chip.h +++ b/drivers/net/wireless/zd1211rw/zd_chip.h | |||
@@ -489,6 +489,7 @@ enum { | |||
489 | 489 | ||
490 | #define CR_RX_OFFSET CTL_REG(0x065c) | 490 | #define CR_RX_OFFSET CTL_REG(0x065c) |
491 | 491 | ||
492 | #define CR_BCN_LENGTH CTL_REG(0x0664) | ||
492 | #define CR_PHY_DELAY CTL_REG(0x066C) | 493 | #define CR_PHY_DELAY CTL_REG(0x066C) |
493 | #define CR_BCN_FIFO CTL_REG(0x0670) | 494 | #define CR_BCN_FIFO CTL_REG(0x0670) |
494 | #define CR_SNIFFER_ON CTL_REG(0x0674) | 495 | #define CR_SNIFFER_ON CTL_REG(0x0674) |
@@ -545,6 +546,8 @@ enum { | |||
545 | #define RX_FILTER_CTRL (RX_FILTER_RTS | RX_FILTER_CTS | \ | 546 | #define RX_FILTER_CTRL (RX_FILTER_RTS | RX_FILTER_CTS | \ |
546 | RX_FILTER_CFEND | RX_FILTER_CFACK) | 547 | RX_FILTER_CFEND | RX_FILTER_CFACK) |
547 | 548 | ||
549 | #define BCN_MODE_IBSS 0x2000000 | ||
550 | |||
548 | /* Monitor mode sets filter to 0xfffff */ | 551 | /* Monitor mode sets filter to 0xfffff */ |
549 | 552 | ||
550 | #define CR_ACK_TIMEOUT_EXT CTL_REG(0x0690) | 553 | #define CR_ACK_TIMEOUT_EXT CTL_REG(0x0690) |
@@ -578,6 +581,11 @@ enum { | |||
578 | 581 | ||
579 | /* CAM: Continuous Access Mode (power management) */ | 582 | /* CAM: Continuous Access Mode (power management) */ |
580 | #define CR_CAM_MODE CTL_REG(0x0700) | 583 | #define CR_CAM_MODE CTL_REG(0x0700) |
584 | #define MODE_IBSS 0x0 | ||
585 | #define MODE_AP 0x1 | ||
586 | #define MODE_STA 0x2 | ||
587 | #define MODE_AP_WDS 0x3 | ||
588 | |||
581 | #define CR_CAM_ROLL_TB_LOW CTL_REG(0x0704) | 589 | #define CR_CAM_ROLL_TB_LOW CTL_REG(0x0704) |
582 | #define CR_CAM_ROLL_TB_HIGH CTL_REG(0x0708) | 590 | #define CR_CAM_ROLL_TB_HIGH CTL_REG(0x0708) |
583 | #define CR_CAM_ADDRESS CTL_REG(0x070C) | 591 | #define CR_CAM_ADDRESS CTL_REG(0x070C) |
@@ -625,11 +633,10 @@ enum { | |||
625 | #define CR_S_MD CTL_REG(0x0830) | 633 | #define CR_S_MD CTL_REG(0x0830) |
626 | 634 | ||
627 | #define CR_USB_DEBUG_PORT CTL_REG(0x0888) | 635 | #define CR_USB_DEBUG_PORT CTL_REG(0x0888) |
628 | 636 | #define CR_ZD1211B_CWIN_MAX_MIN_AC0 CTL_REG(0x0b00) | |
629 | #define CR_ZD1211B_TX_PWR_CTL1 CTL_REG(0x0b00) | 637 | #define CR_ZD1211B_CWIN_MAX_MIN_AC1 CTL_REG(0x0b04) |
630 | #define CR_ZD1211B_TX_PWR_CTL2 CTL_REG(0x0b04) | 638 | #define CR_ZD1211B_CWIN_MAX_MIN_AC2 CTL_REG(0x0b08) |
631 | #define CR_ZD1211B_TX_PWR_CTL3 CTL_REG(0x0b08) | 639 | #define CR_ZD1211B_CWIN_MAX_MIN_AC3 CTL_REG(0x0b0c) |
632 | #define CR_ZD1211B_TX_PWR_CTL4 CTL_REG(0x0b0c) | ||
633 | #define CR_ZD1211B_AIFS_CTL1 CTL_REG(0x0b10) | 640 | #define CR_ZD1211B_AIFS_CTL1 CTL_REG(0x0b10) |
634 | #define CR_ZD1211B_AIFS_CTL2 CTL_REG(0x0b14) | 641 | #define CR_ZD1211B_AIFS_CTL2 CTL_REG(0x0b14) |
635 | #define CR_ZD1211B_TXOP CTL_REG(0x0b20) | 642 | #define CR_ZD1211B_TXOP CTL_REG(0x0b20) |