Commit 46c5ab7c authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman
Browse files

staging: wfx: update with the firmware API 3.8



The firmware API 3.8 introduces new statistic counters. These changes
are backward compatible.

Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20210913130203.1903622-14-Jerome.Pouiller@silabs.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2ac7521b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -109,6 +109,9 @@ static int wfx_counters_show(struct seq_file *seq, void *v)

	PUT_COUNTER(rx_beacon);
	PUT_COUNTER(miss_beacon);
	PUT_COUNTER(rx_dtim);
	PUT_COUNTER(rx_dtim_aid0_clr);
	PUT_COUNTER(rx_dtim_aid0_set);

#undef PUT_COUNTER

+4 −1
Original line number Diff line number Diff line
@@ -158,7 +158,10 @@ struct hif_mib_extended_count_table {
	__le32 count_rx_bipmic_errors;
	__le32 count_rx_beacon;
	__le32 count_miss_beacon;
	__le32 reserved[15];
	__le32 count_rx_dtim;
	__le32 count_rx_dtim_aid0_clr;
	__le32 count_rx_dtim_aid0_set;
	__le32 reserved[12];
} __packed;

struct hif_mib_count_table {