/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * 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. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA * * ******************************************************************************/ #define _RTL8192CE_RECV_C_ #include #include #include #include #include #include #include #include #include #if defined (PLATFORM_LINUX) && defined (PLATFORM_WINDOWS) #error "Shall be Linux or Windows, but not both!\n" #endif #include #include #include s32 rtl8192ce_init_recv_priv(_adapter * padapter) { struct recv_priv *precvpriv = &padapter->recvpriv; s32 ret = _SUCCESS; _func_enter_; #ifdef PLATFORM_LINUX tasklet_init(&precvpriv->recv_tasklet, (void(*)(unsigned long))rtl8192ce_recv_tasklet, (unsigned long)padapter); tasklet_init(&precvpriv->irq_prepare_beacon_tasklet, (void(*)(unsigned long))rtl8192ce_prepare_bcn_tasklet, (unsigned long)padapter); #endif _func_exit_; return ret; } void rtl8192ce_free_recv_priv(_adapter * padapter) { //struct recv_priv *precvpriv = &padapter->recvpriv; _func_enter_; _func_exit_; }