Lines Matching refs: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;
308 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100);
309 if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) >
314 ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg,
329 ewma_mesh_fail_avg_read(&sta->mesh->fail_avg);
331 if (sta->mesh->plink_state != NL80211_PLINK_ESTAB)
347 rate = ewma_mesh_tx_rate_avg_read(&sta->mesh->tx_rate_avg);
366 * @sdata: local mesh subif
367 * @mgmt: mesh management frame
500 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg);
502 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1);
546 ewma_mesh_fail_avg_init(&sta->mesh->fail_avg);
548 ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1);
563 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
699 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
719 sdata->u.mesh.mshstats.dropped_frames_ttl++;
748 sdata->u.mesh.mshstats.fwded_unicast++;
749 sdata->u.mesh.mshstats.fwded_frames++;
754 sdata->u.mesh.mshstats.dropped_frames_no_route++;
761 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
813 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
857 sdata->u.mesh.mshstats.dropped_frames_no_route++;
884 * addressed PREQs destined for root mesh STA */
922 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) {
965 * @mpath: mesh path to discover
974 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
1027 * @sdata: local mesh subif
1031 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
1086 sdata->u.mesh.last_sn_update = jiffies;
1089 ttl = sdata->u.mesh.mshcfg.element_ttl;
1091 sdata->u.mesh.mshstats.dropped_frames_ttl++;
1142 /* Allow injected packets to bypass mesh routing */
1198 if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) {
1210 * mesh_nexthop_lookup - put the appropriate next hop on a mesh frame. Calling
1222 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
1238 msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) &&
1292 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;