diff options
author | Luciano Coelho <coelho@ti.com> | 2012-05-10 11:13:13 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 14:54:42 +0200 |
commit | 274c66cdcd89654de276be871627181b192a6e30 (patch) | |
tree | a35e5b8b9e635f92541571bd17310813d72b21a0 /drivers/net/wireless/ti/wl18xx/reg.h | |
parent | wl18xx: add some boot operations and hw-specific configurations (diff) | |
download | linux-274c66cdcd89654de276be871627181b192a6e30.tar.xz linux-274c66cdcd89654de276be871627181b192a6e30.zip |
wl18xx: add trigger command and ack event operations
Add the operations that allow wlcore to trigger commands to the
firmware and acknowledge when an event has been fully received.
Allocate a private buffer to hold the maximum sized cmd. Send the
entire length of the buffer each time a command is sent to signal
EOT. Remove the previous EOT mechanism.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/reg.h')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/reg.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/reg.h b/drivers/net/wireless/ti/wl18xx/reg.h index 2916d6939d44..53987997f78f 100644 --- a/drivers/net/wireless/ti/wl18xx/reg.h +++ b/drivers/net/wireless/ti/wl18xx/reg.h @@ -113,6 +113,22 @@ #define CHIP_ID_185x_PG10 (0x06030101) +/* + * 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 WL18XX_INTR_TRIG_CMD BIT(28) + +/* + * Host Event Acknowlegde Interrupt. The host + * sets this bit to acknowledge that it received + * the unsolicited information from the event + * mailbox. + */ +#define WL18XX_INTR_TRIG_EVENT_ACK BIT(29) + /* TODO: maybe move elsewhere? */ #define NUM_OF_CHANNELS_11_ABG 150 #define NUM_OF_CHANNELS_11_P 7 |