diff options
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_chip.h')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_chip.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.h b/drivers/net/wireless/zd1211rw/zd_chip.h index 5b6e3a3751ba..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) |