/linux-master/drivers/staging/vt6656/ |
H A D | usbpipe.c | 310 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; 344 rx_status->band = hw->conf.chandef.chan->band; 347 rx_status->freq = hw->conf.chandef.chan->center_freq;
|
/linux-master/net/wireless/ |
H A D | wext-compat.c | 803 struct cfg80211_chan_def chandef = { local 827 chandef.center_freq1 = freq; 828 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); 829 if (!chandef.chan) { 833 ret = cfg80211_set_monitor_channel(rdev, &chandef); 845 chandef.center_freq1 = freq; 846 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); 847 if (!chandef.chan) { 851 ret = cfg80211_set_mesh_channel(rdev, wdev, &chandef); 870 struct cfg80211_chan_def chandef local [all...] |
H A D | reg.c | 2366 struct cfg80211_chan_def chandef = {}; local 2390 chandef = wdev->links[link].ap.chandef; 2395 chandef = wdev->u.mesh.chandef; 2400 chandef = wdev->u.ibss.chandef; 2413 rdev_get_channel(rdev, wdev, link, &chandef)) 2414 cfg80211_chandef_create(&chandef, chan, 2423 if (!wdev->u.ocb.chandef 4240 struct cfg80211_chan_def *chandef; local 4255 regulatory_propagate_dfs_state(struct wiphy *wiphy, struct cfg80211_chan_def *chandef, enum nl80211_dfs_state dfs_state, enum nl80211_radar_event event) argument [all...] |
H A D | pmsr.c | 20 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { 35 switch (out->chandef.chan->band) { 216 err = nl80211_parse_chandef(rdev, info, &out->chandef);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac.h | 278 static inline u8 mt76_connac_chan_bw(struct cfg80211_chan_def *chandef) argument 292 if (chandef->width >= ARRAY_SIZE(width_to_bw)) 295 return width_to_bw[chandef->width];
|
H A D | testmode.c | 203 if (phy->chandef.chan->band != NL80211_BAND_2GHZ) 210 if (phy->chandef.chan->band != NL80211_BAND_2GHZ) 221 phy->chandef.width >= NL80211_CHAN_WIDTH_40)) 250 switch (phy->chandef.width) {
|
H A D | mt76x02_mac.c | 204 int band = dev->mphy.chandef.chan->band; 497 dev->mphy.chandef.chan->band); 503 dev->mphy.chandef.chan->band); 507 dev->mphy.chandef.chan->band); 868 status->freq = dev->mphy.chandef.chan->center_freq; 869 status->band = dev->mphy.chandef.chan->band; 1108 struct ieee80211_channel *chan = dev->mphy.chandef.chan;
|
H A D | mt76x02_dfs.c | 310 if (dev->mphy.chandef.chan->center_freq >= 5250 && 311 dev->mphy.chandef.chan->center_freq <= 5350) { 706 switch (dev->mphy.chandef.width) { 726 if (dev->mphy.chandef.chan->center_freq >= 5250 && 727 dev->mphy.chandef.chan->center_freq <= 5350)
|
H A D | mt76_connac_mcu.c | 856 struct cfg80211_chan_def *chandef = mvif->ctx ? local 857 &mvif->ctx->def : &mphy->chandef; 858 enum nl80211_band band = chandef->chan->band; 1398 struct cfg80211_chan_def *chandef = mvif->ctx ? local 1399 &mvif->ctx->def : &phy->chandef; 1400 enum nl80211_band band = chandef->chan->band; 1412 enum nl80211_band band = phy->chandef.chan->band; 1449 struct cfg80211_chan_def *chandef = ctx ? &ctx->def : &phy->chandef; local 1450 int freq1 = chandef 1535 struct cfg80211_chan_def *chandef = ctx ? &ctx->def : &phy->chandef; local 2784 struct cfg80211_chan_def *chandef = &phy->chandef; local [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | decl.h | 254 struct cfg80211_chan_def *chandef; member in struct:mwifiex_radar_params
|
H A D | cfg80211.c | 2082 mwifiex_uap_set_channel(priv, bss_cfg, params->chandef); 2095 mwifiex_set_vht_width(priv, params->chandef.width, 2110 !cfg80211_chandef_dfs_required(wiphy, ¶ms->chandef, 2492 if (params->chandef.chan->band == NL80211_BAND_2GHZ) { 2517 if (cfg80211_get_chandef_type(¶ms->chandef) != 2521 if (cfg80211_get_chandef_type(¶ms->chandef) == 2540 cfg80211_get_chandef_type(¶ms->chandef)); 2542 params->chandef.chan->center_freq); 2579 params->chandef.chan, NULL, 2584 params->chandef 3881 mwifiex_cfg80211_tdls_chan_switch(struct wiphy *wiphy, struct net_device *dev, const u8 *addr, u8 oper_class, struct cfg80211_chan_def *chandef) argument 4022 mwifiex_cfg80211_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, unsigned int link_id, struct cfg80211_chan_def *chandef) argument 4143 mwifiex_cfg80211_start_radar_detection(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_chan_def *chandef, u32 cac_time_ms) argument [all...] |
/linux-master/drivers/net/wireless/marvell/libertas_tf/ |
H A D | main.c | 346 if (conf->chandef.chan->center_freq != priv->cur_freq) { 347 priv->cur_freq = conf->chandef.chan->center_freq; 348 lbtf_set_channel(priv, conf->chandef.chan->hw_value); 468 survey->channel = conf->chandef.chan;
|
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | cfg.c | 489 struct cfg80211_chan_def *chandef) 494 if (cfg80211_get_chandef_type(chandef) != NL80211_CHAN_NO_HT) 497 ret = lbs_set_channel(priv, chandef->chan->hw_value); 1723 *fake++ = params->chandef.chan->hw_value; 1744 params->chandef.chan, 1754 cfg80211_ibss_joined(priv->dev, bssid, params->chandef.chan, 1820 cmd.bss.ds.channel = params->chandef.chan->hw_value; 1934 cmd.ds.channel = params->chandef.chan->hw_value; 1975 if (!params->chandef.chan) { 1980 ret = lbs_set_channel(priv, params->chandef 488 lbs_cfg_set_monitor_channel(struct wiphy *wiphy, struct cfg80211_chan_def *chandef) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | mt7601u.h | 162 struct cfg80211_chan_def chandef; member in struct:mt7601u_dev 350 struct cfg80211_chan_def *chandef);
|
H A D | mac.c | 122 int band = dev->chandef.chan->band; 489 status->freq = dev->chandef.chan->center_freq; 490 status->band = dev->chandef.chan->band;
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | debugfs.c | 244 struct cfg80211_chan_def *chandef = &dev->rdd2_chandef; local 250 if (!cfg80211_chandef_valid(chandef)) { 260 switch (chandef->width) { 279 chandef->chan->hw_value, chandef->chan->center_freq, 280 bw, chandef->center_freq1);
|
H A D | main.c | 241 if (phy->mt76->chandef.chan->band != NL80211_BAND_2GHZ) 670 struct cfg80211_chan_def *chandef) 1384 struct cfg80211_chan_def *chandef) 1407 if (!chandef || running || 1408 !(chandef->chan->flags & IEEE80211_CHAN_RADAR)) { 1417 ret = mt7996_mcu_rdd_background_enable(phy, chandef); 1422 dev->rdd2_phy = chandef ? phy : NULL; 1423 if (chandef) 1424 dev->rdd2_chandef = *chandef; 668 mt7996_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument 1383 mt7996_set_radar_background(struct ieee80211_hw *hw, struct cfg80211_chan_def *chandef) argument
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 146 const struct cfg80211_chan_def *chandef, 151 hal->sub[idx].chandef = *chandef; 159 const struct cfg80211_chan_def *chandef) 161 __rtw89_config_entity_chandef(rtwdev, idx, chandef, true); 166 const struct cfg80211_chan_def *chandef) 171 if (chandef) { 180 hal->roc_chandef = *chandef; 198 struct cfg80211_chan_def chandef = {0}; local 200 rtw89_get_default_chandef(&chandef); 144 __rtw89_config_entity_chandef(struct rtw89_dev *rtwdev, enum rtw89_sub_entity_idx idx, const struct cfg80211_chan_def *chandef, bool from_stack) argument 157 rtw89_config_entity_chandef(struct rtw89_dev *rtwdev, enum rtw89_sub_entity_idx idx, const struct cfg80211_chan_def *chandef) argument 164 rtw89_config_roc_chandef(struct rtw89_dev *rtwdev, enum rtw89_sub_entity_idx idx, const struct cfg80211_chan_def *chandef) argument 245 const struct cfg80211_chan_def *chandef; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | debugfs.c | 441 struct cfg80211_chan_def *chandef = &dev->rdd2_chandef; local 447 if (!cfg80211_chandef_valid(chandef)) { 457 switch (chandef->width) { 476 chandef->chan->hw_value, chandef->chan->center_freq, 477 bw, chandef->center_freq1); 997 phy != &dev->phy, phy->mt76->chandef.chan->hw_value);
|
H A D | main.c | 439 if (!cfg80211_chandef_valid(&phy->mt76->chandef)) 730 struct cfg80211_chan_def *chandef) 1583 struct cfg80211_chan_def *chandef) 1606 if (!chandef || running || 1607 !(chandef->chan->flags & IEEE80211_CHAN_RADAR)) { 1616 ret = mt7915_mcu_rdd_background_enable(phy, chandef); 1621 dev->rdd2_phy = chandef ? phy : NULL; 1622 if (chandef) 1623 dev->rdd2_chandef = *chandef; 728 mt7915_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument 1582 mt7915_set_radar_background(struct ieee80211_hw *hw, struct cfg80211_chan_def *chandef) argument
|
/linux-master/net/mac80211/ |
H A D | cfg.c | 885 struct cfg80211_chan_def *chandef) 889 struct ieee80211_chan_req chanreq = { .oper = *chandef }; 1286 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; 1434 sdata->vif.cfg.s1g = params->chandef.chan->band == 1591 struct cfg80211_chan_def chandef; local 1668 chandef = link_conf->chanreq.oper; 1670 cfg80211_cac_event(sdata->dev, &chandef, 2643 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; 3445 struct cfg80211_chan_def *chandef, 3449 struct ieee80211_chan_req chanreq = { .oper = *chandef }; 884 ieee80211_set_monitor_channel(struct wiphy *wiphy, struct cfg80211_chan_def *chandef) argument 3443 ieee80211_start_radar_detection(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_chan_def *chandef, u32 cac_time_ms) argument 4268 ieee80211_cfg_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, unsigned int link_id, struct cfg80211_chan_def *chandef) argument 4334 ieee80211_set_ap_chanwidth(struct wiphy *wiphy, struct net_device *dev, unsigned int link_id, struct cfg80211_chan_def *chandef) argument 4945 ieee80211_set_radar_background(struct wiphy *wiphy, struct cfg80211_chan_def *chandef) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mvm.h | 1250 struct cfg80211_chan_def chandef; member in struct:iwl_mvm::__anon1159::__anon1160 1935 const struct cfg80211_chan_def *chandef, 1939 const struct cfg80211_chan_def *chandef, 1947 u8 iwl_mvm_get_channel_width(const struct cfg80211_chan_def *chandef); 1948 u8 iwl_mvm_get_ctrl_pos(const struct cfg80211_chan_def *chandef); 2059 const struct cfg80211_chan_def *chandef; member in struct:iwl_mvm_link_sel_data 2481 struct cfg80211_chan_def *chandef, 2693 const struct cfg80211_chan_def *chandef) 2695 enum nl80211_band band = chandef->chan->band; 2697 iwl_mvm_set_chan_info(mvm, ci, chandef 2691 iwl_mvm_set_chan_info_chandef(struct iwl_mvm *mvm, struct iwl_fw_channel_info *ci, const struct cfg80211_chan_def *chandef) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 148 bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ; 208 status->freq = mphy->chandef.chan->center_freq; 209 status->band = mphy->chandef.chan->band; 690 int band = mphy->chandef.chan->band; 1424 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) 2159 struct cfg80211_chan_def *chandef = &phy->mt76->chandef; local 2176 if (chandef->width == NL80211_CHAN_WIDTH_160 || 2177 chandef->width == NL80211_CHAN_WIDTH_80P80) { 2227 struct cfg80211_chan_def *chandef local [all...] |
H A D | init.c | 335 struct cfg80211_chan_def *chandef = &mphy->chandef; local 345 if (chandef->chan->flags & IEEE80211_CHAN_RADAR)
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_main.c | 188 struct ieee80211_channel *channel = priv->hw->conf.chandef.chan; 248 struct ieee80211_channel *channel = hw->conf.chandef.chan; 602 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; 912 struct ieee80211_channel *curchan = hw->conf.chandef.chan; 930 init_channel = ath9k_cmn_get_channel(hw, ah, &hw->conf.chandef); 1209 struct ieee80211_channel *curchan = hw->conf.chandef.chan; 1215 ath9k_cmn_get_channel(hw, priv->ah, &hw->conf.chandef); 1859 struct cfg80211_chan_def *chandef) 1857 ath9k_htc_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument
|