rtl8822bu/hal/phydm/phydm_dfs.h
2017-04-02 12:45:14 -06:00

77 lines
2.2 KiB
C

/******************************************************************************
*
* Copyright(c) 2007 - 2011 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.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
*
******************************************************************************/
#ifndef __PHYDM_DFS_H__
#define __PHYDM_DFS_H__
#define DFS_VERSION "0.0"
/* ============================================================
Definition
============================================================
*/
/*
============================================================
1 structure
============================================================
*/
/* ============================================================
enumeration
============================================================
*/
typedef enum _tag_PhyDM_DFS_REGION_DOMAIN {
PHYDM_DFS_DOMAIN_UNKNOWN = 0,
PHYDM_DFS_DOMAIN_FCC = 1,
PHYDM_DFS_DOMAIN_MKK = 2,
PHYDM_DFS_DOMAIN_ETSI = 3,
} PHYDM_DFS_REGION_DOMAIN;
/*
============================================================
function prototype
============================================================
*/
#if defined(CONFIG_PHYDM_DFS_MASTER)
VOID phydm_radar_detect_reset(PVOID pDM_VOID);
VOID phydm_radar_detect_disable(PVOID pDM_VOID);
VOID phydm_radar_detect_enable(PVOID pDM_VOID);
BOOLEAN phydm_radar_detect(PVOID pDM_VOID);
#endif /* defined(CONFIG_PHYDM_DFS_MASTER) */
BOOLEAN
phydm_dfs_master_enabled(
IN PVOID pDM_VOID
);
VOID
phydm_dfs_debug(
IN PVOID pDM_VOID,
IN u4Byte *const argv,
IN u4Byte *_used,
OUT char *output,
IN u4Byte *_out_len
);
#endif /*#ifndef __PHYDM_DFS_H__ */