1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-08-16 08:34:15 +02:00
This commit is contained in:
AndyPi 2015-06-12 11:52:20 +01:00
parent ebdc61a8df
commit f951824a75
4 changed files with 21 additions and 12 deletions

16
.gitignore vendored
View File

@ -1,7 +1,9 @@
*.o
*.cmd
.tmp_versions/
8812au.ko
8812au.mod.c
Module.symvers
modules.order
# ignore all bin directories
# matches "bin" in any subfolder
bin/
# ignore all target directories
target/
# ignore all files ending with ~
*~

View File

@ -164,8 +164,8 @@ extern void _rtw_mfree(u8 *pbuf, u32 sz);
extern void* rtw_malloc2d(int h, int w, int size);
extern void rtw_mfree2d(void *pbuf, int h, int w, int size);
extern void _rtw_memcpy(void* dec, void* sour, u32 sz);
extern int _rtw_memcmp(void *dst, void *src, u32 sz);
extern void _rtw_memcpy(void* dec, const void* sour, u32 sz);
extern int _rtw_memcmp(const void *dst, const void *src, u32 sz);
extern void _rtw_memset(void *pbuf, int c, u32 sz);
extern void _rtw_init_listhead(_list *list);

View File

@ -1641,7 +1641,14 @@ unsigned int rtw_classify8021d(struct sk_buff *skb)
return dscp >> 5;
}
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb)
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
#if (LINUX_VERSION_CODE>=KERNEL_VERSION(3,13,0))
,void *accel_priv
#endif
#if (LINUX_VERSION_CODE>=KERNEL_VERSION(3,14,0))
,select_queue_fallback_t fallback
#endif
)
{
_adapter *padapter = rtw_netdev_priv(dev);
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;

View File

@ -485,7 +485,7 @@ void rtw_mfree2d(void *pbuf, int h, int w, int size)
rtw_mfree((u8 *)pbuf, h*sizeof(void*) + w*h*size);
}
void _rtw_memcpy(void* dst, void* src, u32 sz)
void _rtw_memcpy(void* dst, const void* src, u32 sz)
{
#if defined (PLATFORM_LINUX)|| defined (PLATFORM_FREEBSD)
@ -502,7 +502,7 @@ void _rtw_memcpy(void* dst, void* src, u32 sz)
}
int _rtw_memcmp(void *dst, void *src, u32 sz)
int _rtw_memcmp(const void *dst, const void *src, u32 sz)
{
#if defined (PLATFORM_LINUX)|| defined (PLATFORM_FREEBSD)