mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
Add mesh debug for interarction between DS & MBSS.
* Add mesh debug information when frames enter or leave the MBSS; * Set IEEE80211_MSG_OUTPUT bit to enable output; Approved by: adrian (mentor)
This commit is contained in:
parent
8c751dd528
commit
227da7d10b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246499
@ -1246,6 +1246,9 @@ mesh_recv_indiv_data_to_me(struct ieee80211vap *vap, struct mbuf *m,
|
||||
* All other cases: forward of MSDUs from the MBSS to DS indiv.
|
||||
* addressed according to 13.11.3.2.
|
||||
*/
|
||||
IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_OUTPUT, qwh->i_addr2,
|
||||
"forward frame to DS, SA(%6D) DA(%6D)",
|
||||
mc10->mc_addr6, ":", mc10->mc_addr5, ":");
|
||||
}
|
||||
return (0); /* process locally */
|
||||
}
|
||||
|
@ -262,6 +262,10 @@ ieee80211_start(struct ifnet *ifp)
|
||||
m_freem(m);
|
||||
continue;
|
||||
}
|
||||
IEEE80211_DPRINTF(vap, IEEE80211_MSG_OUTPUT,
|
||||
"forward frame from DS SA(%6D), DA(%6D)\n",
|
||||
eh->ether_dhost, ":",
|
||||
eh->ether_shost, ":");
|
||||
ieee80211_mesh_proxy_check(vap, eh->ether_shost);
|
||||
}
|
||||
ni = ieee80211_mesh_discover(vap, eh->ether_dhost, m);
|
||||
|
Loading…
Reference in New Issue
Block a user