Skip to content

Commit

Permalink
wlan: Add a separate header for BCM platform device
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperb1iss committed May 25, 2011
1 parent 3ad5c08 commit 91b3aeb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions include/linux/wifi_bcm.h
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

0 comments on commit 91b3aeb

Please sign in to comment.