~ubuntu-branches/ubuntu/precise/linux-ti-omap/precise

« back to all changes in this revision

Viewing changes to ubuntu/rtl8192se/rtl_cam.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader, Amit Kucheria
  • Date: 2010-03-23 18:05:12 UTC
  • Revision ID: james.westby@ubuntu.com-20100323180512-iavj906ocnphdubp
Tags: 2.6.33-500.3
[ Amit Kucheria ]

* [Config] Fix the debug package name to end in -dbgsym
* SAUCE: Add the ubuntu/ drivers to omap
* SAUCE: Re-export the symbols for aufs
* [Config] Enable AUFS and COMPCACHE

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************************************
 
2
 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
 
3
 *
 
4
 * Based on the r8180 driver, which is:
 
5
 * Copyright 2004-2005 Andrea Merello <andreamrl@tiscali.it>, et al.
 
6
 * This program is free software; you can redistribute it and/or modify it
 
7
 * under the terms of version 2 of the GNU General Public License as
 
8
 * published by the Free Software Foundation.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful, but WITHOUT
 
11
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
12
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 
13
 * more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License along with
 
16
 * this program; if not, write to the Free Software Foundation, Inc.,
 
17
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
 
18
 *
 
19
 * The full GNU General Public License is included in this distribution in the
 
20
 * file called LICENSE.
 
21
 *
 
22
 * Contact Information:
 
23
 * wlanfae <wlanfae@realtek.com>
 
24
******************************************************************************/
 
25
#ifndef _RTL_CAM_H
 
26
#define _RTL_CAM_H
 
27
 
 
28
#include <linux/types.h>
 
29
struct net_device;
 
30
 
 
31
void CamResetAllEntry(struct net_device* dev);
 
32
void EnableHWSecurityConfig8192(struct net_device *dev);
 
33
void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent );
 
34
#ifdef _RTL8192_EXT_PATCH_
 
35
void set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent, u8 is_mesh);
 
36
#else
 
37
void set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType, u8 *MacAddr, u8 DefaultKey, u32 *KeyContent );
 
38
#endif
 
39
void CamPrintDbgReg(struct net_device* dev);
 
40
 
 
41
#ifdef _RTL8192_EXT_PATCH_
 
42
void CamDeleteOneEntry(struct net_device *dev, u8 EntryNo);
 
43
void CamRestoreEachIFEntry(struct net_device* dev,u8 is_mesh);
 
44
#endif
 
45
 
 
46
u32 read_cam(struct net_device *dev, u8 addr);
 
47
void write_cam(struct net_device *dev, u8 addr, u32 data);
 
48
 
 
49
void CamRestoreAllEntry(struct net_device *dev);
 
50
#ifdef _RTL8192_EXT_PATCH_
 
51
void reset_IFswcam(struct net_device *dev, u8 is_mesh);
 
52
void CamRestoreEachIFEntry(struct net_device* dev,u8 is_mesh);
 
53
int rtl8192_set_key_for_AP(struct rtllib_device *ieee);
 
54
#endif
 
55
 
 
56
void CAM_read_entry(struct net_device *dev, u32 iIndex);
 
57
 
 
58
#ifdef _RTL8192_EXT_PATCH_
 
59
u8 rtl8192_get_free_hwsec_cam_entry(struct rtllib_device *ieee, u8 *sta_addr);
 
60
void rtl8192_del_hwsec_cam_entry(struct rtllib_device *ieee, u8 *sta_addr);
 
61
int meshdev_set_key_for_peer(struct net_device *dev, u8 *Addr, u8 KeyIndex, u16 KeyType, u32 *KeyContent);
 
62
#endif
 
63
 
 
64
#endif