svn commit: r195566 - projects/mesh11s/sys/net80211
Sam Leffler
sam at FreeBSD.org
Fri Jul 10 16:38:16 UTC 2009
Author: sam
Date: Fri Jul 10 16:38:16 2009
New Revision: 195566
URL: http://svn.freebsd.org/changeset/base/195566
Log:
whitespace/style fixes; add comment about where airtime link metric comes from
Modified:
projects/mesh11s/sys/net80211/ieee80211_mesh.c
Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_mesh.c Fri Jul 10 16:29:05 2009 (r195565)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.c Fri Jul 10 16:38:16 2009 (r195566)
@@ -187,7 +187,7 @@ ieee80211_mesh_rt_add(struct ieee80211va
return rt;
}
-void
+void
ieee80211_mesh_rt_del(struct ieee80211vap *vap,
const uint8_t dest[IEEE80211_ADDR_LEN])
{
@@ -207,7 +207,7 @@ ieee80211_mesh_rt_del(struct ieee80211va
MESH_RT_UNLOCK(ms);
}
-void
+void
ieee80211_mesh_rt_flush(struct ieee80211vap *vap)
{
struct ieee80211_mesh_state *ms = vap->iv_mesh;
@@ -386,7 +386,6 @@ mesh_vdetach_peers(void *arg, struct iee
(void *)(uintptr_t) ieee80211_mac_hash(ic, ni->ni_macaddr));
}
-
static void
mesh_vdetach(struct ieee80211vap *vap)
{
@@ -2163,6 +2162,7 @@ meshconf_neighbors(void *arg, struct iee
ni->ni_mlstate == IEEE80211_NODE_MESH_ESTABLISHED)
(*neighbors)++;
}
+
/*
* Add a Mesh Configuration IE to a frame.
* For now just use HWMP routing, Airtime link metric, Null Congestion
@@ -2266,7 +2266,7 @@ ieee80211_add_meshpeer(uint8_t *frm, uin
/*
* Compute an Airtime Link Metric for the link with this node.
*
- * Based on D3.0.
+ * Based on Draft 3.0 spec (11B.10, p.149).
*/
/*
* Max 802.11s overhead.
More information about the svn-src-projects
mailing list