mirror_ubuntu-kernels/drivers/net/wireless/quantenna/qtnfmac
Heiner Kallweit 45fc3fd430 qtnfmac: switch to core handling of rx/tx byte/packet counters
Use netdev->tstats instead of a member of qtnf_vif for storing a pointer
to the per-cpu counters. This allows us to use core functionality for
statistics handling.
The driver sets netdev->needs_free_netdev, therefore freeing the per-cpu
counters at the right point in time is a little bit tricky. Best option
seems to be to use the ndo_init/ndo_uninit callbacks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-12 14:58:27 -08:00
..
pcie qtnfmac: switch to core handling of rx/tx byte/packet counters 2020-11-12 14:58:27 -08:00
bus.h qtnfmac: Replace zero-length array with flexible-array 2020-05-12 11:56:28 +03:00
cfg80211.c cfg80211: change internal management frame registration API 2020-04-24 12:33:40 +02:00
cfg80211.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
commands.c qtnfmac: fix resource leaks on unsupported iftype error return path 2020-09-29 11:23:47 +03:00
commands.h qtnfmac: support WPA3 OWE in AP mode 2020-03-12 15:38:56 +02:00
core.c qtnfmac: switch to core handling of rx/tx byte/packet counters 2020-11-12 14:58:27 -08:00
core.h qtnfmac: switch to core handling of rx/tx byte/packet counters 2020-11-12 14:58:27 -08:00
debug.c qtnfmac: modify debugfs to support multiple cards 2019-04-26 14:53:13 +03:00
debug.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
event.c qtnfmac: support WPA3 OWE in AP mode 2020-03-12 15:38:56 +02:00
event.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
qlink_util.c qtnfmac: set valid edmg in cfg80211_chan_def 2020-03-12 15:38:57 +02:00
qlink_util.h qtnfmac: drop unnecessary TLVs from scan command 2020-02-12 18:16:48 +02:00
qlink.h qtnfmac: Replace zero-length array with flexible-array 2020-05-12 11:56:28 +03:00
qtn_hw_ids.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc_defs.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
switchdev.h qtnfmac: signal that all packets coming from device are already flooded 2019-11-20 09:42:59 +02:00
trans.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
trans.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
util.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
util.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00