-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'wl12xx-next' into for-linville
- Loading branch information
Showing
85 changed files
with
3,800 additions
and
2,924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
menuconfig WL_TI | ||
bool "TI Wireless LAN support" | ||
---help--- | ||
This section contains support for all the wireless drivers | ||
for Texas Instruments WLAN chips, such as wl1251 and the wl12xx | ||
family. | ||
|
||
if WL_TI | ||
source "drivers/net/wireless/ti/wl1251/Kconfig" | ||
source "drivers/net/wireless/ti/wl12xx/Kconfig" | ||
|
||
# keep last for automatic dependencies | ||
source "drivers/net/wireless/ti/wlcore/Kconfig" | ||
endif # WL_TI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
obj-$(CONFIG_WLCORE) += wlcore/ | ||
obj-$(CONFIG_WL12XX) += wl12xx/ | ||
obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wlcore/ | ||
obj-$(CONFIG_WL1251) += wl1251/ |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config WL12XX | ||
tristate "TI wl12xx support" | ||
select WLCORE | ||
---help--- | ||
This module adds support for wireless adapters based on TI wl1271, | ||
wl1273, wl1281 and wl1283 chipsets. This module does *not* include | ||
support for wl1251. For wl1251 support, use the separate homonymous | ||
driver instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
wl12xx-objs = main.o cmd.o acx.o | ||
|
||
obj-$(CONFIG_WL12XX) += wl12xx.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* This file is part of wl12xx | ||
* | ||
* Copyright (C) 2008-2009 Nokia Corporation | ||
* Copyright (C) 2011 Texas Instruments Inc. | ||
* | ||
* 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 | ||
* | ||
*/ | ||
|
||
#include "../wlcore/cmd.h" | ||
#include "../wlcore/debug.h" | ||
#include "../wlcore/acx.h" | ||
|
||
#include "acx.h" | ||
|
||
int wl1271_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap) | ||
{ | ||
struct wl1271_acx_host_config_bitmap *bitmap_conf; | ||
int ret; | ||
|
||
bitmap_conf = kzalloc(sizeof(*bitmap_conf), GFP_KERNEL); | ||
if (!bitmap_conf) { | ||
ret = -ENOMEM; | ||
goto out; | ||
} | ||
|
||
bitmap_conf->host_cfg_bitmap = cpu_to_le32(host_cfg_bitmap); | ||
|
||
ret = wl1271_cmd_configure(wl, ACX_HOST_IF_CFG_BITMAP, | ||
bitmap_conf, sizeof(*bitmap_conf)); | ||
if (ret < 0) { | ||
wl1271_warning("wl1271 bitmap config opt failed: %d", ret); | ||
goto out; | ||
} | ||
|
||
out: | ||
kfree(bitmap_conf); | ||
|
||
return ret; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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__ */ |
Oops, something went wrong.