diff options
author | Xinming Hu <huxm@marvell.com> | 2014-12-23 19:14:07 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-06 20:54:11 +0200 |
commit | cbf6e05527a7654ac1c4f4787dfd7a182fcc0c73 (patch) | |
tree | b4c5415b1a99372cd00395b3c09e38262f39e18c /drivers/net/wireless/mwifiex/uap_event.c | |
parent | d35b6392281f3368c8d31be7ce4356ecf6580605 (diff) | |
download | op-kernel-dev-cbf6e05527a7654ac1c4f4787dfd7a182fcc0c73.zip op-kernel-dev-cbf6e05527a7654ac1c4f4787dfd7a182fcc0c73.tar.gz |
mwifiex: add rx histogram statistics support
This patch add a new debugfs item histogram used for reporting
rx data packet statitics(rx rate, snr, noise floor, signal strenth)
to userspace.
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/uap_event.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/uap_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/uap_event.c b/drivers/net/wireless/mwifiex/uap_event.c index c54a537..f31086c 100644 --- a/drivers/net/wireless/mwifiex/uap_event.c +++ b/drivers/net/wireless/mwifiex/uap_event.c @@ -132,6 +132,8 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv) dev_dbg(adapter->dev, "AP EVENT: event id: %#x\n", eventcause); memcpy(priv->netdev->dev_addr, adapter->event_body + 2, ETH_ALEN); + if (priv->hist_data) + mwifiex_hist_data_reset(priv); break; case EVENT_UAP_MIC_COUNTERMEASURES: /* For future development */ |