Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / wlan / include / magpie / wlan_cfg.h
1 #ifndef _WLAN_CFG_H_
2 #define _WLAN_CFG_H_
3
4 /************************** ATH configurations **************************/
5 #ifdef RX_SCATTER
6 #define ATH_RXDESC  40     /* number of RX descriptors */
7 #endif
8
9 #ifdef RX_SCATTER
10 #define ATH_RXBUF   40              /* number of RX buffers */
11 #else
12 #define ATH_RXBUF   20              /* number of RX buffers */
13 #endif
14 #define ATH_TXBUF   45              /* number of TX buffers */
15 #define ATH_BCBUF   1               /* number of beacon buffers */
16 #define ATH_WMI_MAX_CMD_REPLY   2
17 #define ATH_WMI_MAX_EVENTS      8
18
19 #ifdef FUSION_USB_FW
20 #undef ATH_RXBUF
21 #undef ATH_RXDESC
22
23 #define ATH_RXDESC  20
24 #define ATH_RXBUF   20
25 #endif
26 //#define ATH_DISABLE_RC              /* Use fixed rate instead of rate control */
27
28 #define ATH_BUF_OPTIMIZATION
29 #define ATH_NO_VIRTUAL_MEMORY
30
31 //#define ATH_SUPPORT_XB_ONLY
32 #define ATH_SUPPORT_A_MODE 
33
34 #define ATH_VERSION_MAJOR 1
35 #define ATH_VERSION_MINOR 3
36
37 /************************** HAL configurations **************************/
38
39 #define HAL_DESC_OPTIMIZATION
40
41 #endif /* _WLAN_CFG_H_ */