Home
last modified time | relevance | path

Searched refs:center_freq (Results 1 – 25 of 66) sorted by relevance

123

/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/
Dhdf_mac80211_sta.c42 struct ieee80211_channel *GetChannelByFreq(const struct wiphy *wiphy, uint16_t center_freq) in GetChannelByFreq() argument
53 if (currentBand->channels[loop].center_freq == center_freq) { in GetChannelByFreq()
212 if (currentBand->channels[loop].center_freq == freq) { in WalGetChannel()
Dhdf_comm.c139 freqs[freqIndex] = band5g->channels[freqIndex].center_freq; in Bdh6Fband()
195 band->channels[loop].center_freq; in Bdh6Ghcap()
224 .centerFreq = band5g->channels[loop].center_freq; in Bdh6Ghcap()
278 u32 center_freq = 0; in Bdh6SAction() local
314 center_freq = actionData->freq; in Bdh6SAction()
315 params.chan = ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(center_freq)); in Bdh6SAction()
317 HDF_LOGE("%s: get center_freq %u faild", __func__, center_freq); in Bdh6SAction()
769 hdfchannel.centerFreq = channel->center_freq; in HdfInformBssFrameEventCallback()
Dhdf_mac80211_ap.c173 HDF_LOGE("%s: use valid channel %u", __func__, chan->center_freq); in SetupWireLessDev()
178 wdev->preset_chandef.chan->center_freq = apSettings->centerFreq1; in SetupWireLessDev()
179 HDF_LOGE("%s: fill new channel %u", __func__, wdev->preset_chandef.chan->center_freq); in SetupWireLessDev()
Dhdf_public_ap6256.h124 extern struct ieee80211_channel *GetChannelByFreq(const struct wiphy *wiphy, uint16_t center_freq);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_cfg80211.h158 .center_freq = (_freq), \
168 .center_freq = 5000 + (5 * (_channel)), \
178 .center_freq = 4000 + (5 * (_channel)), \
Dwal_mac80211.c117 static oal_ieee80211_channel *GetChannelByFreq(const oal_wiphy_stru *wiphy, uint16_t center_freq) in GetChannelByFreq() argument
128 if (currentBand->channels[loop].center_freq == center_freq) { in GetChannelByFreq()
260 if (currentBand->channels[loop].center_freq == freq) { in WalGetChannel()
813 …pability->bands[IEEE80211_BAND_2GHZ]->channels[loop].centerFreq = band->channels[loop].center_freq; in WalGetHwCapability()
Dwal_scan.c136 .centerFreq = ieee80211_channel->center_freq, in wal_inform_bss_frame()
317 us_center_freq = request->channels[loop]->center_freq; in wal_set_scan_channel()
/device/board/unionman/unionpi_tiger/kernel/hdf/wifi/rtl8822cs/hdf/
Dwal_mac80211.c180 struct ieee80211_channel *GetChannelByFreq(const struct wiphy *wiphy, uint16_t center_freq) in GetChannelByFreq() argument
191 if (currentBand->channels[loop].center_freq == center_freq) { in GetChannelByFreq()
305 if (currentBand->channels[loop].center_freq == freq) { in WalGetChannel()
623 freqs[freqIndex] = band5g->channels[freqIndex].center_freq; in WalGetValidFreqsWithBand()
728 …pability->bands[IEEE80211_BAND_2GHZ]->channels[loop].centerFreq = band->channels[loop].center_freq; in WalGet2GCapability()
755 …bility->bands[IEEE80211_BAND_5GHZ]->channels[loop].centerFreq = band5g->channels[loop].center_freq; in WalGet5GCapability()
/device/board/osware/imx8mm/drivers/wifi/ap6212/hdfadapter/
Dhdf_mac80211.c134 static struct ieee80211_channel *GetChannelByFreq(struct wiphy* wiphy, uint16_t center_freq) in GetChannelByFreq() argument
145 if (currentBand->channels[loop].center_freq == center_freq) { in GetChannelByFreq()
171 if (currentBand->channels[loop].center_freq == freq) { in WalGetChannel()
200 hdfchannel.centerFreq = channel->center_freq; in inform_bss_frame()
267 GET_DEV_CFG80211_WIRELESS(netDev)->preset_chandef.chan->center_freq = apSettings->centerFreq1; in SetupWireLessDev()
464 …pability->bands[IEEE80211_BAND_2GHZ]->channels[loop].centerFreq = band->channels[loop].center_freq; in WalGetHwCapability()
913 g_ap_chan.center_freq = apConf->centerFreq1; in WalConfigAp()
935 GET_DEV_CFG80211_WIRELESS(netDev)->preset_chandef.chan->center_freq = \ in WalStartAp()
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
Dhdf_bdh_mac80211.c399 freqs[freqIndex] = band5g->channels[freqIndex].center_freq; in Bdh6Fband()
429 hwCapability->bands[bnum]->channels[loop].centerFreq = band->channels[loop].center_freq; in FillBdhBandInfo()
526 u32 center_freq = 0; in FillActionParamFreq() local
529 center_freq = p2p_remain_freq; in FillActionParamFreq()
530 params->chan = ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(center_freq)); in FillActionParamFreq()
532 HDF_LOGE("%s: get center_freq %u faild", __func__, center_freq); in FillActionParamFreq()
637 struct ieee80211_channel *GetChannelByFreq(const struct wiphy *wiphy, uint16_t center_freq) in GetChannelByFreq() argument
648 if (currentBand->channels[loop].center_freq == center_freq) { in GetChannelByFreq()
932 if (currentBand->channels[loop].center_freq == freq) { in WalGetChannel()
1231 HDF_LOGI("%s: use valid channel %u", __func__, chan->center_freq); in SetupWireLessDev()
[all …]
Dhdf_bdh_event.c65 hdfchannel.centerFreq = innerBssInfo->channel->center_freq; in HdfInformBssFrameEventCallback()
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/wifi/xr829_hdfadapter/
Dhdf_mac80211.c133 static struct ieee80211_channel *GetChannelByFreq(struct wiphy* wiphy, uint16_t center_freq) in GetChannelByFreq() argument
144 if (currentBand->channels[loop].center_freq == center_freq) { in GetChannelByFreq()
170 if (currentBand->channels[loop].center_freq == freq) { in WalGetChannel()
256 hdfchannel.centerFreq = channel->center_freq; in inform_bss_frame()
339 GET_DEV_CFG80211_WIRELESS(netDev)->preset_chandef.chan->center_freq = apSettings->centerFreq1; in SetupWireLessDev()
568 …pability->bands[IEEE80211_BAND_2GHZ]->channels[loop].centerFreq = band->channels[loop].center_freq; in WalGetHwCapability()
1050 ap_chan.center_freq = apConf->centerFreq1; in WalConfigAp()
1073 …GET_DEV_CFG80211_WIRELESS(netdev)->preset_chandef.chan->center_freq = netdev->ieee80211_ptr->prese… in WalStartAp()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_wifi/include/bk_private/
Dsa_station.h40 UINT16 center_freq; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dibss.c133 chandef->chan->center_freq); in ieee80211_ibss_build_presp()
147 csa_settings->chandef.chan->center_freq); in ieee80211_ibss_build_presp()
278 chandef.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
846 params.chandef.chan->center_freq, in ieee80211_ibss_process_chanswitch()
864 params.chandef.chan->center_freq, in ieee80211_ibss_process_chanswitch()
893 params.chandef.chan->center_freq); in ieee80211_ibss_process_chanswitch()
1361 u32 center_freq, u32 width) in ibss_setup_channels() argument
1368 start_freq = center_freq; in ibss_setup_channels()
1369 end_freq = center_freq; in ibss_setup_channels()
1371 start_freq = center_freq - width / 2 + 10; in ibss_setup_channels()
[all …]
Dmesh.c403 *pos++ = ieee80211_frequency_to_channel(chan->center_freq); in mesh_add_ds_params_ie()
835 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
1117 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1133 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1151 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1317 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()
Dutil.c1390 u16 center_freq = 0; in ieee80211_regulatory_limit_wmm_params() local
1399 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1401 if (!center_freq) { in ieee80211_regulatory_limit_wmm_params()
1406 rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); in ieee80211_regulatory_limit_wmm_params()
1714 chandef->chan->center_freq); in ieee80211_build_preq_ies_band()
2871 chandef->chan->center_freq); in ieee80211_ie_build_ht_oper()
2877 if (chandef->center_freq1 > chandef->chan->center_freq) in ieee80211_ie_build_ht_oper()
2958 if (chandef->chan->center_freq < chandef->center_freq1) in ieee80211_ie_build_vht_oper()
3445 c->center_freq1 = c->chan->center_freq; in ieee80211_chandef_downgrade()
3450 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in ieee80211_chandef_downgrade()
[all …]
Dtrace.h44 __entry->control_freq = (c) ? ((c)->chan ? (c)->chan->center_freq : 0) : 0; \
59 __entry->min_control_freq = (c)->chan ? (c)->chan->center_freq : 0; \
1225 __field(int, center_freq)
1233 __entry->center_freq = chan->center_freq;
1241 __entry->center_freq, __entry->duration, __entry->type
1599 old_ctx->def.chan->center_freq);
1607 new_ctx->def.chan->center_freq);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_rtt.c1136 if (channel.center_freq >= 2400 && channel.center_freq <= 2500) { in dhd_rtt_convert_to_chspec()
1142 primary_chan = wf_mhz2channel(channel.center_freq, 0); in dhd_rtt_convert_to_chspec()
1147 primary_chan = wf_mhz2channel(channel.center_freq, 0); in dhd_rtt_convert_to_chspec()
1152 primary_chan = wf_mhz2channel(channel.center_freq, 0); in dhd_rtt_convert_to_chspec()
2157 channel_info->center_freq = in dhd_rtt_avail_channel()
2160 channel_info->center_freq = in dhd_rtt_avail_channel()
2201 channel.center_freq = channel_info->center_freq; in dhd_rtt_enable_responder()
2202 channel.center_freq0 = channel_info->center_freq; in dhd_rtt_enable_responder()
2206 channel.center_freq = DEFAULT_FTM_FREQ; in dhd_rtt_enable_responder()
Ddngl_stats.h119 wifi_channel center_freq; /* primary 20 MHz channel */ member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dhdf_public_ap6275s.h117 extern struct ieee80211_channel *GetChannelByFreq(const struct wiphy *wiphy, uint16_t center_freq);
Ddngl_stats.h123 wifi_channel center_freq; /* primary 20 MHz channel */ member
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddngl_stats.h128 wifi_channel center_freq; /* primary 20 MHz channel */ member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwifi_stats.h111 wifi_channel center_freq; /* primary 20 MHz channel */ member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Ddngl_stats.h123 wifi_channel center_freq; /* primary 20 MHz channel */ member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_roch.c70 remain_ch = (u8)ieee80211_frequency_to_channel(roch_parm->ch.center_freq); in rtw_ro_ch_handler()
413 remain_ch = ieee80211_frequency_to_channel(prochinfo->remain_on_ch_channel.center_freq); in get_remain_ch()

123