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()
377 * @sdata: local mesh subif
378 * @mgmt: mesh management frame
516 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
518 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
566 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
568 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
583 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_preq_frame_process()
721 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_prep_frame_process()
741 sdata->u.mesh.mshstats.dropped_frames_ttl++; in hwmp_prep_frame_process()
770 sdata->u.mesh.mshstats.fwded_unicast++; in hwmp_prep_frame_process()
771 sdata->u.mesh.mshstats.fwded_frames++; in hwmp_prep_frame_process()
776 sdata->u.mesh.mshstats.dropped_frames_no_route++; in hwmp_prep_frame_process()
783 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_perr_frame_process()
835 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_rann_frame_process()
879 sdata->u.mesh.mshstats.dropped_frames_no_route++; in hwmp_rann_frame_process()
906 * addressed PREQs destined for root mesh STA */ in hwmp_rann_frame_process()
944 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) { in mesh_rx_path_sel_frame()
991 * @mpath: mesh path to discover
1000 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_queue_preq()
1053 * @sdata: local mesh subif
1057 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_start_discovery()
1112 sdata->u.mesh.last_sn_update = jiffies; in mesh_path_start_discovery()
1115 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery()
1117 sdata->u.mesh.mshstats.dropped_frames_ttl++; in mesh_path_start_discovery()
1168 /* Allow injected packets to bypass mesh routing */ in mesh_nexthop_resolve()
1224 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) { in mesh_nexthop_lookup_nolearn()
1244 msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) && in mesh_path_refresh()
1250 * mesh_nexthop_lookup - put the appropriate next hop on a mesh frame. Calling
1262 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_nexthop_lookup()
1328 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_tx_root_frame()