OLD | NEW |
1 //------------------------------------------------------------------------------ | 1 //------------------------------------------------------------------------------ |
2 // <copyright file="wlan_dset.h" company="Atheros"> | 2 // Copyright (c) 2010 Atheros Corporation. All rights reserved. |
3 // Copyright (c) 2010 Atheros Corporation. All rights reserved. | |
4 // | 3 // |
5 // This program is free software; you can redistribute it and/or modify | |
6 // it under the terms of the GNU General Public License version 2 as | |
7 // published by the Free Software Foundation; | |
8 // | 4 // |
9 // Software distributed under the License is distributed on an "AS | 5 // Permission to use, copy, modify, and/or distribute this software for any |
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 6 // purpose with or without fee is hereby granted, provided that the above |
11 // implied. See the License for the specific language governing | 7 // copyright notice and this permission notice appear in all copies. |
12 // rights and limitations under the License. | 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. |
13 // | 16 // |
14 // | 17 // |
15 //------------------------------------------------------------------------------ | 18 //------------------------------------------------------------------------------ |
16 //============================================================================== | 19 //============================================================================== |
17 // Author(s): ="Atheros" | 20 // Author(s): ="Atheros" |
18 //============================================================================== | 21 //============================================================================== |
19 | 22 |
20 #ifndef __TLPM_H__ | 23 #ifndef __TLPM_H__ |
21 #define __TLPM_H__ | 24 #define __TLPM_H__ |
22 | 25 |
23 /* idle timeout in 16-bit value as in HOST_INTEREST hi_hci_uart_pwr_mgmt_params
*/ | 26 /* idle timeout in 16-bit value as in HOST_INTEREST hi_hci_uart_pwr_mgmt_params
*/ |
24 #define TLPM_DEFAULT_IDLE_TIMEOUT_MS 1000 | 27 #define TLPM_DEFAULT_IDLE_TIMEOUT_MS 1000 |
25 /* hex in LSB and MSB for HCI command */ | 28 /* hex in LSB and MSB for HCI command */ |
26 #define TLPM_DEFAULT_IDLE_TIMEOUT_LSB 0xE8 | 29 #define TLPM_DEFAULT_IDLE_TIMEOUT_LSB 0xE8 |
27 #define TLPM_DEFAULT_IDLE_TIMEOUT_MSB 0x3 | 30 #define TLPM_DEFAULT_IDLE_TIMEOUT_MSB 0x3 |
28 | 31 |
29 /* wakeup timeout in 8-bit value as in HOST_INTEREST hi_hci_uart_pwr_mgmt_params
*/ | 32 /* wakeup timeout in 8-bit value as in HOST_INTEREST hi_hci_uart_pwr_mgmt_params
*/ |
30 #define TLPM_DEFAULT_WAKEUP_TIMEOUT_MS 10 | 33 #define TLPM_DEFAULT_WAKEUP_TIMEOUT_MS 10 |
31 | 34 |
32 /* default UART FC polarity is low */ | 35 /* default UART FC polarity is low */ |
33 #define TLPM_DEFAULT_UART_FC_POLARITY 0 | 36 #define TLPM_DEFAULT_UART_FC_POLARITY 0 |
34 | 37 |
35 #endif | 38 #endif |
OLD | NEW |