cfg80211: cleanup signal strength units notation
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Thu, 9 Nov 2017 11:46:30 +0000 (14:46 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:19:31 +0000 (12:19 +0100)
commit6c2fb1e6527b1092e09c786fee66b1759fa9d574
tree2c99129bf8b221fe2db4374db395c740c1593d63
parent9ae3b172e886c851d8cd6a88569025160b485e95
cfg80211: cleanup signal strength units notation

Both cfg80211_rx_mgmt and cfg80211_report_obss_beacon functions send
reports to userspace using NL80211_ATTR_RX_SIGNAL_DBM attribute w/o
any processing of their input signal values. Which means that in
order to match userspace tools expectations, input signal values
for those functions are supposed to be in dBm units.

This patch cleans up comments, variable names, and trace reports
for those functions, replacing confusing 'mBm' by 'dBm'.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/mlme.c
net/wireless/trace.h