Lines Matching refs:chandef

12 u8 iwl_mvm_get_channel_width(const struct cfg80211_chan_def *chandef)
14 switch (chandef->width) {
27 WARN(1, "Invalid channel width=%u", chandef->width);
36 u8 iwl_mvm_get_ctrl_pos(const struct cfg80211_chan_def *chandef)
38 int offs = chandef->chan->center_freq - chandef->center_freq1;
119 const struct cfg80211_chan_def *chandef,
126 iwl_mvm_set_chan_info_chandef(mvm, &cmd->ci, chandef);
140 const struct cfg80211_chan_def *chandef,
144 chandef->chan->band));
147 iwl_mvm_set_chan_info_chandef(mvm, &cmd->ci, chandef);
200 const struct cfg80211_chan_def *chandef,
218 iwl_mvm_phy_ctxt_cmd_data(mvm, ctxt, &cmd, chandef,
228 cmd.puncture_mask = cpu_to_le16(chandef->punctured);
242 iwl_mvm_phy_ctxt_cmd_data_v1(mvm, ctxt, &cmd, chandef,
269 const struct cfg80211_chan_def *chandef,
279 ctxt->channel = chandef->chan;
280 ctxt->width = chandef->width;
281 ctxt->center_freq1 = chandef->center_freq1;
283 ret = iwl_mvm_phy_ctxt_apply(mvm, ctxt, chandef, ap,
316 const struct cfg80211_chan_def *chandef,
329 ctxt->channel == chandef->chan &&
330 ctxt->width == chandef->width &&
331 ctxt->center_freq1 == chandef->center_freq1)
337 ctxt->channel->band != chandef->chan->band) {
341 ret = iwl_mvm_phy_ctxt_apply(mvm, ctxt, chandef, NULL,
351 ctxt->channel = chandef->chan;
352 ctxt->width = chandef->width;
353 ctxt->center_freq1 = chandef->center_freq1;
355 return iwl_mvm_phy_ctxt_apply(mvm, ctxt, chandef, ap,
362 struct cfg80211_chan_def chandef;
373 cfg80211_chandef_create(&chandef, ctxt->channel, NL80211_CHAN_NO_HT);
375 iwl_mvm_phy_ctxt_apply(mvm, ctxt, &chandef, NULL, 1, 1,