summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/rtw_xmit.h
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-08-20 20:16:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-23 15:42:46 +0200
commit16870509e9630332fd0436dde2fcc4ec7533c075 (patch)
treecb485b38a24fcda4d3381de0965b0d020ee0f023 /drivers/staging/r8188eu/include/rtw_xmit.h
parenta80425de81f9b4c76a621b86f347f0b79ae3e97a (diff)
downloadlinux-16870509e9630332fd0436dde2fcc4ec7533c075.tar.bz2
staging: r8188eu: make rtw_os_pkt_complete() static
The function rtw_os_pkt_complete() is only used in rtw_xmit.c. Make it static. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220820181623.12497-17-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtw_xmit.h')
-rw-r--r--drivers/staging/r8188eu/include/rtw_xmit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_xmit.h b/drivers/staging/r8188eu/include/rtw_xmit.h
index 2475ca084265..be9a7afad8ea 100644
--- a/drivers/staging/r8188eu/include/rtw_xmit.h
+++ b/drivers/staging/r8188eu/include/rtw_xmit.h
@@ -7,6 +7,9 @@
#include "osdep_service.h"
#include "drv_types.h"
+#define NR_XMITFRAME 256
+#define WMM_XMIT_THRESHOLD (NR_XMITFRAME * 2 / 5)
+
#define MAX_XMITBUF_SZ (20480) /* 20k */
#define NR_XMITBUFF (4)