Searched defs:chandef (Results 1 - 21 of 21) sorted by relevance

/drivers/net/wireless/iwlwifi/mvm/
H A Dphy-ctxt.c71 static inline u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef) argument
73 switch (chandef->width) {
84 WARN(1, "Invalid channel width=%u", chandef->width);
93 static inline u8 iwl_mvm_get_ctrl_pos(struct cfg80211_chan_def *chandef) argument
95 switch (chandef->chan->center_freq - chandef->center_freq1) {
144 struct cfg80211_chan_def *chandef,
150 cmd->ci.band = (chandef->chan->band == IEEE80211_BAND_2GHZ ?
153 cmd->ci.channel = chandef->chan->hw_value;
154 cmd->ci.width = iwl_mvm_get_channel_width(chandef);
142 iwl_mvm_phy_ctxt_cmd_data(struct iwl_mvm *mvm, struct iwl_phy_context_cmd *cmd, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) argument
188 iwl_mvm_phy_ctxt_apply(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic, u32 action, u32 apply_time) argument
215 iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) argument
245 iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, struct cfg80211_chan_def *chandef, u8 chains_static, u8 chains_dynamic) argument
[all...]
H A Dfw.c397 struct cfg80211_chan_def chandef; local
475 cfg80211_chandef_create(&chandef, chan, NL80211_CHAN_NO_HT);
483 &chandef, 1, 1);
H A Dd3.c637 struct cfg80211_chan_def chandef; local
653 chandef = ctx->def;
658 ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->phy_ctxt, &chandef,
H A Dmac80211.c2440 struct cfg80211_chan_def chandef; local
2502 cfg80211_chandef_create(&chandef, channel, NL80211_CHAN_NO_HT);
2510 &chandef, 1, 1);
2525 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chandef,
2985 struct cfg80211_chan_def *chandef)
2999 chandef->center_freq1);
2983 iwl_mvm_channel_switch_beacon(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct cfg80211_chan_def *chandef) argument
H A Drs.c2721 struct cfg80211_chan_def *chandef,
3308 struct cfg80211_chan_def *chandef,
2719 rs_rate_update(void *mvm_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta, u32 changed) argument
3306 rs_rate_init_stub(void *mvm_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *mvm_sta) argument
/drivers/net/wireless/orinoco/
H A Dcfg.c165 struct cfg80211_chan_def *chandef)
172 if (!chandef->chan)
175 if (cfg80211_get_chandef_type(chandef) != NL80211_CHAN_NO_HT)
178 if (chandef->chan->band != IEEE80211_BAND_2GHZ)
181 channel = ieee80211_frequency_to_channel(chandef->chan->center_freq);
164 orinoco_set_monitor_channel(struct wiphy *wiphy, struct cfg80211_chan_def *chandef) argument
/drivers/net/wireless/ath/ath9k/
H A Dcommon.c300 struct cfg80211_chan_def *chandef)
302 struct ieee80211_channel *chan = chandef->chan;
311 switch (chandef->width) {
324 if (chandef->center_freq1 > chandef->chan->center_freq)
341 struct cfg80211_chan_def *chandef)
343 struct ieee80211_channel *curchan = chandef->chan;
347 ath9k_cmn_update_ichannel(channel, chandef);
299 ath9k_cmn_update_ichannel(struct ath9k_channel *ichan, struct cfg80211_chan_def *chandef) argument
339 ath9k_cmn_get_channel(struct ieee80211_hw *hw, struct ath_hw *ah, struct cfg80211_chan_def *chandef) argument
H A Dchannel.c29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; local
30 struct ieee80211_channel *chan = chandef->chan;
42 chan->center_freq, chandef->width);
49 ath9k_cmn_get_channel(hw, ah, chandef);
117 cfg80211_chandef_create(&ctx->chandef, chan, NL80211_CHAN_HT20);
126 struct cfg80211_chan_def *chandef)
132 if (chandef)
133 memcpy(&ctx->chandef, chandef, sizeo
125 ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) argument
629 ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) argument
680 struct cfg80211_chan_def chandef; local
[all...]
H A Dinit.c638 struct cfg80211_chan_def chandef; local
645 cfg80211_chandef_create(&chandef, chan, NL80211_CHAN_HT20);
646 ath9k_cmn_get_channel(sc->hw, ah, &chandef);
H A Dath9k.h334 struct cfg80211_chan_def chandef; member in struct:ath_chanctx
431 struct cfg80211_chan_def *chandef);
/drivers/net/wireless/rtlwifi/
H A Drc.c232 struct cfg80211_chan_def *chandef,
239 struct cfg80211_chan_def *chandef,
230 rtl_rate_init(void *ppriv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta) argument
237 rtl_rate_update(void *ppriv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta, u32 changed) argument
/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c521 struct cfg80211_chan_def *chandef)
526 wdev->preset_chandef = *chandef;
703 struct ieee80211_channel *channel = info->chandef.chan;
520 wil_cfg80211_set_channel(struct wiphy *wiphy, struct cfg80211_chan_def *chandef) argument
/drivers/net/wireless/b43/
H A Dphy_common.h267 struct cfg80211_chan_def *chandef; member in struct:b43_phy
/drivers/net/wireless/iwlegacy/
H A D3945-rs.c349 sband = hw->wiphy->bands[conf->chandef.chan->band];
889 struct cfg80211_chan_def *chandef,
888 il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *il_sta) argument
H A D4965-rs.c2302 sband = hw->wiphy->bands[conf->chandef.chan->band];
2805 struct cfg80211_chan_def *chandef,
2804 il4965_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *il_sta) argument
/drivers/net/wireless/ath/ath5k/
H A Dbase.c433 ath5k_chan_set(struct ath5k_hw *ah, struct cfg80211_chan_def *chandef) argument
437 ah->curchan->center_freq, chandef->chan->center_freq);
439 switch (chandef->width) {
461 return ath5k_reset(ah, chandef->chan, true);
2729 ah->curchan = ah->hw->conf.chandef.chan;
/drivers/net/wireless/iwlwifi/dvm/
H A Drs.c2816 sband = hw->wiphy->bands[conf->chandef.chan->band];
3317 struct cfg80211_chan_def *chandef,
3316 rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta) argument
/drivers/net/wireless/libertas/
H A Dcfg.c441 struct cfg80211_chan_def *chandef)
447 chandef->chan->center_freq,
448 cfg80211_get_chandef_type(chandef));
450 if (cfg80211_get_chandef_type(chandef) != NL80211_CHAN_NO_HT)
453 ret = lbs_set_channel(priv, chandef->chan->hw_value);
1733 *fake++ = params->chandef.chan->hw_value;
1754 params->chandef.chan,
1767 cfg80211_ibss_joined(priv->dev, bssid, params->chandef.chan,
1834 cmd.bss.ds.channel = params->chandef.chan->hw_value;
1946 cmd.ds.channel = params->chandef
440 lbs_cfg_set_monitor_channel(struct wiphy *wiphy, struct cfg80211_chan_def *chandef) argument
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dcore.h483 struct cfg80211_chan_def chandef; member in struct:ath10k
H A Dmac.c233 chan_to_phymode(const struct cfg80211_chan_def *chandef) argument
237 switch (chandef->chan->band) {
239 switch (chandef->width) {
259 switch (chandef->width) {
498 struct cfg80211_chan_def *chandef = &ar->chandef; local
499 struct ieee80211_channel *channel = chandef->chan;
507 arg.channel.band_center_freq1 = chandef->center_freq1;
511 arg.channel.mode = chan_to_phymode(chandef);
791 struct cfg80211_chan_def *chandef local
[all...]
/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c1098 struct cfg80211_chan_def chandef; local
1104 cfg80211_chandef_create(&chandef,
1110 cfg80211_ch_switch_notify(vif->ndev, &chandef);
1621 if (ibss_param->chandef.chan)
1622 vif->ch_hint = ibss_param->chandef.chan->center_freq;
2883 p.ch = cpu_to_le16(info->chandef.chan->center_freq);
2914 if (ath6kl_set_htcap(vif, info->chandef.chan->band,
2915 cfg80211_get_chandef_type(&info->chandef)

Completed in 4014 milliseconds