From 57f0f512b273f60d52568b8c6b77e17f5636edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 5 Aug 2015 17:04:01 -0300 Subject: Initial import --- drivers/net/wireless/cw1200/fwio.h | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 drivers/net/wireless/cw1200/fwio.h (limited to 'drivers/net/wireless/cw1200/fwio.h') diff --git a/drivers/net/wireless/cw1200/fwio.h b/drivers/net/wireless/cw1200/fwio.h new file mode 100644 index 000000000..4bd283389 --- /dev/null +++ b/drivers/net/wireless/cw1200/fwio.h @@ -0,0 +1,39 @@ +/* + * Firmware API for mac80211 ST-Ericsson CW1200 drivers + * + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Based on: + * ST-Ericsson UMAC CW1200 driver which is + * Copyright (c) 2010, ST-Ericsson + * Author: Ajitpal Singh + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef FWIO_H_INCLUDED +#define FWIO_H_INCLUDED + +#define BOOTLOADER_CW1X60 "/*(DEBLOBBED)*/" +#define FIRMWARE_CW1X60 "/*(DEBLOBBED)*/" +#define FIRMWARE_CUT22 "/*(DEBLOBBED)*/" +#define FIRMWARE_CUT20 "/*(DEBLOBBED)*/" +#define FIRMWARE_CUT11 "/*(DEBLOBBED)*/" +#define FIRMWARE_CUT10 "/*(DEBLOBBED)*/" +#define SDD_FILE_CW1X60 "/*(DEBLOBBED)*/" +#define SDD_FILE_22 "/*(DEBLOBBED)*/" +#define SDD_FILE_20 "/*(DEBLOBBED)*/" +#define SDD_FILE_11 "/*(DEBLOBBED)*/" +#define SDD_FILE_10 "/*(DEBLOBBED)*/" + +int cw1200_load_firmware(struct cw1200_common *priv); + +/* SDD definitions */ +#define SDD_PTA_CFG_ELT_ID 0xEB +#define SDD_REFERENCE_FREQUENCY_ELT_ID 0xc5 +u32 cw1200_dpll_from_clk(u16 clk); + +#endif -- cgit v1.2.3-54-g00ecf