diff options
author | sam <sam@FreeBSD.org> | 2009-05-02 20:21:21 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-05-02 20:21:21 +0000 |
commit | d477cb337f77f967470026d236c93c7eb4ac507f (patch) | |
tree | d39e8ef3fbb7c2dd51fb47d22cabadf9231e1edf | |
parent | ad817259ccd3bf9937316c5c4ffd1e0c49c9035d (diff) | |
download | FreeBSD-src-d477cb337f77f967470026d236c93c7eb4ac507f.zip FreeBSD-src-d477cb337f77f967470026d236c93c7eb4ac507f.tar.gz |
o dump tx/rx seq#'s for qos tid's
o improve check for when to dump rx ampdu state
-rw-r--r-- | sys/net80211/ieee80211_ddb.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index 1c25760..eceff25 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -238,6 +238,15 @@ _db_show_sta(const struct ieee80211_node *ni) ni->ni_ies.ath_ie); db_printf("\t htcap_ie %p htinfo_ie %p]\n", ni->ni_ies.htcap_ie, ni->ni_ies.htinfo_ie); + if (ni->ni_flags & IEEE80211_NODE_QOS) { + for (i = 0; i < WME_NUM_TID; i++) { + if (ni->ni_txseqs[i] || ni->ni_rxseqs[i]) + db_printf("\t[%u] txseq %u rxseq %u fragno %u\n", + i, ni->ni_txseqs[i], + ni->ni_rxseqs[i] >> IEEE80211_SEQ_SEQ_SHIFT, + ni->ni_rxseqs[i] & IEEE80211_SEQ_FRAG_MASK); + } + } db_printf("\ttxseq %u rxseq %u fragno %u rxfragstamp %u\n", ni->ni_txseqs[IEEE80211_NONQOS_TID], ni->ni_rxseqs[IEEE80211_NONQOS_TID] >> IEEE80211_SEQ_SEQ_SHIFT, @@ -271,8 +280,7 @@ _db_show_sta(const struct ieee80211_node *ni) if (ni->ni_tx_ampdu[i].txa_flags & IEEE80211_AGGR_SETUP) _db_show_txampdu("\t", i, &ni->ni_tx_ampdu[i]); for (i = 0; i < WME_NUM_TID; i++) - if (ni->ni_rx_ampdu[i].rxa_nframes || - ni->ni_rx_ampdu[i].rxa_qframes) + if (ni->ni_rx_ampdu[i].rxa_flags) _db_show_rxampdu("\t", i, &ni->ni_rx_ampdu[i]); db_printf("\tinact %u inact_reload %u txrate %u\n", |