mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
a0b3a1c269
Replace the driver-specific _SUCCESS and _FAIL error codes in rtl8188eu_inirp_init. Return 0 for success or a negative error code as we do elsewhere in the kernel. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20230206201800.139195-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44 lines
1.5 KiB
C
44 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/* Copyright(c) 2007 - 2012 Realtek Corporation. */
|
|
|
|
#ifndef __HAL_INTF_H__
|
|
#define __HAL_INTF_H__
|
|
|
|
#include "osdep_service.h"
|
|
#include "drv_types.h"
|
|
#include "Hal8188EPhyCfg.h"
|
|
|
|
typedef s32 (*c2h_id_filter)(u8 id);
|
|
|
|
int rtl8188eu_interface_configure(struct adapter *adapt);
|
|
int ReadAdapterInfo8188EU(struct adapter *Adapter);
|
|
void rtl8188eu_init_default_value(struct adapter *adapt);
|
|
void rtl8188e_SetHalODMVar(struct adapter *Adapter, void *pValue1, bool bSet);
|
|
u32 rtl8188eu_InitPowerOn(struct adapter *adapt);
|
|
void rtl8188e_EfusePowerSwitch(struct adapter *pAdapter, u8 PwrState);
|
|
void rtl8188e_ReadEFuse(struct adapter *Adapter, u16 _size_byte, u8 *pbuf);
|
|
|
|
void hal_notch_filter_8188e(struct adapter *adapter, bool enable);
|
|
|
|
void SetBeaconRelatedRegisters8188EUsb(struct adapter *adapt);
|
|
void UpdateHalRAMask8188EUsb(struct adapter *adapt, u32 mac_id, u8 rssi_level);
|
|
|
|
int rtl8188e_IOL_exec_cmds_sync(struct adapter *adapter,
|
|
struct xmit_frame *xmit_frame, u32 max_wating_ms, u32 bndy_cnt);
|
|
|
|
int rtl8188eu_inirp_init(struct adapter *Adapter);
|
|
|
|
uint rtw_hal_init(struct adapter *padapter);
|
|
uint rtw_hal_deinit(struct adapter *padapter);
|
|
void rtw_hal_stop(struct adapter *padapter);
|
|
|
|
u32 rtl8188eu_hal_init(struct adapter *Adapter);
|
|
u32 rtl8188eu_hal_deinit(struct adapter *Adapter);
|
|
|
|
void rtw_hal_update_ra_mask(struct adapter *padapter, u32 mac_id, u8 level);
|
|
void rtw_hal_clone_data(struct adapter *dst_adapt,
|
|
struct adapter *src_adapt);
|
|
|
|
u8 rtw_do_join(struct adapter *padapter);
|
|
|
|
#endif /* __HAL_INTF_H__ */
|