diff options
Diffstat (limited to 'drivers/net/wireless/rtl8723as/include/rtw_xmit.h')
-rwxr-xr-x | drivers/net/wireless/rtl8723as/include/rtw_xmit.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/drivers/net/wireless/rtl8723as/include/rtw_xmit.h b/drivers/net/wireless/rtl8723as/include/rtw_xmit.h index 3a62e5f82137..df1cef62e06f 100755 --- a/drivers/net/wireless/rtl8723as/include/rtw_xmit.h +++ b/drivers/net/wireless/rtl8723as/include/rtw_xmit.h @@ -45,13 +45,13 @@ #elif defined (CONFIG_USB_HCI) #ifdef CONFIG_USB_TX_AGGREGATION -#ifdef CONFIG_PLATFORM_ARM_SUNxI -#define MAX_XMITBUF_SZ (12288) //12k 1536*8 - #elif defined (CONFIG_PLATFORM_MSTAR_TITANIA12) + #if defined(CONFIG_PLATFORM_ARM_SUNxI) || defined(CONFIG_PLATFORM_ARM_SUN6I) + #define MAX_XMITBUF_SZ (12288) //12k 1536*8 + #elif defined (CONFIG_PLATFORM_MSTAR) #define MAX_XMITBUF_SZ 7680 // 7.5k -#else -#define MAX_XMITBUF_SZ (20480) // 20k -#endif + #else + #define MAX_XMITBUF_SZ (20480) // 20k + #endif #else #define MAX_XMITBUF_SZ (2048) #endif @@ -644,11 +644,15 @@ struct xmit_priv { #ifdef CONFIG_SDIO_HCI #ifdef CONFIG_SDIO_TX_TASKLET -#ifdef PLATFORM_LINUX + #ifdef PLATFORM_LINUX struct tasklet_struct xmit_tasklet; -#endif -#endif -#endif + #endif /* PLATFORM_LINUX */ +#else + _thread_hdl_ SdioXmitThread; + _sema SdioXmitSema; + _sema SdioXmitTerminateSema; +#endif /* CONFIG_SDIO_TX_TASKLET */ +#endif /* CONFIG_SDIO_HCI */ _queue free_xmitbuf_queue; _queue pending_xmitbuf_queue; @@ -705,6 +709,9 @@ extern s32 rtw_xmit_classifier(_adapter *padapter, struct xmit_frame *pxmitframe extern u32 rtw_calculate_wlan_pkt_size_by_attribue(struct pkt_attrib *pattrib); #define rtw_wlan_pkt_size(f) rtw_calculate_wlan_pkt_size_by_attribue(&f->attrib) extern s32 rtw_xmitframe_coalesce(_adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe); +#ifdef CONFIG_IEEE80211W +extern s32 rtw_mgmt_xmitframe_coalesce(_adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe); +#endif //CONFIG_IEEE80211W #ifdef CONFIG_TDLS s32 rtw_xmit_tdls_coalesce(_adapter *padapter, struct xmit_frame *pxmitframe, u8 action); #endif |