aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/csr/unifi_config.h
blob: fe119707844a073da0248a472ec1069b16197740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * ---------------------------------------------------------------------------
 *
 * FILE: unifi_config.h
 *
 * PURPOSE:
 *      This header file provides parameters that configure the operation
 *      of the driver.
 *
 * Copyright (C) 2006-2008 by Cambridge Silicon Radio Ltd.
 *
 * Refer to LICENSE.txt included with this source code for details on
 * the license terms.
 *
 * ---------------------------------------------------------------------------
 */
#ifndef __UNIFI_CONFIG_H__
#define __UNIFI_CONFIG_H__ 1

/*
 * Override for the SDIO function block size on this host. When byte mode CMD53s
 * are not used/supported by the SD host controller, transfers are padded up to
 * the next block boundary. The 512-byte default on UF6xxx wastes too much space
 * on the chip, so the block size is reduced to support this configuration.
 */
#define CSR_WIFI_HIP_SDIO_BLOCK_SIZE  64

/* Define the number of mini-coredump buffers to allocate at startup. These are
 * used to record chip status for the last n unexpected resets.
 */
#define CSR_WIFI_HIP_NUM_COREDUMP_BUFFERS  5


#endif /* __UNIFI_CONFIG_H__ */