Home
last modified time | relevance | path

Searched refs:pchannelset (Results 1 – 1 of 1) sorted by relevance

/wlan-driver/qcacld-3.0/core/sme/src/csr/
H A Dcsr_api_scan.c170 struct csr_channel_powerinfo *pchannelset; in csr_save_to_channel_power2_g_5_g() local
187 pchannelset = qdf_mem_malloc(sizeof(struct csr_channel_powerinfo)); in csr_save_to_channel_power2_g_5_g()
188 if (!pchannelset) { in csr_save_to_channel_power2_g_5_g()
192 pchannelset->first_chan_freq = pChannelInfo->first_freq; in csr_save_to_channel_power2_g_5_g()
193 pchannelset->numChannels = pChannelInfo->num_chan; in csr_save_to_channel_power2_g_5_g()
198 if (WLAN_REG_IS_24GHZ_CH_FREQ(pchannelset->first_chan_freq) && in csr_save_to_channel_power2_g_5_g()
199 (pchannelset->first_chan_freq + 5 * (pchannelset->numChannels - 1) <= in csr_save_to_channel_power2_g_5_g()
201 pchannelset->interChannelOffset = 5; in csr_save_to_channel_power2_g_5_g()
203 } else if (WLAN_REG_IS_5GHZ_CH_FREQ(pchannelset->first_chan_freq) && in csr_save_to_channel_power2_g_5_g()
204 (pchannelset->first_chan_freq + 20 * (pchannelset->numChannels - 1) <= in csr_save_to_channel_power2_g_5_g()
[all …]