Lines Matching full:mesh
12 #include "mesh.h"
80 msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime)
82 MSEC_TO_TU(s->u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout)
84 (msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval))
85 #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries)
87 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout)
89 msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval)
221 * mesh_path_error_tx - Sends a PERR mesh management frame
228 * @sdata: local mesh subif
240 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx()
308 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()
309 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()
319 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, in ieee80211s_update_metric()
334 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg); in airtime_link_metric_get()
336 if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) in airtime_link_metric_get()
352 rate = ewma_mesh_tx_rate_avg_read(&sta->mesh->tx_rate_avg); in airtime_link_metric_get()
371 * @sdata: local mesh subif
372 * @mgmt: mesh management frame
510 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
512 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
560 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
562 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
577 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_preq_frame_process()
713 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_prep_frame_process()
733 sdata->u.mesh.mshstats.dropped_frames_ttl++; in hwmp_prep_frame_process()
762 sdata->u.mesh.mshstats.fwded_unicast++; in hwmp_prep_frame_process()
763 sdata->u.mesh.mshstats.fwded_frames++; in hwmp_prep_frame_process()
768 sdata->u.mesh.mshstats.dropped_frames_no_route++; in hwmp_prep_frame_process()
775 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_perr_frame_process()
827 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_rann_frame_process()
871 sdata->u.mesh.mshstats.dropped_frames_no_route++; in hwmp_rann_frame_process()
898 * addressed PREQs destined for root mesh STA */ in hwmp_rann_frame_process()
936 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) { in mesh_rx_path_sel_frame()
983 * @mpath: mesh path to discover
992 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_queue_preq()
1045 * @sdata: local mesh subif
1049 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_start_discovery()
1104 sdata->u.mesh.last_sn_update = jiffies; in mesh_path_start_discovery()
1107 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery()
1109 sdata->u.mesh.mshstats.dropped_frames_ttl++; in mesh_path_start_discovery()
1160 /* Allow injected packets to bypass mesh routing */ in mesh_nexthop_resolve()
1216 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) { in mesh_nexthop_lookup_nolearn()
1236 msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) && in mesh_path_refresh()
1242 * mesh_nexthop_lookup - put the appropriate next hop on a mesh frame. Calling
1254 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_nexthop_lookup()
1320 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_tx_root_frame()