On Mon, 2018-10-22 at 10:16 -0700, Ben Greear wrote: > > > We have NL80211_STA_INFO_TX_RETRIES, shouldn't you be able to capture it > > > there? > > > > Or, per TID, NL80211_TID_STATS_TX_MSDU_RETRIES > > I added this code (rate is struct ieee80211_tx_rate) > > if (tx_done->mpdus_failed) { > /* Maybe there is a better way to report this tried vs failed stat up the stack? */ > rate->count = tx_done->mpdus_failed + 1; > } > else { > rate->count = 1; > } Ah, you were asking about mac80211? I guess if you have the statistic, you can override it in get_sta_stats() instead of trying to make mac80211 keep them based on the rate (control) information. johannes