Home
last modified time | relevance | path

Searched refs:chandef (Results 1 – 25 of 171) sorted by relevance

1234567

/linux/net/wireless/
H A Dmesh.c133 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
135 setup->chandef = wdev->u.mesh.preset_chandef; in __cfg80211_join_mesh()
138 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
157 setup->chandef.chan = chan; in __cfg80211_join_mesh()
161 if (setup->chandef.chan) in __cfg80211_join_mesh()
166 if (!setup->chandef.chan) in __cfg80211_join_mesh()
169 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh()
170 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
179 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
181 if (setup->chandef.chan->band == NL80211_BAND_2GHZ) { in __cfg80211_join_mesh()
[all …]
H A Docb.c33 if (WARN_ON(!setup->chandef.chan)) in cfg80211_join_ocb()
38 wdev->u.ocb.chandef = setup->chandef; in cfg80211_join_ocb()
57 if (!wdev->u.ocb.chandef.chan) in cfg80211_leave_ocb()
62 memset(&wdev->u.ocb.chandef, 0, sizeof(wdev->u.ocb.chandef)); in cfg80211_leave_ocb()
H A Dmlme.c1126 struct cfg80211_chan_def *chandef) in cfg80211_dfs_channels_update_work()
1139 cfg80211_chandef_create(chandef, c, NL80211_CHAN_NO_HT); in cfg80211_dfs_channels_update_work()
1141 nl80211_radar_notify(rdev, chandef, exp->event, NULL, GFP_KERNEL); in cfg80211_dfs_channels_update_work()
1151 struct cfg80211_chan_def chandef; in cfg80211_dfs_channels_update_work()
1239 if (!cfg80211_dfs_chan_expire(rdev, &expired[i], &chandef)) in __cfg80211_background_cac_event()
1242 regulatory_propagate_dfs_state(wiphy, &chandef, in __cfg80211_background_cac_event()
1258 struct cfg80211_chan_def *chandef, in __cfg80211_background_cac_event()
1263 trace_cfg80211_radar_event(wiphy, chandef, offchan); in __cfg80211_background_cac_event()
1265 /* only set the chandef supplied channel to unavailable, in in __cfg80211_background_cac_event()
1267 * spanned by the chandef in __cfg80211_background_cac_event()
1077 struct cfg80211_chan_def chandef; cfg80211_dfs_channels_update_work() local
1156 __cfg80211_radar_event(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,bool offchan,gfp_t gfp) __cfg80211_radar_event() argument
1184 cfg80211_cac_event(struct net_device * netdev,const struct cfg80211_chan_def * chandef,enum nl80211_radar_event event,gfp_t gfp,unsigned int link_id) cfg80211_cac_event() argument
1234 __cfg80211_background_cac_event(struct cfg80211_registered_device * rdev,struct wireless_dev * wdev,const struct cfg80211_chan_def * chandef,enum nl80211_radar_event event) __cfg80211_background_cac_event() argument
1314 cfg80211_start_background_radar_detection(struct cfg80211_registered_device * rdev,struct wireless_dev * wdev,struct cfg80211_chan_def * chandef) cfg80211_start_background_radar_detection() argument
1360 struct cfg80211_chan_def chandef; cfg80211_stop_radar_detection() local
[all...]
H A Dibss.c118 band = params->chandef.chan->band; in __cfg80211_join_ibss()
139 wdev->u.ibss.chandef = params->chandef; in __cfg80211_join_ibss()
146 wdev->wext.ibss.chandef = params->chandef; in __cfg80211_join_ibss()
189 memset(&wdev->u.ibss.chandef, 0, sizeof(wdev->u.ibss.chandef)); in cfg80211_clear_ibss()
233 if (!wdev->wext.ibss.chandef.chan) { in cfg80211_ibss_wext_join()
261 cfg80211_chandef_create(&wdev->wext.ibss.chandef, new_chan, in cfg80211_ibss_wext_join()
321 if (wdev->wext.ibss.chandef in cfg80211_ibss_wext_siwfreq()
[all...]
H A Dutil.c2300 struct cfg80211_chan_def *chandef) in ieee80211_operating_class_to_chandef()
2310 chandef->chan = chan; in ieee80211_operating_class_to_chandef()
2330 chandef->center_freq1 = control_freq; in ieee80211_operating_class_to_chandef()
2331 chandef->width = NL80211_CHAN_WIDTH_20;
2338 chandef->center_freq1 = control_freq + 10; in ieee80211_chandef_to_operating_class()
2339 chandef->width = NL80211_CHAN_WIDTH_40; in ieee80211_chandef_to_operating_class()
2346 chandef->center_freq1 = control_freq - 10; in ieee80211_chandef_to_operating_class()
2347 chandef->width = NL80211_CHAN_WIDTH_40; in ieee80211_chandef_to_operating_class()
2350 chandef->center_freq1 = control_freq + 10 - (offset & 1) * 20; in ieee80211_chandef_to_operating_class()
2351 chandef in ieee80211_chandef_to_operating_class()
2259 ieee80211_operating_class_to_chandef(u8 operating_class,struct ieee80211_channel * chan,struct cfg80211_chan_def * chandef) ieee80211_operating_class_to_chandef() argument
2333 ieee80211_chandef_to_operating_class(struct cfg80211_chan_def * chandef,u8 * op_class) ieee80211_chandef_to_operating_class() argument
3108 cfg80211_radio_chandef_valid(const struct wiphy_radio * radio,const struct cfg80211_chan_def * chandef) cfg80211_radio_chandef_valid() argument
3130 struct cfg80211_chan_def chandef; cfg80211_wdev_channel_allowed() local
[all...]
H A Dcore.h394 struct cfg80211_chan_def *chandef);
524 const struct cfg80211_chan_def *chandef,
528 const struct cfg80211_chan_def *chandef,
538 struct cfg80211_chan_def *chandef); in elapsed_jiffies_msecs()
552 bool cfg80211_is_sub_chan(struct cfg80211_chan_def *chandef,
559 const struct cfg80211_chan_def *chandef,
575 struct cfg80211_chan_def *chandef);
H A Dap.c
/linux/net/mac80211/
H A Dspectmgmt.c24 struct cfg80211_chan_def *chandef) in wbcs_elem_to_chandef() argument
28 u32 cf0 = ieee80211_channel_to_frequency(ccfs0, chandef->chan->band); in wbcs_elem_to_chandef()
29 u32 cf1 = ieee80211_channel_to_frequency(ccfs1, chandef->chan->band); in wbcs_elem_to_chandef()
34 chandef->width = NL80211_CHAN_WIDTH_160; in wbcs_elem_to_chandef()
35 chandef->center_freq1 = cf0; in wbcs_elem_to_chandef()
39 chandef->width = NL80211_CHAN_WIDTH_80P80; in wbcs_elem_to_chandef()
40 chandef->center_freq1 = cf0; in wbcs_elem_to_chandef()
41 chandef->center_freq2 = cf1; in wbcs_elem_to_chandef()
44 chandef->width = NL80211_CHAN_WIDTH_80; in wbcs_elem_to_chandef()
45 chandef->center_freq1 = cf0; in wbcs_elem_to_chandef()
[all …]
H A Dwbrf.c42 static void get_ranges_from_chandef(struct cfg80211_chan_def *chandef, in get_ranges_from_chandef() argument
49 bandwidth = cfg80211_chandef_get_width(chandef); in get_ranges_from_chandef()
51 get_chan_freq_boundary(chandef->center_freq1, bandwidth, &start_freq1, &end_freq1); in get_ranges_from_chandef()
57 if (chandef->width == NL80211_CHAN_WIDTH_80P80) { in get_ranges_from_chandef()
58 get_chan_freq_boundary(chandef->center_freq2, bandwidth, &start_freq2, &end_freq2); in get_ranges_from_chandef()
66 void ieee80211_add_wbrf(struct ieee80211_local *local, struct cfg80211_chan_def *chandef) in ieee80211_add_wbrf() argument
76 get_ranges_from_chandef(chandef, &ranges_in); in ieee80211_add_wbrf()
81 void ieee80211_remove_wbrf(struct ieee80211_local *local, struct cfg80211_chan_def *chandef) in ieee80211_remove_wbrf() argument
91 get_ranges_from_chandef(chandef, &ranges_in); in ieee80211_remove_wbrf()
H A Dibss.c41 struct cfg80211_chan_def *chandef, in ieee80211_ibss_build_presp() argument
92 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
127 chandef->chan->center_freq); in ieee80211_ibss_build_presp()
141 csa_settings->chandef.chan->center_freq); in ieee80211_ibss_build_presp()
169 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT && in ieee80211_ibss_build_presp()
183 chandef, 0, false); in ieee80211_ibss_build_presp()
186 if (chandef->width != NL80211_CHAN_WIDTH_20 && in ieee80211_ibss_build_presp()
187 chandef->width != NL80211_CHAN_WIDTH_40 && in ieee80211_ibss_build_presp()
192 chandef); in ieee80211_ibss_build_presp()
255 /* make a copy of the chandef, i in __ieee80211_sta_join_ibss()
384 struct cfg80211_chan_def chandef; ieee80211_sta_join_ibss() local
987 struct cfg80211_chan_def chandef; ieee80211_update_sta_info() local
1325 ieee80211_ibss_setup_scan_channels(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef,struct ieee80211_channel ** channels,unsigned int channels_max) ieee80211_ibss_setup_scan_channels() argument
[all...]
H A Dutil.c1267 struct cfg80211_chan_def *chandef, in ieee80211_put_preq_ies_band() argument
1335 if (chandef->chan && sband->band == NL80211_BAND_2GHZ) { in ieee80211_put_preq_ies_band()
1341 ieee80211_frequency_to_channel(chandef->chan->center_freq)); in ieee80211_put_preq_ies_band()
1481 struct cfg80211_chan_def *chandef, in ieee80211_put_preq_ies()
1496 chandef, flags);
1524 struct cfg80211_chan_def *chandef, in ieee80211_build_preq_ies()
1538 bands_used, rate_masks, chandef, in ieee80211_build_preq_ies()
1574 struct cfg80211_chan_def chandef; in ieee80211_build_probe_req()
1585 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req()
1587 chandef in ieee80211_build_probe_req()
1459 ieee80211_put_preq_ies(struct sk_buff * skb,struct ieee80211_sub_if_data * sdata,struct ieee80211_scan_ies * ie_desc,const u8 * ie,size_t ie_len,u8 bands_used,u32 * rate_masks,struct cfg80211_chan_def * chandef,u32 flags) ieee80211_put_preq_ies() argument
1502 ieee80211_build_preq_ies(struct ieee80211_sub_if_data * sdata,u8 * buffer,size_t buffer_len,struct ieee80211_scan_ies * ie_desc,const u8 * ie,size_t ie_len,u8 bands_used,u32 * rate_masks,struct cfg80211_chan_def * chandef,u32 flags) ieee80211_build_preq_ies() argument
1552 struct cfg80211_chan_def chandef; ieee80211_build_probe_req() local
2801 ieee80211_ie_build_ht_oper(u8 * pos,struct ieee80211_sta_ht_cap * ht_cap,const struct cfg80211_chan_def * chandef,u16 prot_mode,bool rifs_mode) ieee80211_ie_build_ht_oper() argument
2849 ieee80211_ie_build_wide_bw_cs(u8 * pos,const struct cfg80211_chan_def * chandef) ieee80211_ie_build_wide_bw_cs() argument
2882 ieee80211_ie_build_vht_oper(u8 * pos,struct ieee80211_sta_vht_cap * vht_cap,const struct cfg80211_chan_def * chandef) ieee80211_ie_build_vht_oper() argument
2935 ieee80211_ie_build_he_oper(u8 * pos,const struct cfg80211_chan_def * chandef) ieee80211_ie_build_he_oper() argument
3034 ieee80211_ie_build_eht_oper(u8 * pos,const struct cfg80211_chan_def * chandef,const struct ieee80211_sta_eht_cap * eht_cap) ieee80211_ie_build_eht_oper() argument
3106 ieee80211_chandef_ht_oper(const struct ieee80211_ht_operation * ht_oper,struct cfg80211_chan_def * chandef) ieee80211_chandef_ht_oper() argument
3134 ieee80211_chandef_vht_oper(struct ieee80211_hw * hw,u32 vht_cap_info,const struct ieee80211_vht_operation * oper,const struct ieee80211_ht_operation * htop,struct cfg80211_chan_def * chandef) ieee80211_chandef_vht_oper() argument
3258 ieee80211_chandef_eht_oper(const struct ieee80211_eht_operation_info * info,struct cfg80211_chan_def * chandef) ieee80211_chandef_eht_oper() argument
3293 ieee80211_chandef_he_6ghz_oper(struct ieee80211_local * local,const struct ieee80211_he_operation * he_oper,const struct ieee80211_eht_operation * eht_oper,struct cfg80211_chan_def * chandef) ieee80211_chandef_he_6ghz_oper() argument
3374 ieee80211_chandef_s1g_oper(struct ieee80211_local * local,const struct ieee80211_s1g_oper_ie * oper,struct cfg80211_chan_def * chandef) ieee80211_chandef_s1g_oper() argument
3685 struct cfg80211_chan_def chandef; ieee80211_dfs_cac_cancel() local
3725 struct cfg80211_chan_def chandef; ieee80211_dfs_radar_detected_work() local
4276 ieee80211_fill_ifcomb_params(struct ieee80211_local * local,struct iface_combination_params * params,const struct cfg80211_chan_def * chandef,struct ieee80211_sub_if_data * sdata,bool (* chanctx_filter)(struct ieee80211_chanctx * ctx,void * filter_data),void * filter_data) ieee80211_fill_ifcomb_params() argument
4332 const struct cfg80211_chan_def *chandef = data->chandef; ieee80211_check_combinations_ext() local
4702 ieee80211_min_bw_limit_from_chandef(struct cfg80211_chan_def * chandef) ieee80211_min_bw_limit_from_chandef() argument
[all...]
H A Dmain.c100 struct cfg80211_chan_def chandef = {}; in ieee80211_calc_hw_conf_chan() local
123 chandef = local->scan_chandef; in ieee80211_calc_hw_conf_chan()
125 chandef.chan = local->tmp_channel; in ieee80211_calc_hw_conf_chan()
126 chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_calc_hw_conf_chan()
127 chandef.center_freq1 = chandef.chan->center_freq; in ieee80211_calc_hw_conf_chan()
128 chandef.freq1_offset = chandef.chan->freq_offset; in ieee80211_calc_hw_conf_chan()
130 chandef = *oper; in ieee80211_calc_hw_conf_chan()
132 chandef in ieee80211_calc_hw_conf_chan()
1124 ieee80211_create_default_chandef(struct cfg80211_chan_def * chandef,struct ieee80211_channel * chan) ieee80211_create_default_chandef() argument
[all...]
H A Dtdls.c78 struct cfg80211_chan_def chandef; in ieee80211_tdls_add_subband() local
89 cfg80211_chandef_create(&chandef, ch, in ieee80211_tdls_add_subband()
91 if (cfg80211_reg_can_beacon_relax(wiphy, &chandef, in ieee80211_tdls_add_subband()
349 /* proceed to downgrade the chandef until usable or the same as AP BW */ in ieee80211_tdls_chandef_vht_upgrade()
532 * if both peers support WIDER_BW, we can expand the chandef to in ieee80211_tdls_add_setup_start_ies()
674 * if both peers support WIDER_BW, we can expand the chandef to in ieee80211_tdls_add_setup_cfm_ies()
697 struct cfg80211_chan_def *chandef) in ieee80211_tdls_add_chan_switch_req_ies() argument
702 if (WARN_ON_ONCE(!chandef)) in ieee80211_tdls_add_chan_switch_req_ies()
707 ieee80211_frequency_to_channel(chandef->chan->center_freq); in ieee80211_tdls_add_chan_switch_req_ies()
750 struct cfg80211_chan_def *chandef) in ieee80211_tdls_add_ies() argument
914 ieee80211_tdls_build_mgmt_packet_data(struct ieee80211_sub_if_data * sdata,const u8 * peer,int link_id,u8 action_code,u8 dialog_token,u16 status_code,bool initiator,const u8 * extra_ies,size_t extra_ies_len,u8 oper_class,struct cfg80211_chan_def * chandef) ieee80211_tdls_build_mgmt_packet_data() argument
1003 ieee80211_tdls_prep_mgmt_packet(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,int link_id,u8 action_code,u8 dialog_token,u16 status_code,u32 peer_capability,bool initiator,const u8 * extra_ies,size_t extra_ies_len,u8 oper_class,struct cfg80211_chan_def * chandef) ieee80211_tdls_prep_mgmt_packet() argument
1566 ieee80211_tdls_ch_sw_tmpl_get(struct sta_info * sta,u8 oper_class,struct cfg80211_chan_def * chandef,u32 * ch_sw_tm_ie_offset) ieee80211_tdls_ch_sw_tmpl_get() argument
1638 ieee80211_tdls_channel_switch(struct wiphy * wiphy,struct net_device * dev,const u8 * addr,u8 oper_class,struct cfg80211_chan_def * chandef) ieee80211_tdls_channel_switch() argument
1861 struct cfg80211_chan_def chandef; ieee80211_process_tdls_channel_switch_req() local
[all...]
H A Dmesh.c1016 struct cfg80211_chan_def *chandef; in ieee80211_mesh_build_beacon() local
1025 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
1044 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
1051 ct = cfg80211_get_chandef_type(&csa->settings.chandef); in ieee80211_mesh_build_beacon()
1068 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
1069 ieee80211_ie_build_wide_bw_cs(pos, chandef); in ieee80211_mesh_build_beacon()
1333 params.chandef = csa_ie.chanreq.oper; in ieee80211_mesh_process_chnswitch()
1336 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, &params.chandef, in ieee80211_mesh_process_chnswitch()
1338 !cfg80211_reg_can_beacon(sdata->local->hw.wiphy, &params.chandef, in ieee80211_mesh_process_chnswitch()
1343 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
[all …]
H A Dscan.c378 static void ieee80211_prepare_scan_chandef(struct cfg80211_chan_def *chandef)
380 memset(chandef, 0, sizeof(*chandef)); in ieee80211_prep_hw_scan()
382 chandef->width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_prep_hw_scan()
390 struct cfg80211_chan_def chandef; in ieee80211_prep_hw_scan()
431 ieee80211_prepare_scan_chandef(&chandef); in ieee80211_prep_hw_scan()
441 bands_used, req->rates, &chandef, in ieee80211_prep_hw_scan()
702 enum nl80211_band band = local->hw.conf.chandef.chan->band; in ieee80211_scan_state_send_probe()
725 tx_flags, local->hw.conf.chandef.chan); in ieee80211_scan_state_send_probe()
843 (req->channels[0] == local->hw.conf.chandef in __ieee80211_start_scan()
371 ieee80211_prepare_scan_chandef(struct cfg80211_chan_def * chandef) ieee80211_prepare_scan_chandef() argument
383 struct cfg80211_chan_def chandef; ieee80211_prep_hw_scan() local
1336 struct cfg80211_chan_def chandef; __ieee80211_request_sched_scan_start() local
[all...]
/linux/drivers/net/wireless/marvell/mwifiex/
H A D11h.c113 struct cfg80211_chan_def chandef; in mwifiex_dfs_cac_work_queue() local
119 chandef = priv->dfs_chandef; in mwifiex_dfs_cac_work_queue()
123 cfg80211_cac_event(priv->netdev, &chandef, in mwifiex_dfs_cac_work_queue()
145 cr_req->chan_desc.chan_num = radar_params->chandef->chan->hw_value; in mwifiex_cmd_issue_chan_report_request()
146 cr_req->chan_desc.chan_width = radar_params->chandef->width; in mwifiex_cmd_issue_chan_report_request()
152 radar_params->chandef->chan->hw_value); in mwifiex_cmd_issue_chan_report_request()
160 struct cfg80211_chan_def *chandef) in mwifiex_stop_radar_detection() argument
165 radar_params.chandef = chandef; in mwifiex_stop_radar_detection()
/linux/drivers/net/wireless/ath/ath9k/
H A Dchannel.c29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() local
30 struct ieee80211_channel *chan = chandef->chan; in ath_set_channel()
43 chan->center_freq, chandef->width); in ath_set_channel()
50 ath9k_cmn_get_channel(hw, ah, chandef); in ath_set_channel()
118 cfg80211_chandef_create(&ctx->chandef, chan, NL80211_CHAN_HT20); in ath_chanctx_init()
131 struct cfg80211_chan_def *chandef) in ath_chanctx_set_channel() argument
137 if (chandef) in ath_chanctx_set_channel()
138 memcpy(&ctx->chandef, chandef, sizeo in ath_chanctx_set_channel()
797 ath_chanctx_switch(struct ath_softc * sc,struct ath_chanctx * ctx,struct cfg80211_chan_def * chandef) ath_chanctx_switch() argument
847 struct cfg80211_chan_def chandef; ath_chanctx_offchan_switch() local
[all...]
/linux/include/net/
H A Dcfg80211.h125 * described by the chandef from being used. In order for a 2MHz primary
853 * inside the primary half of the chandef. Implementations
872 * accordance with the overall chandef bandwidth.
979 * cfg80211_get_chandef_type - return old channel type from chandef
980 * @chandef: the channel definition
983 * chandef, which must have a bandwidth allowing this conversion.
986 cfg80211_get_chandef_type(const struct cfg80211_chan_def *chandef) in cfg80211_get_chandef_type()
988 switch (chandef->width) { in cfg80211_get_chandef_type()
994 if (chandef->center_freq1 > chandef in cfg80211_get_chandef_type()
985 cfg80211_get_chandef_type(const struct cfg80211_chan_def * chandef) cfg80211_get_chandef_type() argument
1045 cfg80211_chandef_is_edmg(const struct cfg80211_chan_def * chandef) cfg80211_chandef_is_edmg() argument
1057 cfg80211_chandef_is_s1g(const struct cfg80211_chan_def * chandef) cfg80211_chandef_is_s1g() argument
1224 ieee80211_chandef_max_power(struct cfg80211_chan_def * chandef) ieee80211_chandef_max_power() argument
1254 cfg80211_chandef_s1g_pri_width(struct cfg80211_chan_def * chandef) cfg80211_chandef_s1g_pri_width() argument
1628 struct cfg80211_chan_def chandef; global() member
1698 struct cfg80211_chan_def chandef; global() member
2818 struct cfg80211_chan_def chandef; global() member
2846 struct cfg80211_chan_def chandef; global() member
3568 struct cfg80211_chan_def chandef; global() member
4225 struct cfg80211_chan_def chandef; global() member
4760 struct cfg80211_chan_def chandef; global() member
7303 struct cfg80211_chan_def chandef; global() member
7314 struct cfg80211_chan_def chandef; global() member
7320 struct cfg80211_chan_def chandef; global() member
7335 struct cfg80211_chan_def chandef; global() member
9762 cfg80211_radar_event(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,gfp_t gfp) cfg80211_radar_event() argument
9770 cfg80211_background_radar_event(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,gfp_t gfp) cfg80211_background_radar_event() argument
9961 cfg80211_reg_can_beacon(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_reg_can_beacon() argument
9986 cfg80211_reg_can_beacon_relax(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_reg_can_beacon_relax() argument
10070 ieee80211_chandef_to_khz(const struct cfg80211_chan_def * chandef) ieee80211_chandef_to_khz() argument
10938 cfg80211_s1g_get_start_freq_khz(const struct cfg80211_chan_def * chandef) cfg80211_s1g_get_start_freq_khz() argument
10953 cfg80211_s1g_get_end_freq_khz(const struct cfg80211_chan_def * chandef) cfg80211_s1g_get_end_freq_khz() argument
10976 cfg80211_s1g_get_primary_sibling(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef) cfg80211_s1g_get_primary_sibling() argument
[all...]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A D11h.c112 struct cfg80211_chan_def chandef; in nxpwifi_dfs_cac_work() local
119 chandef = priv->dfs_chandef; in nxpwifi_dfs_cac_work()
123 cfg80211_cac_event(priv->netdev, &chandef, in nxpwifi_dfs_cac_work()
144 radar_params->chandef); in nxpwifi_cmd_issue_chan_report_request()
145 cr_req->chan_desc.chan_num = radar_params->chandef->chan->hw_value; in nxpwifi_cmd_issue_chan_report_request()
160 radar_params->chandef->chan->hw_value); in nxpwifi_cmd_issue_chan_report_request()
171 struct cfg80211_chan_def *chandef) in nxpwifi_stop_radar_detection() argument
176 radar_params.chandef = chandef; in nxpwifi_stop_radar_detection()
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dmain.c19 mt76x0_phy_set_channel(dev, &mphy->chandef); in mt76x0_set_channel()
42 if (!cfg80211_chandef_valid(&mphy->chandef)) in mt76x0_set_sar_specs()
49 dev->txpower_conf = mt76_get_sar_power(mphy, mphy->chandef.chan, in mt76x0_set_sar_specs()
74 mphy->chandef.chan, in mt76x0_config()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dtestmode.c42 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7915_tm_set_tx_power() local
43 int freq = chandef->center_freq1; in mt7915_tm_set_tx_power()
274 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_len()
276 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ) in mt7915_tm_set_tx_len()
308 switch (mphy->chandef.width) { in mt7915_tm_set_tx_len()
517 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7915_tm_set_tx_cont() local
518 int freq1 = ieee80211_frequency_to_channel(chandef->center_freq1); in mt7915_tm_set_tx_cont()
531 tx_cont->control_ch = chandef->chan->hw_value; in mt7915_tm_set_tx_cont()
536 switch (chandef->width) { in mt7915_tm_set_tx_cont()
574 if (chandef->chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_cont()
[all …]
H A Dmcu.c63 enum nl80211_band band = msta->vif->phy->mt76->chandef.chan->band; in mt7915_mcu_set_sta_he_mcs()
550 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7915_mcu_bss_rfch_tlv() local
553 int freq1 = chandef->center_freq1; in mt7915_mcu_bss_rfch_tlv()
558 ch->pri_ch = chandef->chan->hw_value; in mt7915_mcu_bss_rfch_tlv()
560 ch->bw = mt76_connac_chan_bw(chandef); in mt7915_mcu_bss_rfch_tlv()
562 if (chandef->width == NL80211_CHAN_WIDTH_80P80) { in mt7915_mcu_bss_rfch_tlv()
563 int freq2 = chandef->center_freq2; in mt7915_mcu_bss_rfch_tlv()
656 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7915_mcu_bss_bmc_tlv() local
657 enum nl80211_band band = chandef->chan->band; in mt7915_mcu_bss_bmc_tlv()
1481 struct cfg80211_chan_def *chandef = &mvif->phy->mt76->chandef; in mt7915_mcu_add_rate_ctrl_fixed() local
[all …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00config.c175 center_channel = spec->channels[conf->chandef.chan->hw_value].channel; in rt2x00ht_center_channel()
190 return conf->chandef.chan->hw_value; in rt2x00ht_center_channel()
218 hw_value = conf->chandef.chan->hw_value; in rt2x00lib_config()
252 rt2x00dev->curr_band = conf->chandef.chan->band; in rt2x00lib_config()
253 rt2x00dev->curr_freq = conf->chandef.chan->center_freq; in rt2x00lib_config()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcfg80211.c753 const struct cfg80211_chan_def *chandef = wdev_chandef(wdev, 0); in qtnf_dump_survey()
773 if (chandef && chan == chandef->chan) in qtnf_dump_survey()
786 unsigned int link_id, struct cfg80211_chan_def *chandef) in qtnf_get_channel()
797 ret = qtnf_cmd_get_channel(vif, chandef); in qtnf_get_channel()
804 if (!cfg80211_chandef_valid(chandef)) { in qtnf_get_channel()
806 ndev->name, chandef->chan->center_freq, in qtnf_get_channel()
807 chandef->center_freq1, chandef->center_freq2, in qtnf_get_channel()
808 chandef in qtnf_get_channel()
749 const struct cfg80211_chan_def *chandef = wdev_chandef(wdev, 0); qtnf_dump_survey() local
782 qtnf_get_channel(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id,struct cfg80211_chan_def * chandef) qtnf_get_channel() argument
838 qtnf_start_radar_detection(struct wiphy * wiphy,struct net_device * ndev,struct cfg80211_chan_def * chandef,u32 cac_time_ms,int link_id) qtnf_start_radar_detection() argument
[all...]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.c896 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; in mt7921_mcu_set_chan_info()
897 int freq1 = chandef->center_freq1; in mt7921_mcu_set_chan_info()
916 .control_ch = chandef->chan->hw_value, in mt7921_mcu_set_chan_info()
918 .bw = mt76_connac_chan_bw(chandef), in mt7921_mcu_set_chan_info()
924 if (chandef->chan->band == NL80211_BAND_6GHZ) in mt7921_mcu_set_chan_info()
927 req.channel_band = chandef->chan->band; in mt7921_mcu_set_chan_info()
934 else if (!cfg80211_reg_can_beacon(dev->mt76.hw->wiphy, chandef, in mt7921_mcu_set_chan_info()
943 if (chandef->width == NL80211_CHAN_WIDTH_80P80) { in mt7921_mcu_set_chan_info()
944 int freq2 = chandef in mt7921_mcu_set_chan_info()
891 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; mt7921_mcu_set_chan_info() local
1189 struct cfg80211_chan_def *chandef = &ctx->def; mt7921_mcu_config_sniffer() local
[all...]

1234567