mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
1. Add custom roam parameters 2. Add path for power file 3. Add source tree path for Makefile 4. Add section in Makefile for TEGRA platform 5. Update permissions from 0755 to 0644 for files 6. Move roaming debug prints to RTW_INFO 7. Remove pr_debug redefinition 8. Move LOG_LEVEL to 0 Bug 4556940 Change-Id: Ic6de0172e6e866c6e81fa84685a929b60051ffce Signed-off-by: Shobek Attupurath <sattupurath@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3140409 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3202806 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2015 - 2017 Realtek Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
*****************************************************************************/
|
|
#ifndef _RTL8822CU_HAL_H_
|
|
#define _RTL8822CU_HAL_H_
|
|
|
|
#ifdef CONFIG_USB_HCI
|
|
#include <drv_types.h> /* PADAPTER */
|
|
|
|
#ifdef CONFIG_USB_HCI
|
|
#ifdef USB_PACKET_OFFSET_SZ
|
|
#define PACKET_OFFSET_SZ (USB_PACKET_OFFSET_SZ)
|
|
#else
|
|
#define PACKET_OFFSET_SZ (8)
|
|
#endif
|
|
#define TXDESC_OFFSET (TXDESC_SIZE + PACKET_OFFSET_SZ)
|
|
#endif
|
|
|
|
/* undefine MAX_RECVBUF_SZ from rtl8822c_hal.h */
|
|
#ifdef MAX_RECVBUF_SZ
|
|
#undef MAX_RECVBUF_SZ
|
|
#endif
|
|
|
|
/* recv_buffer must be large than usb agg size */
|
|
#ifndef MAX_RECVBUF_SZ
|
|
#ifndef CONFIG_MINIMAL_MEMORY_USAGE
|
|
#ifdef CONFIG_PLATFORM_NOVATEK_NT72668
|
|
#define MAX_RECVBUF_SZ (15360) /* 15k */
|
|
#elif defined(CONFIG_PLATFORM_HISILICON) || defined(CONFIG_PLATFORM_ARM_RTD299X)
|
|
/* use 16k to workaround for HISILICON and RTK TV platform */
|
|
#define MAX_RECVBUF_SZ (16384)
|
|
#else
|
|
#define MAX_RECVBUF_SZ (32768)
|
|
#endif
|
|
#else
|
|
#define MAX_RECVBUF_SZ (4000)
|
|
#endif
|
|
#endif /* !MAX_RECVBUF_SZ */
|
|
|
|
/* rtl8822cu_ops.c */
|
|
void rtl8822cu_set_hal_ops(PADAPTER padapter);
|
|
void rtl8822cu_set_hw_type(struct dvobj_priv *pdvobj);
|
|
|
|
/* rtl8822cu_io.c */
|
|
void rtl8822cu_set_intf_ops(struct _io_ops *pops);
|
|
|
|
#endif /* CONFIG_USB_HCI */
|
|
|
|
|
|
#endif /* _RTL8822CU_HAL_H_ */
|