diff options
author | Luciano Coelho <coelho@ti.com> | 2012-04-11 11:15:46 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-04-12 09:43:57 +0400 |
commit | f16ff75872b04fa6c779367ae24146c8a1729f2e (patch) | |
tree | 05e21d99615ee1312ce91edecc7c47b575398959 /drivers/net/wireless/ti/wl12xx/reg.h | |
parent | 30d9b4a58bc168620eed0fc6d90b2f05cd02a462 (diff) | |
download | linux-f16ff75872b04fa6c779367ae24146c8a1729f2e.tar.xz |
wlcore/wl12xx: add command trigger and event ack operations
Different chips may use different bits in the interrupt trigger
register. Add operations to handle these differences.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/reg.h')
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/reg.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/reg.h b/drivers/net/wireless/ti/wl12xx/reg.h index 003041bdb5f7..79ede02e2587 100644 --- a/drivers/net/wireless/ti/wl12xx/reg.h +++ b/drivers/net/wireless/ti/wl12xx/reg.h @@ -490,6 +490,22 @@ enum { /* end PLL configuration algorithm for wl128x */ +/* + * Host Command Interrupt. Setting this bit masks + * the interrupt that the host issues to inform + * the FW that it has sent a command + * to the Wlan hardware Command Mailbox. + */ +#define WL12XX_INTR_TRIG_CMD BIT(0) + +/* + * Host Event Acknowlegde Interrupt. The host + * sets this bit to acknowledge that it received + * the unsolicited information from the event + * mailbox. + */ +#define WL12XX_INTR_TRIG_EVENT_ACK BIT(1) + /*=============================================== HI_CFG Interface Configuration Register Values ------------------------------------------ |