Home
last modified time | relevance | path

Searched refs:chan (Results 1 – 25 of 156) sorted by relevance

1234567

/wlan-driver/wpa_supplicant_8/src/ap/
H A Dacs.c
H A Ddfs.c
H A Dhw_features.c
/wlan-driver/qcacld-3.0/core/cds/src/
H A Dcds_utils.c90 uint32_t cds_chan_to_freq(uint8_t chan) in cds_chan_to_freq() argument
92 if (chan < CDS_24_GHZ_CHANNEL_14) /* ch 0 - ch 13 */ in cds_chan_to_freq()
93 return CDS_24_GHZ_BASE_FREQ + chan * CDS_CHAN_SPACING_5MHZ; in cds_chan_to_freq()
94 else if (chan == CDS_24_GHZ_CHANNEL_14) /* ch 14 */ in cds_chan_to_freq()
96 else if (chan < CDS_24_GHZ_CHANNEL_27) /* ch 15 - ch 26 */ in cds_chan_to_freq()
98 (chan - CDS_24_GHZ_CHANNEL_15) * CDS_CHAN_SPACING_20MHZ; in cds_chan_to_freq()
99 else if (chan == CDS_5_GHZ_CHANNEL_170) in cds_chan_to_freq()
102 return CDS_5_GHZ_BASE_FREQ + chan * CDS_CHAN_SPACING_5MHZ; in cds_chan_to_freq()
107 uint8_t chan; in cds_freq_to_chan() local
110 chan = ((freq - CDS_24_GHZ_BASE_FREQ) / CDS_CHAN_SPACING_5MHZ); in cds_freq_to_chan()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_streamfs.c107 void qdf_streamfs_close(qdf_streamfs_chan_t chan) in qdf_streamfs_close() argument
109 if (chan) in qdf_streamfs_close()
110 relay_close(chan); in qdf_streamfs_close()
115 void qdf_streamfs_flush(qdf_streamfs_chan_t chan) in qdf_streamfs_flush() argument
117 if (chan) in qdf_streamfs_flush()
118 relay_flush(chan); in qdf_streamfs_flush()
123 void qdf_streamfs_reset(qdf_streamfs_chan_t chan) in qdf_streamfs_reset() argument
125 if (chan) in qdf_streamfs_reset()
126 relay_reset(chan); in qdf_streamfs_reset()
131 void qdf_streamfs_subbufs_consumed(qdf_streamfs_chan_t chan, in qdf_streamfs_subbufs_consumed() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/misc/
H A Ddfs_cac.c76 struct dfs_channel *chan = dfs->dfs_curchan; in dfs_clear_nol_history_for_curchan() local
81 chan, sub_channels); in dfs_clear_nol_history_for_curchan()
91 bool dfs_is_radar_on_punc_chan(struct wlan_dfs *dfs, struct dfs_channel *chan) in dfs_is_radar_on_punc_chan() argument
97 if (!chan || !WLAN_IS_PRIMARY_OR_SECONDARY_CHAN_DFS(chan)) in dfs_is_radar_on_punc_chan()
101 chan, in dfs_is_radar_on_punc_chan()
109 return ((radar_punc_bitmap & chan->dfs_ch_punc_pattern) == in dfs_is_radar_on_punc_chan()
114 dfs_is_radar_on_punc_chan(struct wlan_dfs *dfs, struct dfs_channel *chan) in dfs_is_radar_on_punc_chan() argument
279 struct dfs_channel *chan = dfs->dfs_curchan; in dfs_start_cac_timer() local
283 chan->dfs_ch_freq, in dfs_start_cac_timer()
284 chan->dfs_ch_mhz_freq_seg2, in dfs_start_cac_timer()
[all …]
H A Ddfs_random_chan_sel.c1368 struct dfs_channel *chan; in dfs_apply_rules_for_freq() local
1406 chan = &chan_list[i]; in dfs_apply_rules_for_freq()
1409 if ((chan->dfs_ch_ieee == 0) || in dfs_apply_rules_for_freq()
1410 (chan->dfs_ch_ieee > MAX_CHANNEL_NUM)) { in dfs_apply_rules_for_freq()
1412 "invalid channel %d", chan->dfs_ch_ieee); in dfs_apply_rules_for_freq()
1418 if (chan->dfs_ch_freq == freq_list[j]) { in dfs_apply_rules_for_freq()
1422 chan->dfs_ch_freq); in dfs_apply_rules_for_freq()
1435 chan->dfs_ch_freq) { in dfs_apply_rules_for_freq()
1444 chan->dfs_ch_freq); in dfs_apply_rules_for_freq()
1451 chan->dfs_ch_freq <= DFS_MAX_24GHZ_CHANNEL_FREQ) { in dfs_apply_rules_for_freq()
[all …]
H A Ddfs_process_radar_found_ind.c544 dfs_get_bonding_channel_without_seg_info_for_freq(struct dfs_channel *chan, in dfs_get_bonding_channel_without_seg_info_for_freq() argument
550 center_freq = chan->dfs_ch_mhz_freq_seg1; in dfs_get_bonding_channel_without_seg_info_for_freq()
552 if (WLAN_IS_CHAN_MODE_20(chan)) { in dfs_get_bonding_channel_without_seg_info_for_freq()
556 } else if (WLAN_IS_CHAN_MODE_40(chan)) { in dfs_get_bonding_channel_without_seg_info_for_freq()
560 } else if (WLAN_IS_CHAN_MODE_80(chan)) { in dfs_get_bonding_channel_without_seg_info_for_freq()
564 } else if (WLAN_IS_CHAN_MODE_80_80(chan)) { in dfs_get_bonding_channel_without_seg_info_for_freq()
568 center_freq = chan->dfs_ch_mhz_freq_seg2; in dfs_get_bonding_channel_without_seg_info_for_freq()
571 } else if (WLAN_IS_CHAN_MODE_160(chan)) { in dfs_get_bonding_channel_without_seg_info_for_freq()
573 center_freq = chan->dfs_ch_mhz_freq_seg2; in dfs_get_bonding_channel_without_seg_info_for_freq()
575 } else if (WLAN_IS_CHAN_MODE_320(chan)) { in dfs_get_bonding_channel_without_seg_info_for_freq()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
H A Dwlan_scan_manager_6ghz.c70 if (WLAN_REG_IS_6GHZ_CHAN_FREQ(chan_list->chan[i].freq)) in scm_sort_6ghz_channel_list()
71 temp_list[j++] = chan_list->chan[i]; in scm_sort_6ghz_channel_list()
126 if (wlan_reg_is_6ghz_chan_freq(chan_list->chan[i].freq)) { in scm_sort_6ghz_channel_list()
127 chan_list->chan[i].freq = rnr_chan_info[j].chan_freq; in scm_sort_6ghz_channel_list()
128 chan_list->chan[i].flags = rnr_chan_info[j].flags; in scm_sort_6ghz_channel_list()
129 chan_list->chan[i].phymode = rnr_chan_info[j++].phymode; in scm_sort_6ghz_channel_list()
141 struct meta_rnr_channel *chan; in scm_update_rnr_info() local
153 freq = chan_list->chan[i].freq; in scm_update_rnr_info()
155 chan = scm_get_chan_meta(psoc, freq); in scm_update_rnr_info()
156 if (!chan || qdf_list_empty(&chan->rnr_list)) in scm_update_rnr_info()
[all …]
/wlan-driver/wpa_supplicant_8/src/common/
H A Dieee802_11_common.c
H A Dhw_features_common.c
H A Dhw_features_common.h
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_streamfs.h107 void qdf_streamfs_close(qdf_streamfs_chan_t chan);
115 void qdf_streamfs_flush(qdf_streamfs_chan_t chan);
127 void qdf_streamfs_reset(qdf_streamfs_chan_t chan);
138 void qdf_streamfs_subbufs_consumed(qdf_streamfs_chan_t chan,
150 void qdf_streamfs_write(qdf_streamfs_chan_t chan, const void *data,
184 static inline void qdf_streamfs_close(qdf_streamfs_chan_t chan) in qdf_streamfs_close() argument
188 static inline void qdf_streamfs_flush(qdf_streamfs_chan_t chan) in qdf_streamfs_flush() argument
192 static inline void qdf_streamfs_reset(qdf_streamfs_chan_t chan) in qdf_streamfs_reset() argument
197 qdf_streamfs_subbufs_consumed(qdf_streamfs_chan_t chan, in qdf_streamfs_subbufs_consumed() argument
203 qdf_streamfs_write(qdf_streamfs_chan_t chan, const void *data, in qdf_streamfs_write() argument
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
H A Dadma.c242 uint8_t chan, bool upload) in hif_dev_map_adma_chan_to_pipe() argument
244 hif_info("chan: %u, %s", chan, upload ? "Upload" : "Download"); in hif_dev_map_adma_chan_to_pipe()
246 if (chan == 0) /* chan 0 is mapped to HTT */ in hif_dev_map_adma_chan_to_pipe()
248 else if (chan == 1) /* chan 1 is mapped to WMI */ in hif_dev_map_adma_chan_to_pipe()
265 struct sdio_al_channel_handle *chan = NULL; in hif_get_send_address() local
271 chan = hif_dev_map_pipe_to_adma_chan(pdev, pipe); in hif_get_send_address()
273 if (!chan) in hif_get_send_address()
276 *addr = (unsigned long)chan; in hif_get_send_address()
503 unsigned int chan; in hif_dev_register_channels() local
525 for (chan = 0; chan < dev->adma_chans_used; chan++) { in hif_dev_register_channels()
[all …]
/wlan-driver/wpa_supplicant_8/wpa_supplicant/
H A Dmbo.c
H A Dop_classes.c
/wlan-driver/wpa_supplicant_8/src/p2p/
H A Dp2p_utils.c
/wlan-driver/qcacld-3.0/os_if/p2p/src/
H A Dwlan_cfg80211_p2p.c268 struct ieee80211_channel *chan; in wlan_p2p_event_callback() local
302 chan = ieee80211_get_channel(wdev->wiphy, p2p_event->chan_freq); in wlan_p2p_event_callback()
303 if (!chan) { in wlan_p2p_event_callback()
310 p2p_event->cookie, chan, in wlan_p2p_event_callback()
314 p2p_event->cookie, chan, GFP_KERNEL); in wlan_p2p_event_callback()
354 struct ieee80211_channel *chan, uint32_t duration, in wlan_cfg80211_roc() argument
369 if (!chan) { in wlan_cfg80211_roc()
383 roc_req.chan_freq = chan->center_freq; in wlan_cfg80211_roc()
387 ret = policy_mgr_is_chan_ok_for_dnbs(psoc, chan->center_freq, &ok); in wlan_cfg80211_roc()
424 struct ieee80211_channel *chan, bool offchan, in wlan_cfg80211_mgmt_tx() argument
[all …]
/wlan-driver/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_capa.c
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/
H A Ddfs_process_radarevent.c118 struct dfs_channel *chan, in dfs_dur_check() argument
125 ((chan->dfs_ch_flags & WLAN_CHAN_VHT80) == WLAN_CHAN_VHT80) && in dfs_dur_check()
126 (DFS_DIFF(chan->dfs_ch_freq, chan->dfs_ch_mhz_freq_seg1) == in dfs_dur_check()
135 chan->dfs_ch_flags, in dfs_dur_check()
136 chan->dfs_ch_freq, chan->dfs_ch_mhz_freq_seg1); in dfs_dur_check()
150 struct dfs_channel *chan, in dfs_dur_check() argument
609 struct dfs_channel *chan, in dfs_radarfound_reset_vars() argument
642 chan->dfs_ch_freq, chan->dfs_ch_flagext); in dfs_radarfound_reset_vars()
644 if (chan->dfs_ch_freq != thischan->dfs_ch_freq) in dfs_radarfound_reset_vars()
685 struct dfs_channel *chan, in dfs_handle_bangradar() argument
[all …]
/wlan-driver/qcacld-3.0/components/cmn_services/interface_mgr/src/
H A Dwlan_if_mgr_roam.c435 struct wlan_channel *chan; in if_mgr_validate_sta_bcn_intrvl() local
459 chan = wlan_vdev_get_active_channel(vdev); in if_mgr_validate_sta_bcn_intrvl()
460 if (!chan) { in if_mgr_validate_sta_bcn_intrvl()
477 (chan->ch_cfreq1 != bss_arg->ch_freq || in if_mgr_validate_sta_bcn_intrvl()
478 chan->ch_cfreq2 != bss_arg->ch_freq)) { in if_mgr_validate_sta_bcn_intrvl()
485 (chan->ch_cfreq1 != bss_arg->ch_freq || in if_mgr_validate_sta_bcn_intrvl()
486 chan->ch_cfreq2 != bss_arg->ch_freq) && in if_mgr_validate_sta_bcn_intrvl()
545 struct wlan_channel *chan; in if_mgr_validate_p2pcli_bcn_intrvl() local
559 chan = wlan_vdev_get_active_channel(vdev); in if_mgr_validate_p2pcli_bcn_intrvl()
560 if (!chan) { in if_mgr_validate_p2pcli_bcn_intrvl()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/src/
H A Dwlan_dfs_utils_api.c229 static void dfs_fill_chan_info(struct dfs_channel *chan, in dfs_fill_chan_info() argument
232 chan->dfs_ch_freq = wlan_chan->ch_freq; in dfs_fill_chan_info()
233 chan->dfs_ch_flags = wlan_chan->ch_flags; in dfs_fill_chan_info()
234 chan->dfs_ch_flagext = wlan_chan->ch_flagext; in dfs_fill_chan_info()
235 chan->dfs_ch_ieee = wlan_chan->ch_ieee; in dfs_fill_chan_info()
236 chan->dfs_ch_vhtop_ch_freq_seg1 = wlan_chan->ch_freq_seg1; in dfs_fill_chan_info()
237 chan->dfs_ch_vhtop_ch_freq_seg2 = wlan_chan->ch_freq_seg2; in dfs_fill_chan_info()
238 chan->dfs_ch_mhz_freq_seg1 = wlan_chan->ch_cfreq1; in dfs_fill_chan_info()
239 chan->dfs_ch_mhz_freq_seg2 = wlan_chan->ch_cfreq2; in dfs_fill_chan_info()
247 struct dfs_channel chan; in utils_dfs_is_precac_done() local
[all …]
/wlan-driver/qca-wifi-host-cmn/wmi/src/
H A Dwmi_unified_ocb_tlv.c463 wmi_channel *chan; in send_ocb_set_config_cmd_tlv() local
537 chan = (wmi_channel *)buf_ptr; in send_ocb_set_config_cmd_tlv()
538 WMITLV_SET_HDR(&chan->tlv_header, in send_ocb_set_config_cmd_tlv()
541 chan->mhz = config->channels[i].chan_freq; in send_ocb_set_config_cmd_tlv()
542 chan->band_center_freq1 = config->channels[i].chan_freq; in send_ocb_set_config_cmd_tlv()
543 chan->band_center_freq2 = 0; in send_ocb_set_config_cmd_tlv()
544 chan->info = 0; in send_ocb_set_config_cmd_tlv()
546 WMI_SET_CHANNEL_MODE(chan, config->channels[i].ch_mode); in send_ocb_set_config_cmd_tlv()
547 WMI_SET_CHANNEL_MAX_POWER(chan, config->channels[i].max_pwr); in send_ocb_set_config_cmd_tlv()
548 WMI_SET_CHANNEL_MIN_POWER(chan, config->channels[i].min_pwr); in send_ocb_set_config_cmd_tlv()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_regulatory.c381 struct ieee80211_channel *chan; in hdd_regulatory_wiphy_init() local
403 chan = &(wiphy->bands[HDD_NL80211_BAND_2GHZ]->channels[chan_num]); in hdd_regulatory_wiphy_init()
404 if (chan->flags & IEEE80211_CHAN_NO_20MHZ) in hdd_regulatory_wiphy_init()
405 chan->flags |= IEEE80211_CHAN_DISABLED; in hdd_regulatory_wiphy_init()
476 struct ieee80211_channel *chan) in hdd_modify_wiphy() argument
481 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in hdd_modify_wiphy()
483 chan->flags &= ~IEEE80211_CHAN_DISABLED; in hdd_modify_wiphy()
487 chan->center_freq); in hdd_modify_wiphy()
488 chan->flags &= ~IEEE80211_CHAN_RADAR; in hdd_modify_wiphy()
493 chan->center_freq); in hdd_modify_wiphy()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
H A Dreg_opclass.h296 uint8_t chan, uint8_t op_class,
308 uint16_t reg_chan_opclass_to_freq(uint8_t chan,
321 qdf_freq_t reg_chan_opclass_to_freq_auto(uint8_t chan, uint8_t op_class,
471 uint8_t chan, uint8_t op_class, in reg_country_chan_opclass_to_freq() argument
479 reg_chan_opclass_to_freq(uint8_t chan, in reg_chan_opclass_to_freq() argument
487 reg_chan_opclass_to_freq_auto(uint8_t chan, uint8_t op_class, in reg_chan_opclass_to_freq_auto() argument

1234567