forked from CyanogenMod/htc-kernel-msm7227
-
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.
wlan: Add a separate header for BCM platform device
- Loading branch information
1 parent
3ad5c08
commit 91b3aeb
Showing
1 changed file
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* include/linux/wifi_bcm.h | ||
* | ||
* Copyright (C) 2010 Google, Inc. | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* 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. | ||
* | ||
*/ | ||
#ifndef _LINUX_WIFI_BCM_H_ | ||
#define _LINUX_WIFI_BCM_H_ | ||
|
||
struct bcm_wifi_platform_data { | ||
char *name; | ||
int (*set_power)(int val); | ||
int (*set_reset)(int val); | ||
int (*set_carddetect)(int val); | ||
void *(*mem_prealloc)(int section, unsigned long size); | ||
int dot11n_enable; | ||
int cscan_enable; | ||
int (*get_mac_addr)(unsigned char *buf); | ||
}; | ||
|
||
#endif |