This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
536 changed files
with
323,893 additions
and
178,942 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/****************************************************************************** | ||
* | ||
* Copyright(c) 2007 - 2017 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_MESH_HWMP_H_ | ||
#define __RTW_MESH_HWMP_H_ | ||
|
||
#ifndef DBG_RTW_HWMP | ||
#define DBG_RTW_HWMP 0 | ||
#endif | ||
#if DBG_RTW_HWMP | ||
#define RTW_HWMP_DBG(fmt, arg...) RTW_PRINT(fmt, ##arg) | ||
#else | ||
#define RTW_HWMP_DBG(fmt, arg...) RTW_DBG(fmt, ##arg) | ||
#endif | ||
|
||
#ifndef INFO_RTW_HWMP | ||
#define INFO_RTW_HWMP 0 | ||
#endif | ||
#if INFO_RTW_HWMP | ||
#define RTW_HWMP_INFO(fmt, arg...) RTW_PRINT(fmt, ##arg) | ||
#else | ||
#define RTW_HWMP_INFO(fmt, arg...) RTW_INFO(fmt, ##arg) | ||
#endif | ||
|
||
|
||
void rtw_ewma_err_rate_init(struct rtw_ewma_err_rate *e); | ||
unsigned long rtw_ewma_err_rate_read(struct rtw_ewma_err_rate *e); | ||
void rtw_ewma_err_rate_add(struct rtw_ewma_err_rate *e, unsigned long val); | ||
int rtw_mesh_path_error_tx(_adapter *adapter, | ||
u8 ttl, const u8 *target, u32 target_sn, | ||
u16 target_rcode, const u8 *ra); | ||
void rtw_ieee80211s_update_metric(_adapter *adapter, u8 mac_id, | ||
u8 per, u8 rate, | ||
u8 bw, u8 total_pkt); | ||
void rtw_mesh_rx_path_sel_frame(_adapter *adapter, union recv_frame *rframe); | ||
void rtw_mesh_queue_preq(struct rtw_mesh_path *mpath, u8 flags); | ||
void rtw_mesh_path_start_discovery(_adapter *adapter); | ||
void rtw_mesh_path_timer(void *ctx); | ||
void rtw_mesh_path_tx_root_frame(_adapter *adapter); | ||
void rtw_mesh_work_hdl(_workitem *work); | ||
void rtw_ieee80211_mesh_path_timer(void *ctx); | ||
void rtw_ieee80211_mesh_path_root_timer(void *ctx); | ||
BOOLEAN rtw_ieee80211_mesh_root_setup(_adapter *adapter); | ||
void rtw_mesh_work(_workitem *work); | ||
void rtw_mesh_atlm_param_req_timer(void *ctx); | ||
|
||
#endif /* __RTW_MESH_HWMP_H_ */ | ||
|
||
|
Oops, something went wrong.