.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2008, 2009 open80211s Ltd. |
---|
3 | 4 | * Authors: Luis Carlos Cobo <luisca@cozybit.com> |
---|
4 | 5 | * Javier Cardona <javier@cozybit.com> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #ifndef IEEE80211S_H |
---|
.. | .. |
---|
95 | 92 | * @last_preq_to_root: Timestamp of last PREQ sent to root |
---|
96 | 93 | * @is_root: the destination station of this path is a root node |
---|
97 | 94 | * @is_gate: the destination station of this path is a mesh gate |
---|
| 95 | + * @path_change_count: the number of path changes to destination |
---|
98 | 96 | * |
---|
99 | 97 | * |
---|
100 | 98 | * The dst address is unique in the mesh path table. Since the mesh_path is |
---|
.. | .. |
---|
126 | 124 | unsigned long last_preq_to_root; |
---|
127 | 125 | bool is_root; |
---|
128 | 126 | bool is_gate; |
---|
| 127 | + u32 path_change_count; |
---|
129 | 128 | }; |
---|
130 | 129 | |
---|
131 | 130 | /** |
---|
.. | .. |
---|
219 | 218 | struct sk_buff *skb); |
---|
220 | 219 | int mesh_add_vht_oper_ie(struct ieee80211_sub_if_data *sdata, |
---|
221 | 220 | struct sk_buff *skb); |
---|
| 221 | +int mesh_add_he_cap_ie(struct ieee80211_sub_if_data *sdata, |
---|
| 222 | + struct sk_buff *skb, u8 ie_len); |
---|
| 223 | +int mesh_add_he_oper_ie(struct ieee80211_sub_if_data *sdata, |
---|
| 224 | + struct sk_buff *skb); |
---|
| 225 | +int mesh_add_he_6ghz_cap_ie(struct ieee80211_sub_if_data *sdata, |
---|
| 226 | + struct sk_buff *skb); |
---|
222 | 227 | void mesh_rmc_free(struct ieee80211_sub_if_data *sdata); |
---|
223 | 228 | int mesh_rmc_init(struct ieee80211_sub_if_data *sdata); |
---|
224 | 229 | void ieee80211s_init(void); |
---|
.. | .. |
---|
276 | 281 | int mesh_path_add_gate(struct mesh_path *mpath); |
---|
277 | 282 | int mesh_path_send_to_gates(struct mesh_path *mpath); |
---|
278 | 283 | int mesh_gate_num(struct ieee80211_sub_if_data *sdata); |
---|
| 284 | +u32 airtime_link_metric_get(struct ieee80211_local *local, |
---|
| 285 | + struct sta_info *sta); |
---|
279 | 286 | |
---|
280 | 287 | /* Mesh plinks */ |
---|
281 | 288 | void mesh_neighbour_update(struct ieee80211_sub_if_data *sdata, |
---|
282 | | - u8 *hw_addr, struct ieee802_11_elems *ie); |
---|
| 289 | + u8 *hw_addr, struct ieee802_11_elems *ie, |
---|
| 290 | + struct ieee80211_rx_status *rx_status); |
---|
283 | 291 | bool mesh_peer_accepts_plinks(struct ieee802_11_elems *ie); |
---|
284 | 292 | u32 mesh_accept_plinks_update(struct ieee80211_sub_if_data *sdata); |
---|
285 | 293 | void mesh_plink_timer(struct timer_list *t); |
---|