mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
![Greg Kroah-Hartman](/assets/img/avatar_default.png)
This consists of two modules, the driver, and a "helper" module that is just a wrapper around common kernel functions. The wrapper module will be removed soon, but for now it's needed. These files were based on the csr-linux-wifi-5.0.3-oss.tar.gz package provided by CSR and Blue Giga, and is covered under the license specified in the LICENSE.txt file (basically dual BSD and GPLv2). The files were flattened out of the deep directory mess they were originally in, and a few EXPORT_SYMBOL_GPL() were added in order for everything to link properly with the helper module setup. Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com> Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com> Cc: Riku Mettälä <riku.mettala@bluegiga.com> Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/*
|
|
* ---------------------------------------------------------------------------
|
|
*
|
|
* 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__ */
|