ieee80211: share 802.11 unit conversion helpers
authorThomas Pedersen <thomas@adapt-ip.com>
Thu, 2 Apr 2020 01:18:02 +0000 (18:18 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:39:41 +0000 (11:39 +0100)
commit746da8202f557961325acb5e5307000d82560c6e
tree7d827d93d011ddc90e7acff2615a1ae6dfd815d3
parent2b448c258d65b7372b160669dcb3399ae8e2e5e8
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h