/openbmc/linux/net/wireless/ |
H A D | chan.c | 23 void cfg80211_chandef_create(struct cfg80211_chan_def *chandef, in cfg80211_chandef_create() argument 30 chandef->chan = chan; in cfg80211_chandef_create() 31 chandef->freq1_offset = chan->freq_offset; in cfg80211_chandef_create() 32 chandef->center_freq2 = 0; in cfg80211_chandef_create() 33 chandef->edmg.bw_config = 0; in cfg80211_chandef_create() 34 chandef->edmg.channels = 0; in cfg80211_chandef_create() 38 chandef->width = NL80211_CHAN_WIDTH_20_NOHT; in cfg80211_chandef_create() 39 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create() 42 chandef->width = NL80211_CHAN_WIDTH_20; in cfg80211_chandef_create() 43 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create() [all …]
|
H A D | mesh.c | 130 if (!setup->chandef.chan) { in __cfg80211_join_mesh() 132 setup->chandef = wdev->u.mesh.preset_chandef; in __cfg80211_join_mesh() 135 if (!setup->chandef.chan) { in __cfg80211_join_mesh() 154 setup->chandef.chan = chan; in __cfg80211_join_mesh() 158 if (setup->chandef.chan) in __cfg80211_join_mesh() 163 if (!setup->chandef.chan) in __cfg80211_join_mesh() 166 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh() 167 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh() 177 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh() 179 if (setup->chandef.chan->band == NL80211_BAND_2GHZ) { in __cfg80211_join_mesh() [all …]
|
H A D | ocb.c | 33 if (WARN_ON(!setup->chandef.chan)) in __cfg80211_join_ocb() 38 wdev->u.ocb.chandef = setup->chandef; in __cfg80211_join_ocb() 71 if (!wdev->u.ocb.chandef.chan) in __cfg80211_leave_ocb() 76 memset(&wdev->u.ocb.chandef, 0, sizeof(wdev->u.ocb.chandef)); in __cfg80211_leave_ocb()
|
H A D | mlme.c | 900 struct cfg80211_chan_def chandef; in cfg80211_dfs_channels_update_work() local 949 cfg80211_chandef_create(&chandef, c, in cfg80211_dfs_channels_update_work() 952 nl80211_radar_notify(rdev, &chandef, in cfg80211_dfs_channels_update_work() 956 regulatory_propagate_dfs_state(wiphy, &chandef, in cfg80211_dfs_channels_update_work() 979 struct cfg80211_chan_def *chandef, in __cfg80211_radar_event() argument 984 trace_cfg80211_radar_event(wiphy, chandef, offchan); in __cfg80211_radar_event() 990 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_UNAVAILABLE); in __cfg80211_radar_event() 997 nl80211_radar_notify(rdev, chandef, NL80211_RADAR_DETECTED, NULL, gfp); in __cfg80211_radar_event() 999 memcpy(&rdev->radar_chandef, chandef, sizeof(struct cfg80211_chan_def)); in __cfg80211_radar_event() 1005 const struct cfg80211_chan_def *chandef, in cfg80211_cac_event() argument [all …]
|
H A D | ibss.c | 112 band = params->chandef.chan->band; in __cfg80211_join_ibss() 133 wdev->u.ibss.chandef = params->chandef; in __cfg80211_join_ibss() 140 wdev->wext.ibss.chandef = params->chandef; in __cfg80211_join_ibss() 182 memset(&wdev->u.ibss.chandef, 0, sizeof(wdev->u.ibss.chandef)); in __cfg80211_clear_ibss() 248 if (!wdev->wext.ibss.chandef.chan) { in cfg80211_ibss_wext_join() 276 cfg80211_chandef_create(&wdev->wext.ibss.chandef, new_chan, in cfg80211_ibss_wext_join() 336 if (wdev->wext.ibss.chandef.chan == chan) in cfg80211_ibss_wext_siwfreq() 349 cfg80211_chandef_create(&wdev->wext.ibss.chandef, chan, in cfg80211_ibss_wext_siwfreq() 378 else if (wdev->wext.ibss.chandef.chan) in cfg80211_ibss_wext_giwfreq() 379 chan = wdev->wext.ibss.chandef.chan; in cfg80211_ibss_wext_giwfreq()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | phy-ctxt.c | 12 u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef) in iwl_mvm_get_channel_width() argument 14 switch (chandef->width) { in iwl_mvm_get_channel_width() 27 WARN(1, "Invalid channel width=%u", chandef->width); in iwl_mvm_get_channel_width() 36 u8 iwl_mvm_get_ctrl_pos(struct cfg80211_chan_def *chandef) in iwl_mvm_get_ctrl_pos() argument 38 int offs = chandef->chan->center_freq - chandef->center_freq1; in iwl_mvm_get_ctrl_pos() 119 struct cfg80211_chan_def *chandef, in iwl_mvm_phy_ctxt_cmd_data_v1() argument 126 iwl_mvm_set_chan_info_chandef(mvm, &cmd->ci, chandef); in iwl_mvm_phy_ctxt_cmd_data_v1() 140 struct cfg80211_chan_def *chandef, in iwl_mvm_phy_ctxt_cmd_data() argument 144 chandef->chan->band)); in iwl_mvm_phy_ctxt_cmd_data() 147 iwl_mvm_set_chan_info_chandef(mvm, &cmd->ci, chandef); in iwl_mvm_phy_ctxt_cmd_data() [all …]
|
H A D | ftm-responder.c | 23 static int iwl_mvm_ftm_responder_set_bw_v1(struct cfg80211_chan_def *chandef, in iwl_mvm_ftm_responder_set_bw_v1() argument 26 switch (chandef->width) { in iwl_mvm_ftm_responder_set_bw_v1() 35 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v1() 39 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v1() 48 static int iwl_mvm_ftm_responder_set_bw_v2(struct cfg80211_chan_def *chandef, in iwl_mvm_ftm_responder_set_bw_v2() argument 52 switch (chandef->width) { in iwl_mvm_ftm_responder_set_bw_v2() 64 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v2() 69 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v2() 75 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v2() 107 struct cfg80211_chan_def *chandef, in iwl_mvm_ftm_responder_cmd() argument [all …]
|
H A D | tdls.c | 332 struct cfg80211_chan_def *chandef, in iwl_mvm_tdls_config_channel_switch() argument 374 if (!chandef) { in iwl_mvm_tdls_config_channel_switch() 376 mvm->tdls_cs.peer.chandef.chan) { in iwl_mvm_tdls_config_channel_switch() 378 chandef = &mvm->tdls_cs.peer.chandef; in iwl_mvm_tdls_config_channel_switch() 390 chandef = &chanctx->def; in iwl_mvm_tdls_config_channel_switch() 394 if (chandef) in iwl_mvm_tdls_config_channel_switch() 395 iwl_mvm_set_chan_info_chandef(mvm, &cmd.ci, chandef); in iwl_mvm_tdls_config_channel_switch() 485 &mvm->tdls_cs.peer.chandef, in iwl_mvm_tdls_ch_switch_work() 503 struct cfg80211_chan_def *chandef, in iwl_mvm_tdls_channel_switch() argument 514 sta->addr, chandef->chan->center_freq, chandef->width); in iwl_mvm_tdls_channel_switch() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | ibss.c | 41 struct cfg80211_chan_def *chandef, in ieee80211_ibss_build_presp() argument 93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp() 94 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_ibss_build_presp() 95 shift = ieee80211_chandef_get_shift(chandef); in ieee80211_ibss_build_presp() 133 chandef->chan->center_freq); in ieee80211_ibss_build_presp() 147 csa_settings->chandef.chan->center_freq); in ieee80211_ibss_build_presp() 176 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT && in ieee80211_ibss_build_presp() 177 chandef->width != NL80211_CHAN_WIDTH_5 && in ieee80211_ibss_build_presp() 178 chandef->width != NL80211_CHAN_WIDTH_10 && in ieee80211_ibss_build_presp() 192 chandef, 0, false); in ieee80211_ibss_build_presp() [all …]
|
H A D | chan.c | 123 compat = &link_conf->chandef; in ieee80211_chanctx_non_reserved_chandef() 126 &link_conf->chandef, compat); in ieee80211_chanctx_non_reserved_chandef() 171 const struct cfg80211_chan_def *chandef, in ieee80211_find_reservation_chanctx() argument 189 chandef)) in ieee80211_find_reservation_chanctx() 292 width = max(link->conf->chandef.width, in ieee80211_get_chanctx_vif_max_required_bw() 301 width = link->conf->chandef.width; in ieee80211_get_chanctx_vif_max_required_bw() 477 const struct cfg80211_chan_def *chandef, in _ieee80211_change_chanctx() argument 483 switch (chandef->width) { in _ieee80211_change_chanctx() 502 if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) { in _ieee80211_change_chanctx() 507 WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); in _ieee80211_change_chanctx() [all …]
|
H A D | mesh.c | 98 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, in mesh_matches_local() 111 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local() 434 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie() 435 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie() 436 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie() 475 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie() 476 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie() 477 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie() 484 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, in mesh_add_ht_oper_ie() 506 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie() [all …]
|
H A D | spectmgmt.c | 108 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie() 112 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie() 116 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie() 120 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie() 123 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_parse_ch_switch_ie() 126 csa_ie->chandef.width = in ieee80211_parse_ch_switch_ie() 127 sdata->vif.bss_conf.chandef.width; in ieee80211_parse_ch_switch_ie() 154 new_vht_chandef = csa_ie->chandef; in ieee80211_parse_ch_switch_ie() 174 &csa_ie->chandef)) { in ieee80211_parse_ch_switch_ie() 180 csa_ie->chandef = new_vht_chandef; in ieee80211_parse_ch_switch_ie()
|
H A D | util.c | 1946 struct cfg80211_chan_def *chandef, in ieee80211_build_preq_ies_band() argument 1969 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_build_preq_ies_band() 1970 shift = ieee80211_chandef_get_shift(chandef); in ieee80211_build_preq_ies_band() 2029 if (chandef->chan && sband->band == NL80211_BAND_2GHZ) { in ieee80211_build_preq_ies_band() 2035 chandef->chan->center_freq); in ieee80211_build_preq_ies_band() 2186 struct cfg80211_chan_def *chandef, in ieee80211_build_preq_ies() argument 2201 chandef, in ieee80211_build_preq_ies() 2234 struct cfg80211_chan_def chandef; in ieee80211_build_probe_req() local 2246 chandef.width = sdata->vif.bss_conf.chandef.width; in ieee80211_build_probe_req() 2248 chandef.chan = NULL; in ieee80211_build_probe_req() [all …]
|
H A D | tdls.c | 78 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() 162 if (!ieee80211_chandef_to_operating_class(&link->conf->chandef, in ieee80211_tdls_add_oper_classes() 441 sta->tdls_chandef = link->conf->chandef; in ieee80211_tdls_add_setup_start_ies() 641 sta->tdls_chandef = link->conf->chandef; in ieee80211_tdls_add_setup_cfm_ies() 687 &link->conf->chandef, prot, in ieee80211_tdls_add_setup_cfm_ies() 720 struct cfg80211_chan_def *chandef) in ieee80211_tdls_add_chan_switch_req_ies() argument 725 if (WARN_ON_ONCE(!chandef)) in ieee80211_tdls_add_chan_switch_req_ies() 730 ieee80211_frequency_to_channel(chandef->chan->center_freq); in ieee80211_tdls_add_chan_switch_req_ies() [all …]
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | event.c | 142 struct cfg80211_chan_def chandef; in qtnf_event_handle_bss_join() local 172 qlink_chandef_q2cfg(wiphy, &join_info->chan, &chandef); in qtnf_event_handle_bss_join() 173 if (!cfg80211_chandef_valid(&chandef)) { in qtnf_event_handle_bss_join() 176 chandef.chan ? chandef.chan->center_freq : 0, in qtnf_event_handle_bss_join() 177 chandef.center_freq1, in qtnf_event_handle_bss_join() 178 chandef.center_freq2, in qtnf_event_handle_bss_join() 179 chandef.width); in qtnf_event_handle_bss_join() 184 bss = cfg80211_get_bss(wiphy, chandef.chan, join_info->bssid, in qtnf_event_handle_bss_join() 190 join_info->bssid, chandef.chan->hw_value); in qtnf_event_handle_bss_join() 214 bss = cfg80211_inform_bss(wiphy, chandef.chan, in qtnf_event_handle_bss_join() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 129 const struct cfg80211_chan_def *chandef, in __rtw89_config_entity_chandef() argument 134 hal->sub[idx].chandef = *chandef; in __rtw89_config_entity_chandef() 142 const struct cfg80211_chan_def *chandef) in rtw89_config_entity_chandef() argument 144 __rtw89_config_entity_chandef(rtwdev, idx, chandef, true); in rtw89_config_entity_chandef() 149 const struct cfg80211_chan_def *chandef) in rtw89_config_roc_chandef() argument 154 if (chandef) { in rtw89_config_roc_chandef() 163 hal->roc_chandef = *chandef; in rtw89_config_roc_chandef() 181 struct cfg80211_chan_def chandef = {0}; in rtw89_config_default_chandef() local 183 rtw89_get_default_chandef(&chandef); in rtw89_config_default_chandef() 184 __rtw89_config_entity_chandef(rtwdev, RTW89_SUB_ENTITY_0, &chandef, false); in rtw89_config_default_chandef() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | main.c | 12 mt76x0_set_channel(struct mt76x02_dev *dev, struct cfg80211_chan_def *chandef) in mt76x0_set_channel() argument 20 mt76x0_phy_set_channel(dev, 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() 68 mt76x0_set_channel(dev, &hw->conf.chandef); in mt76x0_config() 77 mphy->chandef.chan, in mt76x0_config()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_phy.c | 13 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2u_phy_channel_calibrate() 61 struct cfg80211_chan_def *chandef) in mt76x2u_phy_set_channel() argument 86 struct ieee80211_channel *chan = chandef->chan; in mt76x2u_phy_set_channel() 91 freq = chandef->chan->center_freq; in mt76x2u_phy_set_channel() 92 freq1 = chandef->center_freq1; in mt76x2u_phy_set_channel() 94 switch (chandef->width) { in mt76x2u_phy_set_channel() 127 mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); in mt76x2u_phy_set_channel() 188 chan = dev->mphy.chandef.chan; in mt76x2u_phy_set_channel()
|
H A D | phy.c | 139 enum nl80211_chan_width width = dev->mphy.chandef.width; in mt76x2_phy_set_txpower() 140 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2_phy_set_txpower() 205 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2_phy_tssi_compensate() 255 dev->mphy.chandef.width >= NL80211_CHAN_WIDTH_40) in mt76x2_phy_set_gain_val() 259 dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ && in mt76x2_phy_set_gain_val() 260 dev->mphy.chandef.width < NL80211_CHAN_WIDTH_40) in mt76x2_phy_set_gain_val() 270 if (dev->mphy.chandef.chan->flags & IEEE80211_CHAN_RADAR) in mt76x2_phy_set_gain_val() 300 if (dev->mphy.chandef.width == NL80211_CHAN_WIDTH_80) { in mt76x2_phy_update_channel_gain() 318 if (dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ) in mt76x2_phy_update_channel_gain() 322 else if (dev->mphy.chandef.width == NL80211_CHAN_WIDTH_80) in mt76x2_phy_update_channel_gain()
|
H A D | pci_phy.c | 15 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2_phy_tssi_init_cal() 38 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2_phy_channel_calibrate() 118 struct cfg80211_chan_def *chandef) in mt76x2_phy_set_channel() argument 120 struct ieee80211_channel *chan = chandef->chan; in mt76x2_phy_set_channel() 153 freq = chandef->chan->center_freq; in mt76x2_phy_set_channel() 154 freq1 = chandef->center_freq1; in mt76x2_phy_set_channel() 157 switch (chandef->width) { in mt76x2_phy_set_channel() 190 mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); in mt76x2_phy_set_channel()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11h.c | 113 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()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 29 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, sizeof(*chandef)); in ath_chanctx_set_channel() 511 sc->cur_chan->chandef.center_freq1, in ath_chanctx_event() 802 struct cfg80211_chan_def *chandef) in ath_chanctx_switch() argument [all …]
|
H A D | common.c | 301 struct cfg80211_chan_def *chandef) in ath9k_cmn_update_ichannel() argument 303 struct ieee80211_channel *chan = chandef->chan; in ath9k_cmn_update_ichannel() 312 switch (chandef->width) { in ath9k_cmn_update_ichannel() 325 if (chandef->center_freq1 > chandef->chan->center_freq) in ath9k_cmn_update_ichannel() 342 struct cfg80211_chan_def *chandef) in ath9k_cmn_get_channel() argument 344 struct ieee80211_channel *curchan = chandef->chan; in ath9k_cmn_get_channel() 348 ath9k_cmn_update_ichannel(channel, chandef); in ath9k_cmn_get_channel()
|
/openbmc/linux/include/net/ |
H A D | cfg80211.h | 853 cfg80211_get_chandef_type(const struct cfg80211_chan_def *chandef) in cfg80211_get_chandef_type() argument 855 switch (chandef->width) { in cfg80211_get_chandef_type() 861 if (chandef->center_freq1 > chandef->chan->center_freq) in cfg80211_get_chandef_type() 878 void cfg80211_chandef_create(struct cfg80211_chan_def *chandef, 909 cfg80211_chandef_is_edmg(const struct cfg80211_chan_def *chandef) in cfg80211_chandef_is_edmg() argument 911 return chandef->edmg.channels || chandef->edmg.bw_config; in cfg80211_chandef_is_edmg() 931 bool cfg80211_chandef_valid(const struct cfg80211_chan_def *chandef); 941 const struct cfg80211_chan_def *chandef, 953 const struct cfg80211_chan_def *chandef, 963 int nl80211_send_chandef(struct sk_buff *msg, const struct cfg80211_chan_def *chandef); [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mcu.c | 353 .center_channel = dev->mphy.chandef.chan->hw_value, in mt7603_mcu_set_tx_power() 386 struct cfg80211_chan_def *chandef = &dev->mphy.chandef; in mt7603_mcu_set_channel() local 399 .control_chan = chandef->chan->hw_value, in mt7603_mcu_set_channel() 400 .center_chan = chandef->chan->hw_value, in mt7603_mcu_set_channel() 408 if (dev->mphy.chandef.width == NL80211_CHAN_WIDTH_40) { in mt7603_mcu_set_channel() 410 if (chandef->center_freq1 > chandef->chan->center_freq) in mt7603_mcu_set_channel() 416 tx_power = mt76_get_sar_power(&dev->mphy, chandef->chan, tx_power); in mt7603_mcu_set_channel()
|