1 //------------------------------------------------------------------------------
2 // Copyright (c) 2010 Atheros Corporation.  All rights reserved.
3 //
4 //
5 // Permission to use, copy, modify, and/or distribute this software for any
6 // purpose with or without fee is hereby granted, provided that the above
7 // copyright notice and this permission notice appear in all copies.
8 //
9 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 //
17 //
18 //------------------------------------------------------------------------------
19 //==============================================================================
20 // Author(s): ="Atheros"
21 //==============================================================================
22 
23 #ifndef __TLPM_H__
24 #define __TLPM_H__
25 
26 /* idle timeout in 16-bit value as in HOST_INTEREST hi_hci_uart_pwr_mgmt_params */
27 #define TLPM_DEFAULT_IDLE_TIMEOUT_MS         1000
28 /* hex in LSB and MSB for HCI command */
29 #define TLPM_DEFAULT_IDLE_TIMEOUT_LSB        0xE8
30 #define TLPM_DEFAULT_IDLE_TIMEOUT_MSB        0x3
31 
32 /* wakeup timeout in 8-bit value as in HOST_INTEREST hi_hci_uart_pwr_mgmt_params */
33 #define TLPM_DEFAULT_WAKEUP_TIMEOUT_MS       10
34 
35 /* default UART FC polarity is low */
36 #define TLPM_DEFAULT_UART_FC_POLARITY        0
37 
38 #endif
39