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
223 * @sdata: local mesh subif
242 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_error_tx()
310 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100); in ieee80211s_update_metric()
311 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) > in ieee80211s_update_metric()
321 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, in ieee80211s_update_metric()
336 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg); in airtime_link_metric_get()
338 if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) in airtime_link_metric_get()
354 rate = ewma_mesh_tx_rate_avg_read(&sta->mesh->tx_rate_avg); in airtime_link_metric_get()
379 * @sdata: local mesh subif
380 * @mgmt: mesh management frame
518 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
520 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
568 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg); in hwmp_route_info_get()
570 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1); in hwmp_route_info_get()
585 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_preq_frame_process()
723 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_prep_frame_process()
743 sdata->u.mesh.mshstats.dropped_frames_ttl++; in hwmp_prep_frame_process()
772 sdata->u.mesh.mshstats.fwded_unicast++; in hwmp_prep_frame_process()
773 sdata->u.mesh.mshstats.fwded_frames++; in hwmp_prep_frame_process()
778 sdata->u.mesh.mshstats.dropped_frames_no_route++; in hwmp_prep_frame_process()
785 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_perr_frame_process()
837 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in hwmp_rann_frame_process()
881 sdata->u.mesh.mshstats.dropped_frames_no_route++; in hwmp_rann_frame_process()
908 * addressed PREQs destined for root mesh STA */ in hwmp_rann_frame_process()
946 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) { in mesh_rx_path_sel_frame()
993 * @mpath: mesh path to discover
1002 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_queue_preq()
1055 * @sdata: local mesh subif
1059 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_start_discovery()
1114 sdata->u.mesh.last_sn_update = jiffies; in mesh_path_start_discovery()
1117 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery()
1119 sdata->u.mesh.mshstats.dropped_frames_ttl++; in mesh_path_start_discovery()
1170 /* Allow injected packets to bypass mesh routing */ in mesh_nexthop_resolve()
1226 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) { in mesh_nexthop_lookup_nolearn()
1246 msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) && in mesh_path_refresh()
1252 * mesh_nexthop_lookup - put the appropriate next hop on a mesh frame. Calling
1264 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_nexthop_lookup()
1330 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_tx_root_frame()