Release 4.11 drivers/staging/rtl8188eu/hal/hal_intf.c
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
* 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.
*
******************************************************************************/
#define _HAL_INTF_C_
#include <osdep_service.h>
#include <drv_types.h>
#include <hal_intf.h>
uint rtw_hal_init(struct adapter *adapt)
{
uint status = _SUCCESS;
adapt->hw_init_completed = false;
status = rtl8188eu_hal_init(adapt);
if (status == _SUCCESS) {
adapt->hw_init_completed = true;
if (adapt->registrypriv.notch_filter == 1)
rtw_hal_notch_filter(adapt, 1);
} else {
adapt->hw_init_completed = false;
DBG_88E("rtw_hal_init: hal__init fail\n");
}
RT_TRACE(_module_hal_init_c_, _drv_err_,
("-rtl871x_hal_init:status=0x%x\n", status));
return status;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Larry Finger | 88 | 98.88% | 1 | 50.00% |
Ivan Safonov | 1 | 1.12% | 1 | 50.00% |
Total | 89 | 100.00% | 2 | 100.00% |
uint rtw_hal_deinit(struct adapter *adapt)
{
uint status = _SUCCESS;
status = rtl8188eu_hal_deinit(adapt);
if (status == _SUCCESS)
adapt->hw_init_completed = false;
else
DBG_88E("\n rtw_hal_deinit: hal_init fail\n");
return status;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Larry Finger | 42 | 97.67% | 1 | 50.00% |
Ivan Safonov | 1 | 2.33% | 1 | 50.00% |
Total | 43 | 100.00% | 2 | 100.00% |
void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level)
{
struct mlme_priv *pmlmepriv = &(adapt->mlmepriv);
if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
#ifdef CONFIG_88EU_AP_MODE
struct sta_info *psta = NULL;
struct sta_priv *pstapriv = &adapt->stapriv;
if ((mac_id-1) > 0)
psta = pstapriv->sta_aid[(mac_id-1) - 1];
if (psta)
add_RATid(adapt, psta, 0);/* todo: based on rssi_level*/
#endif
} else {
UpdateHalRAMask8188EUsb(adapt, mac_id, rssi_level);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Larry Finger | 113 | 99.12% | 1 | 50.00% |
Ivan Safonov | 1 | 0.88% | 1 | 50.00% |
Total | 114 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Larry Finger | 255 | 98.46% | 1 | 20.00% |
Ivan Safonov | 3 | 1.16% | 3 | 60.00% |
Kyle Kuffermann | 1 | 0.39% | 1 | 20.00% |
Total | 259 | 100.00% | 5 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.