[net80211] print out node A-MSDU state.
Now that the node AMSDU TX/RX flags are correctly set in ieee80211_ht.c, we can print out the AMSDU state here.
This commit is contained in:
parent
ebb9b25672
commit
48f25cc3c2
@ -2754,7 +2754,7 @@ ieee80211_node_join(struct ieee80211_node *ni, int resp)
|
|||||||
* XXX VHT - should log VHT channel width, etc
|
* XXX VHT - should log VHT channel width, etc
|
||||||
*/
|
*/
|
||||||
IEEE80211_NOTE(vap, IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG, ni,
|
IEEE80211_NOTE(vap, IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG, ni,
|
||||||
"station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s",
|
"station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s%s",
|
||||||
IEEE80211_NODE_AID(ni),
|
IEEE80211_NODE_AID(ni),
|
||||||
ic->ic_flags & IEEE80211_F_SHPREAMBLE ? "short" : "long",
|
ic->ic_flags & IEEE80211_F_SHPREAMBLE ? "short" : "long",
|
||||||
vap->iv_flags & IEEE80211_F_SHSLOT ? "short" : "long",
|
vap->iv_flags & IEEE80211_F_SHSLOT ? "short" : "long",
|
||||||
@ -2764,6 +2764,7 @@ ieee80211_node_join(struct ieee80211_node *ni, int resp)
|
|||||||
ni->ni_flags & IEEE80211_NODE_HT ?
|
ni->ni_flags & IEEE80211_NODE_HT ?
|
||||||
(ni->ni_chw == 40 ? ", HT40" : ", HT20") : "",
|
(ni->ni_chw == 40 ? ", HT40" : ", HT20") : "",
|
||||||
ni->ni_flags & IEEE80211_NODE_AMPDU ? " (+AMPDU)" : "",
|
ni->ni_flags & IEEE80211_NODE_AMPDU ? " (+AMPDU)" : "",
|
||||||
|
ni->ni_flags & IEEE80211_NODE_AMSDU ? " (+ASPDU)" : "",
|
||||||
ni->ni_flags & IEEE80211_NODE_MIMO_RTS ? " (+SMPS-DYN)" :
|
ni->ni_flags & IEEE80211_NODE_MIMO_RTS ? " (+SMPS-DYN)" :
|
||||||
ni->ni_flags & IEEE80211_NODE_MIMO_PS ? " (+SMPS)" : "",
|
ni->ni_flags & IEEE80211_NODE_MIMO_PS ? " (+SMPS)" : "",
|
||||||
ni->ni_flags & IEEE80211_NODE_RIFS ? " (+RIFS)" : "",
|
ni->ni_flags & IEEE80211_NODE_RIFS ? " (+RIFS)" : "",
|
||||||
|
@ -1862,7 +1862,7 @@ sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype,
|
|||||||
ic->ic_flags &= ~IEEE80211_F_USEPROT;
|
ic->ic_flags &= ~IEEE80211_F_USEPROT;
|
||||||
IEEE80211_NOTE_MAC(vap,
|
IEEE80211_NOTE_MAC(vap,
|
||||||
IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG, wh->i_addr2,
|
IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG, wh->i_addr2,
|
||||||
"%sassoc success at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s",
|
"%sassoc success at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s%s",
|
||||||
ISREASSOC(subtype) ? "re" : "",
|
ISREASSOC(subtype) ? "re" : "",
|
||||||
IEEE80211_NODE_AID(ni),
|
IEEE80211_NODE_AID(ni),
|
||||||
ic->ic_flags&IEEE80211_F_SHPREAMBLE ? "short" : "long",
|
ic->ic_flags&IEEE80211_F_SHPREAMBLE ? "short" : "long",
|
||||||
@ -1872,6 +1872,7 @@ sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype,
|
|||||||
ni->ni_flags & IEEE80211_NODE_HT ?
|
ni->ni_flags & IEEE80211_NODE_HT ?
|
||||||
(ni->ni_chw == 40 ? ", HT40" : ", HT20") : "",
|
(ni->ni_chw == 40 ? ", HT40" : ", HT20") : "",
|
||||||
ni->ni_flags & IEEE80211_NODE_AMPDU ? " (+AMPDU)" : "",
|
ni->ni_flags & IEEE80211_NODE_AMPDU ? " (+AMPDU)" : "",
|
||||||
|
ni->ni_flags & IEEE80211_NODE_AMSDU ? " (+AMSDU)" : "",
|
||||||
ni->ni_flags & IEEE80211_NODE_MIMO_RTS ? " (+SMPS-DYN)" :
|
ni->ni_flags & IEEE80211_NODE_MIMO_RTS ? " (+SMPS-DYN)" :
|
||||||
ni->ni_flags & IEEE80211_NODE_MIMO_PS ? " (+SMPS)" : "",
|
ni->ni_flags & IEEE80211_NODE_MIMO_PS ? " (+SMPS)" : "",
|
||||||
ni->ni_flags & IEEE80211_NODE_RIFS ? " (+RIFS)" : "",
|
ni->ni_flags & IEEE80211_NODE_RIFS ? " (+RIFS)" : "",
|
||||||
|
Loading…
Reference in New Issue
Block a user