1 /******************************************************************************
3 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
17 #include <osdep_service.h>
18 #include <drv_types.h>
22 #include <rtl8723a_hal.h>
24 void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level)
26 struct rtw_adapter *padapter;
27 struct mlme_priv *pmlmepriv;
32 padapter = psta->padapter;
34 pmlmepriv = &padapter->mlmepriv;
36 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
37 #ifdef CONFIG_8723AU_AP_MODE
38 add_RATid23a(padapter, psta, rssi_level);
41 rtl8723a_update_ramask(padapter, psta->mac_id, rssi_level);