Path: blob/master/ALFA-W1F1/RTL8814AU/hal/phydm/phydm_cck_rx_pathdiv.h
1307 views
/******************************************************************************1*2* Copyright(c) 2007 - 2017 Realtek Corporation.3*4* This program is free software; you can redistribute it and/or modify it5* under the terms of version 2 of the GNU General Public License as6* published by the Free Software Foundation.7*8* This program is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13* The full GNU General Public License is included in this distribution in the14* file called LICENSE.15*16* Contact Information:17* wlanfae <[email protected]>18* Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,19* Hsinchu 300, Taiwan.20*21* Larry Finger <[email protected]>22*23*****************************************************************************/2425#ifndef __PHYDM_CCK_RX_PATHDIV_H__26#define __PHYDM_CCK_RX_PATHDIV_H__2728#define CCK_RX_PATHDIV_VERSION "1.1"2930/* @1 ============================================================31* 1 Definition32* 1 ============================================================33*/34/* @1 ============================================================35* 1 structure36* 1 ============================================================37*/38struct phydm_cck_rx_pathdiv {39boolean en_cck_rx_pathdiv;40u32 path_a_sum;41u32 path_b_sum;42u16 path_a_cnt;43u16 path_b_cnt;44u8 rssi_fa_th;45u8 rssi_th;46};4748/* @1 ============================================================49* 1 enumeration50* 1 ============================================================51*/5253/* @1 ============================================================54* 1 function prototype55* 1 ============================================================56*/57void phydm_cck_rx_pathdiv_watchdog(void *dm_void);5859void phydm_cck_rx_pathdiv_init(void *dm_void);6061void phydm_process_rssi_for_cck_rx_pathdiv(void *dm_void, void *phy_info_void,62void *pkt_info_void);6364void phydm_cck_rx_pathdiv_dbg(void *dm_void, char input[][16], u32 *_used,65char *output, u32 *_out_len);66#endif676869