#include "rtllib.h"
#include "rtl819x_BA.h"
#include "rtl_core.h"
-#ifdef RTK_DMP_PLATFORM
-#include <linux/usb_setting.h>
-#endif
void ActivateBAEntry(struct rtllib_device* ieee, PBA_RECORD pBA, u16 Time)
{
if (ieee->networks)
return 0;
-#ifndef RTK_DMP_PLATFORM
ieee->networks = kmalloc(
MAX_NETWORK_COUNT * sizeof(struct rtllib_network),
GFP_KERNEL);
-#else
- ieee->networks = dvr_malloc(MAX_NETWORK_COUNT * sizeof(struct rtllib_network));
-#endif
if (!ieee->networks) {
printk(KERN_WARNING "%s: Out of memory allocating beacons\n",
ieee->dev->name);
{
if (!ieee->networks)
return;
-#ifndef RTK_DMP_PLATFORM
kfree(ieee->networks);
-#else
- dvr_free(ieee->networks);
-#endif
ieee->networks = NULL;
}
#include <asm/uaccess.h>
#include "dot11d.h"
-#ifdef RTK_DMP_PLATFORM
-#include <linux/usb_setting.h>
-#endif
extern void _setup_timer( struct timer_list*, void*, unsigned long );
u8 rsn_authen_cipher_suite[16][4] = {
{0x00,0x0F,0xAC,0x00},
if (ieee->data_hard_resume)
ieee->data_hard_resume(ieee->dev);
-#ifdef RTK_DMP_PLATFORM
- kobject_hotplug(&ieee->dev->class_dev.kobj, KOBJ_LINKUP);
-#endif
}
static void rtllib_sta_send_associnfo(struct rtllib_device *ieee)
#include "rtllib.h"
-#ifdef RTK_DMP_PLATFORM
-#include <linux/usb_setting.h>
-#endif
-
/*