summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-31 21:27:53 +0000
committersam <sam@FreeBSD.org>2004-12-31 21:27:53 +0000
commitbb13d710615b260855322dd39f3cb5a99c70b6ff (patch)
tree9114c7b4ff5817b1050a7ff3d11f8ed7e4d2f96c /sys/net80211
parent95f27e450d64d100c9e5693b03a62ca3289b8f89 (diff)
downloadFreeBSD-src-bb13d710615b260855322dd39f3cb5a99c70b6ff.zip
FreeBSD-src-bb13d710615b260855322dd39f3cb5a99c70b6ff.tar.gz
make ap mode sta association debug msg as informative as sta mode
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_node.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index b9a158f..08352e9 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -1607,9 +1607,14 @@ ieee80211_node_join(struct ieee80211com *ic, struct ieee80211_node *ni, int resp
newassoc = 0;
IEEE80211_DPRINTF(ic, IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG,
- "[%s] station %s associated at aid %d\n",
- ether_sprintf(ni->ni_macaddr), newassoc ? "newly" : "already",
- IEEE80211_NODE_AID(ni));
+ "[%s] station %sassociated at aid %d: %s preamble, %s slot time%s%s\n",
+ ether_sprintf(ni->ni_macaddr), newassoc ? "" : "re",
+ IEEE80211_NODE_AID(ni),
+ ic->ic_flags & IEEE80211_F_SHPREAMBLE ? "short" : "long",
+ ic->ic_flags & IEEE80211_F_SHSLOT ? "short" : "long",
+ ic->ic_flags & IEEE80211_F_USEPROT ? ", protection" : "",
+ ni->ni_flags & IEEE80211_NODE_QOS ? ", QoS" : ""
+ );
/* give driver a chance to setup state like ni_txrate */
if (ic->ic_newassoc)
OpenPOWER on IntegriCloud