// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * ******************************************************************************/ #include <drv_types.h> #include <rtl8723b_hal.h> static u8 rtw_sdio_wait_enough_TxOQT_space(struct adapter *padapter, u8 agg_num) { … } static s32 rtl8723_dequeue_writeport(struct adapter *padapter) { … } /* * Description *Transmit xmitbuf to hardware tx fifo * * Return *_SUCCESS ok *_FAIL something error */ s32 rtl8723bs_xmit_buf_handler(struct adapter *padapter) { … } /* * Description: *Aggregation packets and send to hardware * * Return: *0 Success *-1 Hardware resource(TX FIFO) not ready *-2 Software resource(xmitbuf) not ready */ static s32 xmit_xmitframes(struct adapter *padapter, struct xmit_priv *pxmitpriv) { … } /* * Description *Transmit xmitframe from queue * * Return *_SUCCESS ok *_FAIL something error */ static s32 rtl8723bs_xmit_handler(struct adapter *padapter) { … } int rtl8723bs_xmit_thread(void *context) { … } s32 rtl8723bs_mgnt_xmit( struct adapter *padapter, struct xmit_frame *pmgntframe ) { … } /* * Description: *Handle xmitframe(packet) come from rtw_xmit() * * Return: *true dump packet directly ok *false enqueue, temporary can't transmit packets to hardware */ s32 rtl8723bs_hal_xmit( struct adapter *padapter, struct xmit_frame *pxmitframe ) { … } s32 rtl8723bs_hal_xmitframe_enqueue( struct adapter *padapter, struct xmit_frame *pxmitframe ) { … } /* * Return *_SUCCESS start thread ok *_FAIL start thread fail * */ s32 rtl8723bs_init_xmit_priv(struct adapter *padapter) { … } void rtl8723bs_free_xmit_priv(struct adapter *padapter) { … }