struct ieee80211_hwmp_route *hrorig;
struct ieee80211_hwmp_state *hs = vap->iv_hwmp;
struct ieee80211_meshprep_ie prep;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
if (ni == vap->iv_bss ||
ni->ni_mlstate != IEEE80211_NODE_MESH_ESTABLISHED)
struct ieee80211com *ic = vap->iv_ic;
struct ifnet *ifp = vap->iv_ifp;
struct mbuf *m, *next;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
/*
* Acceptance criteria: if the corresponding PREQ was not generated
struct ieee80211_hwmp_route *hr;
struct ieee80211_meshperr_ie pperr;
int i, forward = 0;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
/*
* Acceptance criteria: check if we received a PERR from a
struct ieee80211_meshpreq_ie preq;
struct ieee80211_node *ni;
int sendpreq = 0;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
KASSERT(vap->iv_opmode == IEEE80211_M_MBSS,
("not a mesh vap, opmode %d", vap->iv_opmode));
struct ieee80211_mesh_state *ms = vap->iv_mesh;
struct ieee80211com *ic = vap->iv_ic;
enum ieee80211_state ostate;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
ostate = vap->iv_state;
IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE, "%s: %s -> %s (%d)\n",
uint32_t seq;
uint8_t *addr;
ieee80211_seq rxseq;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
KASSERT(ni != NULL, ("null node"));
ni->ni_inact = ni->ni_inact_reload;
const struct ieee80211_rateset *rs;
struct mbuf *m;
uint8_t *frm;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
IEEE80211_NOTE(vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
"send PEER OPEN action: localid 0x%x", args[0]);
const struct ieee80211_rateset *rs;
struct mbuf *m;
uint8_t *frm;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
IEEE80211_NOTE(vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
"send PEER CONFIRM action: localid 0x%x, peerid 0x%x",
uint16_t *args = args0;
struct mbuf *m;
uint8_t *frm;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
IEEE80211_NOTE(vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
"send PEER CLOSE action: localid 0x%x, peerid 0x%x reason %d",
struct ieee80211com *ic = ni->ni_ic;
struct mbuf *m;
uint8_t *frm;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
IEEE80211_NOTE(vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
"%s", "send LINK METRIC REQUEST action");
uint32_t *metric = args0;
struct mbuf *m;
uint8_t *frm;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
IEEE80211_NOTE(vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
"send LINK METRIC REPLY action: metric 0x%x", *metric);