linux/drivers/staging/rtl8192e/rtl8192e/rtl_cam.h
<<
>>
Prefs
   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 <andrea.merello@gmail.com>, 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 * The full GNU General Public License is included in this distribution in the
  16 * file called LICENSE.
  17 *
  18 * Contact Information:
  19 * wlanfae <wlanfae@realtek.com>
  20 *****************************************************************************/
  21#ifndef _RTL_CAM_H
  22#define _RTL_CAM_H
  23
  24#include <linux/types.h>
  25struct net_device;
  26
  27void rtl92e_cam_reset(struct net_device *dev);
  28void rtl92e_enable_hw_security_config(struct net_device *dev);
  29void rtl92e_set_key(struct net_device *dev, u8 EntryNo, u8 KeyIndex,
  30                    u16 KeyType, const u8 *MacAddr, u8 DefaultKey,
  31                    u32 *KeyContent);
  32void rtl92e_set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex,
  33                      u16 KeyType, const u8 *MacAddr, u8 DefaultKey,
  34                      u32 *KeyContent, u8 is_mesh);
  35void rtl92e_cam_restore(struct net_device *dev);
  36
  37#endif
  38