HomeFreeBSD

Properly update TX statistics for wlan(4).

Description

Properly update TX statistics for wlan(4).
ieee80211_pwrsave() can fail due to queue overflow, check its return code
and increment oerrors counter when it fails. Also handle more error cases
and update oerrors counter when we don't send mbuf due to some errors.
Return ENETDOWN when parent interface isn't ready. Update obytes and omcasts
counters in corresponding places.

PR: 184626
Differential Revision: https://reviews.freebsd.org/D2621
Reviewed by: adrian
MFC after: 1 week

Details

Committed
aeMay 23 2015, 9:49 AM
Reviewer
adrian
Differential Revision
D2621: Properly update TX statistics for wlan(4)
Parents
rS283312: Merge: 278618 278633 278636 278653 278742 278776 279121
Branches
Unknown
Tags
Unknown