Share freq-to-channel conversion function
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Mon, 27 Jul 2015 19:24:18 +0000 (22:24 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 3 Aug 2015 20:55:46 +0000 (23:55 +0300)
commit793ea13e2b94f914e4ec55fcd0d56588b29c3d09
treed0dcf4ae5f8e8ee3c5918204916bb7545cce13ac
parent6fad40df9eed9dceb9a9d17288a301341de6f88b
Share freq-to-channel conversion function

Add ieee80211_freq_to_channel_ext() conversion function into
ieee802_11_common.c. This function converts freq to channel and
additionally computes operating class, based on provided HT and VHT
parameters.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/common/ieee802_11_common.c
src/common/ieee802_11_common.h
src/p2p/p2p_utils.c