mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-08 12:25:18 +00:00
Remove rtw_ioctl_rtl.h & remove include
This commit is contained in:
parent
aba43930d6
commit
f515fca544
@ -30,7 +30,6 @@ sint _rtw_init_cmd_priv(struct cmd_priv *pcmdpriv)
|
||||
{
|
||||
sint res = _SUCCESS;
|
||||
|
||||
|
||||
_rtw_init_sema(&(pcmdpriv->cmd_queue_sema), 0);
|
||||
/* _rtw_init_sema(&(pcmdpriv->cmd_done_sema), 0); */
|
||||
_rtw_init_sema(&(pcmdpriv->start_cmdthread_sema), 0);
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static void _dbg_dump_macreg(_adapter *padapter)
|
||||
{
|
||||
u32 offset = 0;
|
||||
@ -44,7 +43,6 @@ _ConfigChipOutEP_8812(
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
|
||||
|
||||
pHalData->OutEpQueueSel = 0;
|
||||
pHalData->OutEpNumber = 0;
|
||||
|
||||
@ -222,7 +220,6 @@ _InitBurstPktLen(IN PADAPTER Adapter)
|
||||
u1Byte speedvalue, provalue, temp;
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||
|
||||
|
||||
/* rtw_write16(Adapter, REG_TRXDMA_CTRL_8195, 0xf5b0); */
|
||||
/* rtw_write16(Adapter, REG_TRXDMA_CTRL_8812, 0xf5b4); */
|
||||
rtw_write8(Adapter, 0xf050, 0x01); /* usb3 rx interval */
|
||||
@ -369,10 +366,6 @@ static u32 _InitPowerOn_8812AU(_adapter *padapter)
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------
|
||||
*
|
||||
* MAC init functions
|
||||
@ -603,7 +596,6 @@ _InitPageBoundary_8812AUsb(
|
||||
|
||||
}
|
||||
|
||||
|
||||
static VOID
|
||||
_InitNormalChipRegPriority_8812AUsb(
|
||||
IN PADAPTER Adapter,
|
||||
@ -633,7 +625,6 @@ _InitNormalChipTwoOutEpPriority_8812AUsb(
|
||||
struct registry_priv *pregistrypriv = &Adapter->registrypriv;
|
||||
u16 beQ, bkQ, viQ, voQ, mgtQ, hiQ;
|
||||
|
||||
|
||||
u16 valueHi = 0;
|
||||
u16 valueLow = 0;
|
||||
|
||||
@ -738,7 +729,6 @@ _InitNormalChipFourOutEpPriority_8812AUsb(
|
||||
init_hi_queue_config_8812a_usb(Adapter);
|
||||
}
|
||||
|
||||
|
||||
static VOID
|
||||
_InitQueuePriority_8812AUsb(
|
||||
IN PADAPTER Adapter
|
||||
@ -762,8 +752,6 @@ _InitQueuePriority_8812AUsb(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
static VOID
|
||||
_InitHardwareDropIncorrectBulkOut_8812A(
|
||||
IN PADAPTER Adapter
|
||||
@ -839,7 +827,6 @@ _InitWMACSetting_8812A(
|
||||
rtw_write32(Adapter, REG_MAR, 0xFFFFFFFF);
|
||||
rtw_write32(Adapter, REG_MAR + 4, 0xFFFFFFFF);
|
||||
|
||||
|
||||
/* Accept all data frames */
|
||||
/* value16 = 0xFFFF; */
|
||||
/* rtw_write16(Adapter, REG_RXFLTMAP2, value16); */
|
||||
@ -922,7 +909,6 @@ _InitEDCA_8812AUsb(
|
||||
rtw_write8(Adapter, REG_USTIME_EDCA, 0x50);
|
||||
}
|
||||
|
||||
|
||||
static VOID
|
||||
_InitBeaconMaxError_8812A(
|
||||
IN PADAPTER Adapter,
|
||||
@ -936,7 +922,6 @@ _InitBeaconMaxError_8812A(
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
#ifdef CONFIG_RTW_LED
|
||||
static void _InitHWLed(PADAPTER Adapter)
|
||||
{
|
||||
@ -1018,7 +1003,6 @@ usb_AggSettingTxUpdate_8812A(
|
||||
#endif
|
||||
} /* usb_AggSettingTxUpdate */
|
||||
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
* Function: usb_AggSettingRxUpdate()
|
||||
*
|
||||
@ -1130,7 +1114,6 @@ USB_AggModeSwitch(
|
||||
return; /* Inf not support. */
|
||||
}
|
||||
|
||||
|
||||
if (pMgntInfo->LinkDetectInfo.bHigherBusyRxTraffic == TRUE &&
|
||||
pHalData->UsbRxHighSpeedMode == FALSE) {
|
||||
pHalData->UsbRxHighSpeedMode = TRUE;
|
||||
@ -1140,7 +1123,6 @@ USB_AggModeSwitch(
|
||||
} else
|
||||
return;
|
||||
|
||||
|
||||
#if USB_RX_AGGREGATION_92C
|
||||
if (pHalData->UsbRxHighSpeedMode == TRUE) {
|
||||
/* 2010/12/10 MH The parameter is tested by SD1 engineer and SD3 channel emulator. */
|
||||
@ -1189,8 +1171,6 @@ USB_AggModeSwitch(
|
||||
#endif
|
||||
} /* USB_AggModeSwitch */
|
||||
|
||||
|
||||
|
||||
/* Set CCK and OFDM Block "ON" */
|
||||
static VOID _BBTurnOnBlock(
|
||||
IN PADAPTER Adapter
|
||||
@ -1242,7 +1222,8 @@ enum {
|
||||
* 2010/08/26 MH Add for selective suspend mode check.
|
||||
* If Efuse 0x0e bit1 is not enabled, we can not support selective suspend for Minicard and
|
||||
* slim card.
|
||||
* */
|
||||
*
|
||||
*/
|
||||
static VOID
|
||||
HalDetectSelectiveSuspendMode(
|
||||
IN PADAPTER Adapter
|
||||
@ -1310,7 +1291,6 @@ void _ps_close_RF(_adapter *padapter)
|
||||
/* phy_SsPwrSwitch92CU(padapter, rf_off, 1); */
|
||||
}
|
||||
|
||||
|
||||
/* A lightweight deinit function */
|
||||
static void rtl8812au_hw_reset(_adapter *Adapter)
|
||||
{
|
||||
@ -1367,7 +1347,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
|
||||
systime init_start_time = rtw_get_current_time();
|
||||
|
||||
|
||||
#ifdef DBG_HAL_INIT_PROFILING
|
||||
|
||||
enum HAL_INIT_STAGES {
|
||||
@ -1437,9 +1416,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
#define HAL_INIT_PROFILE_TAG(stage) do {} while (0)
|
||||
#endif /* DBG_HAL_INIT_PROFILING */
|
||||
|
||||
|
||||
|
||||
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_BEGIN);
|
||||
if (pwrctrlpriv->bkeepfwalive) {
|
||||
_ps_open_RF(Adapter);
|
||||
@ -1491,8 +1467,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
*/
|
||||
rtl8812au_hw_reset(Adapter);
|
||||
|
||||
|
||||
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_INIT_PW_ON);
|
||||
status = rtw_hal_power_on(Adapter);
|
||||
if (status == _FAIL) {
|
||||
@ -1615,7 +1589,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
#endif /* CONFIG_TX_MCAST2UNI */
|
||||
#endif /* CONFIG_CONCURRENT_MODE || CONFIG_TX_MCAST2UNI */
|
||||
|
||||
|
||||
#ifdef CONFIG_RTW_LED
|
||||
_InitHWLed(Adapter);
|
||||
#endif /* CONFIG_RTW_LED */
|
||||
@ -1721,7 +1694,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
rtw_write8(Adapter, REG_SDIO_CTRL_8812, 0x0);
|
||||
rtw_write8(Adapter, REG_ACLK_MON, 0x0);
|
||||
|
||||
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_IQK);
|
||||
/* 2010/08/26 MH Merge from 8192CE. */
|
||||
if (pwrctrlpriv->rf_pwrstate == rf_on) {
|
||||
@ -1751,7 +1723,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_MISC21);
|
||||
|
||||
|
||||
/* HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_INIT_PABIAS);
|
||||
* _InitPABias(Adapter); */
|
||||
|
||||
@ -1780,7 +1751,6 @@ u32 rtl8812au_hal_init(PADAPTER Adapter)
|
||||
rtw_write32(Adapter, REG_FWHW_TXQ_CTRL, rtw_read32(Adapter, REG_FWHW_TXQ_CTRL) | BIT(12));
|
||||
#endif /* CONFIG_XMIT_ACK */
|
||||
|
||||
|
||||
exit:
|
||||
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
|
||||
|
||||
@ -1799,8 +1769,6 @@ exit:
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
@ -1921,7 +1889,6 @@ u32 rtl8812au_hal_deinit(PADAPTER Adapter)
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
unsigned int rtl8812au_inirp_init(PADAPTER Adapter)
|
||||
{
|
||||
u8 i;
|
||||
@ -1936,12 +1903,10 @@ unsigned int rtl8812au_inirp_init(PADAPTER Adapter)
|
||||
u32(*_read_interrupt)(struct intf_hdl *pintfhdl, u32 addr);
|
||||
#endif
|
||||
|
||||
|
||||
_read_port = pintfhdl->io_ops._read_port;
|
||||
|
||||
status = _SUCCESS;
|
||||
|
||||
|
||||
precvpriv->ff_hwaddr = RECV_BULK_IN_ADDR;
|
||||
|
||||
/* issue Rx irp to receive data */
|
||||
@ -1970,8 +1935,6 @@ unsigned int rtl8812au_inirp_init(PADAPTER Adapter)
|
||||
|
||||
exit:
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
|
||||
}
|
||||
@ -1981,7 +1944,6 @@ unsigned int rtl8812au_inirp_deinit(PADAPTER Adapter)
|
||||
|
||||
rtw_read_port_cancel(Adapter);
|
||||
|
||||
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
@ -2011,7 +1973,6 @@ hal_ReadIDs_8812AU(
|
||||
pHalData->EEPROMPID = ReadLE2Byte(&PROMContent[EEPROM_PID_8821AU]);
|
||||
}
|
||||
|
||||
|
||||
/* Customer ID, 0x00 and 0xff are reserved for Realtek. */
|
||||
pHalData->EEPROMCustomerID = *(u8 *)&PROMContent[EEPROM_CustomID_8812];
|
||||
pHalData->EEPROMSubCustomerID = EEPROM_Default_SubCustomerID;
|
||||
|
@ -93,7 +93,6 @@ typedef struct _ADAPTER _adapter, ADAPTER, *PADAPTER;
|
||||
#include <rtw_ioctl.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
#include <rtw_ioctl_query.h>
|
||||
#include <rtw_ioctl_rtl.h>
|
||||
#include <osdep_intf.h>
|
||||
#include <rtw_eeprom.h>
|
||||
#include <sta_info.h>
|
||||
|
@ -1,69 +0,0 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 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 _RTW_IOCTL_RTL_H_
|
||||
#define _RTW_IOCTL_RTL_H_
|
||||
|
||||
/* ************** oid_rtl_seg_01_01 ************** */
|
||||
NDIS_STATUS oid_rt_get_signal_quality_hdl(struct oid_par_priv *poid_par_priv);/* 84 */
|
||||
NDIS_STATUS oid_rt_get_small_packet_crc_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_middle_packet_crc_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_large_packet_crc_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_tx_retry_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_rx_retry_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_rx_total_packet_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_tx_beacon_ok_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_tx_beacon_err_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_pro_set_fw_dig_state_hdl(struct oid_par_priv *poid_par_priv); /* 8a */
|
||||
NDIS_STATUS oid_rt_pro_set_fw_ra_state_hdl(struct oid_par_priv *poid_par_priv); /* 8b */
|
||||
NDIS_STATUS oid_rt_get_rx_icv_err_hdl(struct oid_par_priv *poid_par_priv);/* 93 */
|
||||
NDIS_STATUS oid_rt_set_encryption_algorithm_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_preamble_mode_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_ap_ip_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_channelplan_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_set_channelplan_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_set_preamble_mode_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_set_bcn_intvl_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_dedicate_probe_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_total_tx_bytes_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_total_rx_bytes_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_current_tx_power_level_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_enc_key_mismatch_count_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_enc_key_match_count_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_channel_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_hardware_radio_off_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_key_mismatch_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_supported_wireless_mode_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_channel_list_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_scan_in_progress_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_forced_data_rate_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_wireless_mode_for_scan_list_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_get_bss_wireless_mode_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_scan_with_magic_packet_hdl(struct oid_par_priv *poid_par_priv);
|
||||
|
||||
/* ************** oid_rtl_seg_01_03 section start ************** */
|
||||
NDIS_STATUS oid_rt_ap_get_associated_station_list_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_ap_switch_into_ap_mode_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_ap_supported_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_ap_set_passphrase_hdl(struct oid_par_priv *poid_par_priv);
|
||||
|
||||
/* oid_rtl_seg_01_11 */
|
||||
NDIS_STATUS oid_rt_pro_rf_write_registry_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_pro_rf_read_registry_hdl(struct oid_par_priv *poid_par_priv);
|
||||
|
||||
/* ************** oid_rtl_seg_03_00 section start ************** */
|
||||
NDIS_STATUS oid_rt_get_connect_state_hdl(struct oid_par_priv *poid_par_priv);
|
||||
NDIS_STATUS oid_rt_set_default_key_id_hdl(struct oid_par_priv *poid_par_priv);
|
||||
|
||||
#endif
|
6759
tools/checkpatch.pl
Executable file
6759
tools/checkpatch.pl
Executable file
File diff suppressed because it is too large
Load Diff
64
tools/const_structs.checkpatch
Normal file
64
tools/const_structs.checkpatch
Normal file
@ -0,0 +1,64 @@
|
||||
acpi_dock_ops
|
||||
address_space_operations
|
||||
backlight_ops
|
||||
block_device_operations
|
||||
clk_ops
|
||||
comedi_lrange
|
||||
component_ops
|
||||
dentry_operations
|
||||
dev_pm_ops
|
||||
dma_map_ops
|
||||
driver_info
|
||||
drm_connector_funcs
|
||||
drm_encoder_funcs
|
||||
drm_encoder_helper_funcs
|
||||
ethtool_ops
|
||||
extent_io_ops
|
||||
file_lock_operations
|
||||
file_operations
|
||||
hv_ops
|
||||
ide_dma_ops
|
||||
ide_port_ops
|
||||
inode_operations
|
||||
intel_dvo_dev_ops
|
||||
irq_domain_ops
|
||||
item_operations
|
||||
iwl_cfg
|
||||
iwl_ops
|
||||
kgdb_arch
|
||||
kgdb_io
|
||||
kset_uevent_ops
|
||||
lock_manager_operations
|
||||
machine_desc
|
||||
microcode_ops
|
||||
mlxsw_reg_info
|
||||
mtrr_ops
|
||||
neigh_ops
|
||||
net_device_ops
|
||||
nlmsvc_binding
|
||||
nvkm_device_chip
|
||||
of_device_id
|
||||
pci_raw_ops
|
||||
pipe_buf_operations
|
||||
platform_hibernation_ops
|
||||
platform_suspend_ops
|
||||
proto_ops
|
||||
regmap_access_table
|
||||
rpc_pipe_ops
|
||||
rtc_class_ops
|
||||
sd_desc
|
||||
seq_operations
|
||||
sirfsoc_padmux
|
||||
snd_ac97_build_ops
|
||||
snd_soc_component_driver
|
||||
soc_pcmcia_socket_ops
|
||||
stacktrace_ops
|
||||
sysfs_ops
|
||||
tty_operations
|
||||
uart_ops
|
||||
usb_mon_operations
|
||||
v4l2_ctrl_ops
|
||||
v4l2_ioctl_ops
|
||||
vm_operations_struct
|
||||
wacom_features
|
||||
wd_ops
|
1447
tools/spelling.txt
Normal file
1447
tools/spelling.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user