31 lines
1.0 KiB
C
31 lines
1.0 KiB
C
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2007 - 2020 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_CFG_H_
|
|
#define _RTW_CFG_H_
|
|
|
|
uint rtw_load_registry(_adapter *adapter);
|
|
|
|
#define RTW_ADAPTIVITY_EN_DISABLE 0
|
|
#define RTW_ADAPTIVITY_EN_ENABLE 1
|
|
#define RTW_ADAPTIVITY_EN_AUTO 2
|
|
|
|
#define RTW_ADAPTIVITY_MODE_NORMAL 0
|
|
#define RTW_ADAPTIVITY_MODE_CARRIER_SENSE 1
|
|
|
|
void rtw_cfg_adaptivity_config_msg(void *sel, _adapter *adapter);
|
|
bool rtw_cfg_adaptivity_needed(_adapter *adapter);
|
|
|
|
#endif /*_RTW_CFG_H_*/
|