xref: /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/stats.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/* Copyright(c) 2009-2012  Realtek Corporation.*/
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#ifndef __RTL_STATS_H__
58c2ecf20Sopenharmony_ci#define __RTL_STATS_H__
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define	PHY_RSSI_SLID_WIN_MAX			100
88c2ecf20Sopenharmony_ci#define	PHY_LINKQUALITY_SLID_WIN_MAX		20
98c2ecf20Sopenharmony_ci#define	PHY_BEACON_RSSI_SLID_WIN_MAX		10
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* Rx smooth factor */
128c2ecf20Sopenharmony_ci#define	RX_SMOOTH_FACTOR			20
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciu8 rtl_query_rxpwrpercentage(s8 antpower);
158c2ecf20Sopenharmony_ciu8 rtl_evm_db_to_percentage(s8 value);
168c2ecf20Sopenharmony_cilong rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig);
178c2ecf20Sopenharmony_civoid rtl_process_phyinfo(struct ieee80211_hw *hw, u8 *buffer,
188c2ecf20Sopenharmony_ci			 struct rtl_stats *pstatus);
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif
21

Indexes created Thu Nov 07 10:32:03 CST 2024