f6930bec33
Replace various void * / int argument combinations with common structures: - ieee80211_ratectl_tx_status for *_tx_complete(); - ieee80211_ratectl_tx_stats for *_tx_update(); While here, improve amrr_tx_update() for a bit: 1. In case, if receiver is not known (typical for Ralink USB drivers), refresh Tx rate for all nodes on the interface. 2. There was a misuse: - otus(4) sends non-decreasing counters (as originally intended); - but ural(4), rum(4) and run(4) are using 'read & clear' registers to obtain statistics for some period of time (and those 'last period' values are used as arguments for tx_update()). If arguments are not big enough, they are just discarded after the next call. Fix: move counting into *_tx_update() (now otus(4) will zero out all node counters after every tx_update() call) Tested with: - Intel 3945BG (wpi(4)), STA mode. - WUSB54GC (rum(4)), STA / HOSTAP mode. - RTL8188EU (urtwn(4)), STA mode. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D8037 |
||
---|---|---|
.. | ||
if_iwm_binding.c | ||
if_iwm_binding.h | ||
if_iwm_debug.h | ||
if_iwm_led.c | ||
if_iwm_led.h | ||
if_iwm_mac_ctxt.c | ||
if_iwm_mac_ctxt.h | ||
if_iwm_pcie_trans.c | ||
if_iwm_pcie_trans.h | ||
if_iwm_phy_ctxt.c | ||
if_iwm_phy_ctxt.h | ||
if_iwm_phy_db.c | ||
if_iwm_phy_db.h | ||
if_iwm_power.c | ||
if_iwm_power.h | ||
if_iwm_scan.c | ||
if_iwm_scan.h | ||
if_iwm_time_event.c | ||
if_iwm_time_event.h | ||
if_iwm_util.c | ||
if_iwm_util.h | ||
if_iwm.c | ||
if_iwmreg.h | ||
if_iwmvar.h |