qcacmn: Defines os and target interfaces

Defines API and callbacks of os interface for P2P component. At the
same time, defines API of target interface.

Change-Id: Ice1c86ecba1f2410d965d9f84923589f229a1864
CRs-Fixed: 2013763
This commit is contained in:
Wu Gao
2017-03-15 19:12:20 +08:00
committed by Sandeep Puligilla
parent 86637ce966
commit 396518b08f
11 changed files with 1078 additions and 1 deletions

View File

@@ -41,4 +41,12 @@ uint32_t wlan_chan_to_freq(uint8_t chan);
*/
bool wlan_is_dsrc_channel(uint16_t center_freq);
/**
* wlan_freq_to_chan() - converts frequency to channel
* @freq: frequency
*
* Return: channel of frequency
*/
uint8_t wlan_freq_to_chan(uint32_t freq);
#endif /* _WLAN_UTILITY_H_ */