mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
rtl8188eu: Remove cases of two or more blank lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e91077579f
commit
bad0b4cde4
91 changed files with 1 additions and 1098 deletions
|
@ -26,15 +26,12 @@
|
|||
/* include <rtw_mp.h> */
|
||||
#include <rtw_mp_ioctl.h>
|
||||
|
||||
|
||||
/* rtl8188eu_oid_rtl_seg_81_85 section start **************** */
|
||||
int rtl8188eu_oid_rt_wireless_mode_hdl(struct oid_par_priv *poid_par_priv)
|
||||
{
|
||||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->information_buf_len < sizeof(u8))
|
||||
return NDIS_STATUS_INVALID_LENGTH;
|
||||
|
||||
|
@ -48,8 +45,6 @@ int rtl8188eu_oid_rt_wireless_mode_hdl(struct oid_par_priv *poid_par_priv)
|
|||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* rtl8188eu_oid_rtl_seg_81_87_80 section start **************** */
|
||||
|
@ -61,8 +56,6 @@ int rtl8188eu_oid_rt_pro_write_bb_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_write_bb_reg_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -87,8 +80,6 @@ int rtl8188eu_oid_rt_pro_write_bb_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
write_bbreg(Adapter, offset, 0xFFFFFFFF, value);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -100,8 +91,6 @@ int rtl8188eu_oid_rt_pro_read_bb_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_read_bb_reg_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
|
@ -127,7 +116,6 @@ int rtl8188eu_oid_rt_pro_read_bb_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
("-rtl8188eu_oid_rt_pro_read_bb_reg_hdl: offset=0x%03X value:0x%08X\n",
|
||||
offset, value));
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -140,8 +128,6 @@ int rtl8188eu_oid_rt_pro_write_rf_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_write_rf_reg_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -171,8 +157,6 @@ int rtl8188eu_oid_rt_pro_write_rf_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
write_rfreg(Adapter, path, offset, value);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -185,8 +169,6 @@ int rtl8188eu_oid_rt_pro_read_rf_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
int status = NDIS_STATUS_SUCCESS;
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_read_rf_reg_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
|
@ -217,8 +199,6 @@ int rtl8188eu_oid_rt_pro_read_rf_reg_hdl(struct oid_par_priv *poid_par_priv)
|
|||
("-rtl8188eu_oid_rt_pro_read_rf_reg_hdl: path=%d offset=0x%02X value=0x%05X\n",
|
||||
path, offset, value));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* rtl8188eu_oid_rtl_seg_81_87_00 section end**************** */
|
||||
|
@ -232,8 +212,6 @@ int rtl8188eu_oid_rt_pro_set_data_rate_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_,
|
||||
("+rtl8188eu_oid_rt_pro_set_data_rate_hdl\n"));
|
||||
|
||||
|
@ -255,8 +233,6 @@ int rtl8188eu_oid_rt_pro_set_data_rate_hdl(struct oid_par_priv *poid_par_priv)
|
|||
SetDataRate(Adapter);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -266,8 +242,6 @@ int rtl8188eu_oid_rt_pro_start_test_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_start_test_hdl\n"));
|
||||
|
||||
if (Adapter->registrypriv.mp_mode == 0)
|
||||
|
@ -293,8 +267,6 @@ exit:
|
|||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("-rtl8188eu_oid_rt_pro_start_test_hdl: mp_mode=%d\n", Adapter->mppriv.mode));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -303,8 +275,6 @@ int rtl8188eu_oid_rt_pro_stop_test_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+Set OID_RT_PRO_STOP_TEST\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -316,8 +286,6 @@ int rtl8188eu_oid_rt_pro_stop_test_hdl(struct oid_par_priv *poid_par_priv)
|
|||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("-Set OID_RT_PRO_STOP_TEST\n"));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -327,8 +295,6 @@ int rtl8188eu_oid_rt_pro_set_channel_direct_call_hdl(struct oid_par_priv *poid_p
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_set_channel_direct_call_hdl\n"));
|
||||
|
||||
if (poid_par_priv->information_buf_len != sizeof(u32))
|
||||
|
@ -352,8 +318,6 @@ int rtl8188eu_oid_rt_pro_set_channel_direct_call_hdl(struct oid_par_priv *poid_p
|
|||
SetChannel(Adapter);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -364,8 +328,6 @@ int rtl8188eu_oid_rt_set_bandwidth_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *padapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_,
|
||||
("+rtl8188eu_oid_rt_set_bandwidth_hdl\n"));
|
||||
|
||||
|
@ -391,8 +353,6 @@ int rtl8188eu_oid_rt_set_bandwidth_hdl(struct oid_par_priv *poid_par_priv)
|
|||
("-rtl8188eu_oid_rt_set_bandwidth_hdl: bandwidth=%d channel_offset=%d\n",
|
||||
bandwidth, channel_offset));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -402,8 +362,6 @@ int rtl8188eu_oid_rt_pro_set_antenna_bb_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_set_antenna_bb_hdl\n"));
|
||||
|
||||
if (poid_par_priv->information_buf_len != sizeof(u32))
|
||||
|
@ -426,8 +384,6 @@ int rtl8188eu_oid_rt_pro_set_antenna_bb_hdl(struct oid_par_priv *poid_par_priv)
|
|||
*(u32 *)poid_par_priv->information_buf = antenna;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -437,8 +393,6 @@ int rtl8188eu_oid_rt_pro_set_tx_power_control_hdl(struct oid_par_priv *poid_par_
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_, ("+rtl8188eu_oid_rt_pro_set_tx_power_control_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -461,8 +415,6 @@ int rtl8188eu_oid_rt_pro_set_tx_power_control_hdl(struct oid_par_priv *poid_par_
|
|||
SetTxPower(Adapter);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -474,8 +426,6 @@ int rtl8188eu_oid_rt_pro_query_tx_packet_sent_hdl(struct oid_par_priv *poid_par_
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -488,8 +438,6 @@ int rtl8188eu_oid_rt_pro_query_tx_packet_sent_hdl(struct oid_par_priv *poid_par_
|
|||
status = NDIS_STATUS_INVALID_LENGTH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -498,8 +446,6 @@ int rtl8188eu_oid_rt_pro_query_rx_packet_received_hdl(struct oid_par_priv *poid_
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -513,8 +459,6 @@ int rtl8188eu_oid_rt_pro_query_rx_packet_received_hdl(struct oid_par_priv *poid_
|
|||
status = NDIS_STATUS_INVALID_LENGTH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -523,8 +467,6 @@ int rtl8188eu_oid_rt_pro_query_rx_packet_crc32_error_hdl(struct oid_par_priv *po
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -538,8 +480,6 @@ int rtl8188eu_oid_rt_pro_query_rx_packet_crc32_error_hdl(struct oid_par_priv *po
|
|||
status = NDIS_STATUS_INVALID_LENGTH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -549,8 +489,6 @@ int rtl8188eu_oid_rt_pro_reset_tx_packet_sent_hdl(struct oid_par_priv *poid_par_
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -559,8 +497,6 @@ int rtl8188eu_oid_rt_pro_reset_tx_packet_sent_hdl(struct oid_par_priv *poid_par_
|
|||
RT_TRACE(_module_mp_, _drv_alert_, ("===> rtl8188eu_oid_rt_pro_reset_tx_packet_sent_hdl.\n"));
|
||||
Adapter->mppriv.tx_pktcount = 0;
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -569,8 +505,6 @@ int rtl8188eu_oid_rt_pro_reset_rx_packet_received_hdl(struct oid_par_priv *poid_
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -583,8 +517,6 @@ int rtl8188eu_oid_rt_pro_reset_rx_packet_received_hdl(struct oid_par_priv *poid_
|
|||
status = NDIS_STATUS_INVALID_LENGTH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -593,8 +525,6 @@ int rtl8188eu_oid_rt_reset_phy_rx_packet_count_hdl(struct oid_par_priv *poid_par
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -604,8 +534,6 @@ int rtl8188eu_oid_rt_reset_phy_rx_packet_count_hdl(struct oid_par_priv *poid_par
|
|||
ResetPhyRxPktCount(Adapter);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -614,8 +542,6 @@ int rtl8188eu_oid_rt_get_phy_rx_packet_received_hdl(struct oid_par_priv *poid_pa
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_, ("+rtl8188eu_oid_rt_get_phy_rx_packet_received_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
|
@ -632,8 +558,6 @@ int rtl8188eu_oid_rt_get_phy_rx_packet_received_hdl(struct oid_par_priv *poid_pa
|
|||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("-rtl8188eu_oid_rt_get_phy_rx_packet_received_hdl: recv_ok=%d\n", *(u32 *)poid_par_priv->information_buf));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -642,14 +566,11 @@ int rtl8188eu_oid_rt_get_phy_rx_packet_crc32_error_hdl(struct oid_par_priv *poid
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_, ("+rtl8188eu_oid_rt_get_phy_rx_packet_crc32_error_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
||||
|
||||
if (poid_par_priv->information_buf_len != sizeof(u32))
|
||||
return NDIS_STATUS_INVALID_LENGTH;
|
||||
|
||||
|
@ -663,8 +584,6 @@ int rtl8188eu_oid_rt_get_phy_rx_packet_crc32_error_hdl(struct oid_par_priv *poid
|
|||
("-rtl8188eu_oid_rt_get_phy_rx_packet_crc32_error_hdl: recv_err =%d\n",
|
||||
*(u32 *)poid_par_priv->information_buf));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* rtl8188eu_oid_rtl_seg_81_80_20 section end **************** */
|
||||
|
@ -674,8 +593,6 @@ int rtl8188eu_oid_rt_pro_set_continuous_tx_hdl(struct oid_par_priv *poid_par_pri
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_set_continuous_tx_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -698,8 +615,6 @@ int rtl8188eu_oid_rt_pro_set_continuous_tx_hdl(struct oid_par_priv *poid_par_pri
|
|||
}
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -709,8 +624,6 @@ int rtl8188eu_oid_rt_pro_set_single_carrier_tx_hdl(struct oid_par_priv *poid_par
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_alert_, ("+rtl8188eu_oid_rt_pro_set_single_carrier_tx_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -733,8 +646,6 @@ int rtl8188eu_oid_rt_pro_set_single_carrier_tx_hdl(struct oid_par_priv *poid_par
|
|||
}
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -744,8 +655,6 @@ int rtl8188eu_oid_rt_pro_set_carrier_suppression_tx_hdl(struct oid_par_priv *poi
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_set_carrier_suppression_tx_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -768,8 +677,6 @@ int rtl8188eu_oid_rt_pro_set_carrier_suppression_tx_hdl(struct oid_par_priv *poi
|
|||
}
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -779,8 +686,6 @@ int rtl8188eu_oid_rt_pro_set_single_tone_tx_hdl(struct oid_par_priv *poid_par_pr
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_alert_, ("+rtl8188eu_oid_rt_pro_set_single_tone_tx_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -792,8 +697,6 @@ int rtl8188eu_oid_rt_pro_set_single_tone_tx_hdl(struct oid_par_priv *poid_par_pr
|
|||
SetSingleToneTx(Adapter, (u8)bStartTest);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -807,7 +710,6 @@ int rtl8188eu_oid_rt_pro_trigger_gpio_hdl(struct oid_par_priv *poid_par_priv)
|
|||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
int status = NDIS_STATUS_SUCCESS;
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
||||
|
@ -815,8 +717,6 @@ int rtl8188eu_oid_rt_pro_trigger_gpio_hdl(struct oid_par_priv *poid_par_priv)
|
|||
rtw_hal_set_hwreg(Adapter, HW_VAR_TRIGGER_GPIO_0, NULL);
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* rtl8188eu_oid_rtl_seg_81_80_00 section end **************** */
|
||||
|
@ -833,8 +733,6 @@ int rtl8188eu_oid_rt_pro_read_register_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_,
|
||||
("+rtl8188eu_oid_rt_pro_read_register_hdl\n"));
|
||||
|
||||
|
@ -870,8 +768,6 @@ int rtl8188eu_oid_rt_pro_read_register_hdl(struct oid_par_priv *poid_par_priv)
|
|||
|
||||
*poid_par_priv->bytes_rw = width;
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -882,8 +778,6 @@ int rtl8188eu_oid_rt_pro_write_register_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *padapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_,
|
||||
("+rtl8188eu_oid_rt_pro_write_register_hdl\n"));
|
||||
|
||||
|
@ -929,8 +823,6 @@ int rtl8188eu_oid_rt_pro_write_register_hdl(struct oid_par_priv *poid_par_priv)
|
|||
("-rtl8188eu_oid_rt_pro_write_register_hdl: offset=0x%08X width=%d value=0x%X\n",
|
||||
offset, width, value));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1002,8 +894,6 @@ int rtl8188eu_oid_rt_pro_set_data_rate_ex_hdl(struct oid_par_priv *poid_par_priv
|
|||
|
||||
int status = NDIS_STATUS_SUCCESS;
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+OID_RT_PRO_SET_DATA_RATE_EX\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -1016,8 +906,6 @@ int rtl8188eu_oid_rt_pro_set_data_rate_ex_hdl(struct oid_par_priv *poid_par_priv
|
|||
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1027,8 +915,6 @@ int rtl8188eu_oid_rt_get_thermal_meter_hdl(struct oid_par_priv *poid_par_priv)
|
|||
u8 thermal = 0;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_get_thermal_meter_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
|
@ -1044,8 +930,6 @@ int rtl8188eu_oid_rt_get_thermal_meter_hdl(struct oid_par_priv *poid_par_priv)
|
|||
*(u32 *)poid_par_priv->information_buf = (u32)thermal;
|
||||
*poid_par_priv->bytes_rw = sizeof(u32);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1059,9 +943,6 @@ int rtl8188eu_oid_rt_pro_set_power_tracking_hdl(struct oid_par_priv *poid_par_pr
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->information_buf_len < sizeof(u8))
|
||||
return NDIS_STATUS_INVALID_LENGTH;
|
||||
|
||||
|
@ -1079,8 +960,6 @@ int rtl8188eu_oid_rt_pro_set_power_tracking_hdl(struct oid_par_priv *poid_par_pr
|
|||
}
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1143,8 +1022,6 @@ int rtl8188eu_oid_rt_pro_read_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
||||
|
@ -1176,8 +1053,6 @@ int rtl8188eu_oid_rt_pro_read_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
|||
}
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1189,9 +1064,6 @@ int rtl8188eu_oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
||||
|
@ -1216,8 +1088,6 @@ int rtl8188eu_oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
|||
status = NDIS_STATUS_FAILURE;
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1227,8 +1097,6 @@ int rtl8188eu_oid_rt_pro_rw_efuse_pgpkt_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
*poid_par_priv->bytes_rw = 0;
|
||||
|
||||
if (poid_par_priv->information_buf_len < sizeof(struct pgpkt *))
|
||||
|
@ -1267,8 +1135,6 @@ int rtl8188eu_oid_rt_pro_rw_efuse_pgpkt_hdl(struct oid_par_priv *poid_par_priv)
|
|||
RT_TRACE(_module_mp_, _drv_info_,
|
||||
("-rtl8188eu_oid_rt_pro_rw_efuse_pgpkt_hdl: status=0x%08X\n", status));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1279,8 +1145,6 @@ int rtl8188eu_oid_rt_get_efuse_current_size_hdl(struct oid_par_priv *poid_par_pr
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
||||
|
@ -1297,7 +1161,6 @@ int rtl8188eu_oid_rt_get_efuse_current_size_hdl(struct oid_par_priv *poid_par_pr
|
|||
status = NDIS_STATUS_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1306,8 +1169,6 @@ int rtl8188eu_oid_rt_get_efuse_max_size_hdl(struct oid_par_priv *poid_par_priv)
|
|||
int status = NDIS_STATUS_SUCCESS;
|
||||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != QUERY_OID)
|
||||
return NDIS_STATUS_NOT_ACCEPTED;
|
||||
|
||||
|
@ -1321,8 +1182,6 @@ int rtl8188eu_oid_rt_get_efuse_max_size_hdl(struct oid_par_priv *poid_par_priv)
|
|||
("-rtl8188eu_oid_rt_get_efuse_max_size_hdl: size=%d status=0x%08X\n",
|
||||
*(int *)poid_par_priv->information_buf, status));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1330,8 +1189,6 @@ int rtl8188eu_oid_rt_pro_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
|||
{
|
||||
int status;
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_info_, ("+rtl8188eu_oid_rt_pro_efuse_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid == QUERY_OID)
|
||||
|
@ -1341,8 +1198,6 @@ int rtl8188eu_oid_rt_pro_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
|||
|
||||
RT_TRACE(_module_mp_, _drv_info_, ("-rtl8188eu_oid_rt_pro_efuse_hdl: status=0x%08X\n", status));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
@ -1353,8 +1208,6 @@ int rtl8188eu_oid_rt_pro_efuse_map_hdl(struct oid_par_priv *poid_par_priv)
|
|||
struct adapter *Adapter = (struct adapter *)(poid_par_priv->adapter_context);
|
||||
u16 maplen = 0;
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_pro_efuse_map_hdl\n"));
|
||||
|
||||
EFUSE_GetEfuseDefinition(Adapter, EFUSE_WIFI, TYPE_EFUSE_MAP_LEN, (void *)&maplen, false);
|
||||
|
@ -1398,8 +1251,6 @@ int rtl8188eu_oid_rt_pro_efuse_map_hdl(struct oid_par_priv *poid_par_priv)
|
|||
RT_TRACE(_module_mp_, _drv_info_,
|
||||
("-rtl8188eu_oid_rt_pro_efuse_map_hdl: status=0x%08X\n", status));
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -1414,8 +1265,6 @@ int rtl8188eu_oid_rt_set_rx_packet_type_hdl(struct oid_par_priv *poid_par_priv)
|
|||
u8 rx_pkt_type;
|
||||
int status = NDIS_STATUS_SUCCESS;
|
||||
|
||||
|
||||
|
||||
RT_TRACE(_module_mp_, _drv_notice_, ("+rtl8188eu_oid_rt_set_rx_packet_type_hdl\n"));
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID)
|
||||
|
@ -1428,7 +1277,6 @@ int rtl8188eu_oid_rt_set_rx_packet_type_hdl(struct oid_par_priv *poid_par_priv)
|
|||
|
||||
RT_TRACE(_module_mp_, _drv_info_, ("rx_pkt_type: %x\n", rx_pkt_type));
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -1482,8 +1330,6 @@ int rtl8188eu_oid_rt_set_power_down_hdl(struct oid_par_priv *poid_par_priv)
|
|||
{
|
||||
int status = NDIS_STATUS_SUCCESS;
|
||||
|
||||
|
||||
|
||||
if (poid_par_priv->type_of_oid != SET_OID) {
|
||||
status = NDIS_STATUS_NOT_ACCEPTED;
|
||||
return status;
|
||||
|
@ -1497,8 +1343,6 @@ int rtl8188eu_oid_rt_set_power_down_hdl(struct oid_par_priv *poid_par_priv)
|
|||
/* CALL the power_down function */
|
||||
_irqlevel_changed_(&oldirql, RAISE);
|
||||
|
||||
|
||||
|
||||
return status;
|
||||
}
|
||||
/* */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue