mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-25 14:44:09 +00:00
Eliminate silly typedefs for threads
This commit is contained in:
parent
82ccf5f8f4
commit
4d68aa7207
@ -530,7 +530,7 @@ void rtw_stop_cmd_thread(_adapter *adapter)
|
||||
}
|
||||
}
|
||||
|
||||
thread_return rtw_cmd_thread(thread_context context)
|
||||
int rtw_cmd_thread(void *context)
|
||||
{
|
||||
u8 ret;
|
||||
struct cmd_obj *pcmd;
|
||||
|
@ -5354,7 +5354,7 @@ sint check_pending_xmitbuf(
|
||||
return ret;
|
||||
}
|
||||
|
||||
thread_return rtw_xmit_thread(thread_context context)
|
||||
int rtw_xmit_thread(void *context)
|
||||
{
|
||||
s32 err;
|
||||
PADAPTER padapter;
|
||||
|
@ -992,7 +992,7 @@ struct dvobj_priv {
|
||||
struct rtw_traffic_statistics traffic_stat;
|
||||
|
||||
#ifdef PLATFORM_LINUX
|
||||
_thread_hdl_ rtnl_lock_holder;
|
||||
void * rtnl_lock_holder;
|
||||
|
||||
#if defined(CONFIG_IOCTL_CFG80211) && defined(RTW_SINGLE_WIPHY)
|
||||
struct wiphy *wiphy;
|
||||
@ -1003,7 +1003,7 @@ struct dvobj_priv {
|
||||
_timer txbcn_timer;
|
||||
#endif
|
||||
_timer dynamic_chk_timer; /* dynamic/periodic check timer */
|
||||
|
||||
|
||||
#ifdef CONFIG_RTW_NAPI_DYNAMIC
|
||||
u8 en_napi_dynamic;
|
||||
#endif /* CONFIG_RTW_NAPI_DYNAMIC */
|
||||
@ -1258,7 +1258,7 @@ struct proxim {
|
||||
#ifdef CONFIG_MAC_LOOPBACK_DRIVER
|
||||
typedef struct loopbackdata {
|
||||
_sema sema;
|
||||
_thread_hdl_ lbkthread;
|
||||
void * lbkthread;
|
||||
u8 bstop;
|
||||
u32 cnt;
|
||||
u16 size;
|
||||
@ -1371,15 +1371,15 @@ struct _ADAPTER {
|
||||
void (*callback[8])(u8 level);
|
||||
} gpiointpriv;
|
||||
#endif
|
||||
_thread_hdl_ cmdThread;
|
||||
void *cmdThread;
|
||||
#ifdef CONFIG_EVENT_THREAD_MODE
|
||||
_thread_hdl_ evtThread;
|
||||
void *evtThread;
|
||||
#endif
|
||||
#ifdef CONFIG_XMIT_THREAD_MODE
|
||||
_thread_hdl_ xmitThread;
|
||||
void *xmitThread;
|
||||
#endif
|
||||
#ifdef CONFIG_RECV_THREAD_MODE
|
||||
_thread_hdl_ recvThread;
|
||||
void *recvThread;
|
||||
#endif
|
||||
u8 registered;
|
||||
#ifndef PLATFORM_LINUX
|
||||
|
@ -177,7 +177,7 @@ extern void rtw_free_evt_obj(struct evt_obj *pcmd);
|
||||
#endif
|
||||
|
||||
void rtw_stop_cmd_thread(_adapter *adapter);
|
||||
thread_return rtw_cmd_thread(thread_context context);
|
||||
int rtw_cmd_thread(void *context);
|
||||
|
||||
extern u32 rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
|
||||
extern void rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
||||
|
@ -974,7 +974,7 @@ void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_bu
|
||||
struct xmit_buf *dequeue_pending_xmitbuf(struct xmit_priv *pxmitpriv);
|
||||
struct xmit_buf *select_and_dequeue_pending_xmitbuf(_adapter *padapter);
|
||||
sint check_pending_xmitbuf(struct xmit_priv *pxmitpriv);
|
||||
thread_return rtw_xmit_thread(thread_context context);
|
||||
int rtw_xmit_thread(void *context);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TX_AMSDU
|
||||
|
@ -11844,7 +11844,7 @@ static u8 pktcmp(PADAPTER padapter, u8 *txbuf, u32 txsz, u8 *rxbuf, u32 rxsz)
|
||||
return ret;
|
||||
}
|
||||
|
||||
thread_return lbk_thread(thread_context context)
|
||||
int lbk_thread(void *context)
|
||||
{
|
||||
s32 err;
|
||||
PADAPTER padapter;
|
||||
|
Loading…
Reference in New Issue
Block a user