ieee80211: share 802.11 unit conversion helpers
authorThomas Pedersen <thomas@adapt-ip.com>
Thu, 2 Apr 2020 01:18:02 +0000 (18:18 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2020 10:33:43 +0000 (12:33 +0200)
commitb572510100165ba037ba43dbbb0f05e8da12c741
tree417043581dccf5f926c048cb6c6df52b5ccfd3ce
parentbdee75d2ac23a1db30d3c689665a584c20220f97
ieee80211: share 802.11 unit conversion helpers

MHZ_TO_KHZ, and KHZ_TO_MHZ are useful to drivers and
elsewhere so export these in the common ieee80211 header.
Move the power helpers also because we might as well.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200402011810.22947-2-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/regulatory.h