summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl12xx/acx.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-02 02:47:45 +0400
committerLuciano Coelho <coelho@ti.com>2012-04-12 09:44:00 +0400
commit9d68d1eea7fb4d05b5bd037da6a66329d640b2f1 (patch)
treed60942724706a9e74f05280f068b52be66b5044e /drivers/net/wireless/ti/wl12xx/acx.h
parentf83985bb5f8f0f25d44ab7b108a709a52aa1c5e0 (diff)
downloadlinux-9d68d1eea7fb4d05b5bd037da6a66329d640b2f1.tar.xz
wlcore/wl12xx: add hw_init operation
Move all the wl12xx-specific hw initialization procedures into a new hw_init op. Move some commands and ACX functions to wl12xx. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/acx.h')
-rw-r--r--drivers/net/wireless/ti/wl12xx/acx.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/acx.h b/drivers/net/wireless/ti/wl12xx/acx.h
new file mode 100644
index 000000000000..d1f5aba0afce
--- /dev/null
+++ b/drivers/net/wireless/ti/wl12xx/acx.h
@@ -0,0 +1,36 @@
+/*
+ * This file is part of wl12xx
+ *
+ * Copyright (C) 1998-2009, 2011 Texas Instruments. All rights reserved.
+ * Copyright (C) 2008-2010 Nokia Corporation
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ */
+
+#ifndef __WL12XX_ACX_H__
+#define __WL12XX_ACX_H__
+
+#include "../wlcore/wlcore.h"
+
+struct wl1271_acx_host_config_bitmap {
+ struct acx_header header;
+
+ __le32 host_cfg_bitmap;
+} __packed;
+
+int wl1271_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap);
+
+#endif /* __WL12XX_ACX_H__ */