1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. 4 * 5 * Based on the r8180 driver, which is: 6 * Copyright 2004-2005 Andrea Merello <andrea.merello@gmail.com>, et al. 7 * 8 * Contact Information: wlanfae <wlanfae@realtek.com> 9 */ 10 #ifndef _RTL_CAM_H 11 #define _RTL_CAM_H 12 13 #include <linux/types.h> 14 struct net_device; 15 16 void rtl92e_cam_reset(struct net_device *dev); 17 void rtl92e_enable_hw_security_config(struct net_device *dev); 18 void rtl92e_set_key(struct net_device *dev, u8 EntryNo, u8 KeyIndex, 19 u16 KeyType, const u8 *MacAddr, u8 DefaultKey, 20 u32 *KeyContent); 21 void rtl92e_set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, 22 u16 KeyType, const u8 *MacAddr, u8 DefaultKey, 23 u32 *KeyContent, u8 is_mesh); 24 void rtl92e_cam_restore(struct net_device *dev); 25 26 #endif 27