Lines Matching refs:chandef
26 static int iwl_mvm_ftm_responder_set_bw_v1(struct cfg80211_chan_def *chandef, in iwl_mvm_ftm_responder_set_bw_v1() argument
29 switch (chandef->width) { in iwl_mvm_ftm_responder_set_bw_v1()
38 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v1()
42 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v1()
51 static int iwl_mvm_ftm_responder_set_bw_v2(struct cfg80211_chan_def *chandef, in iwl_mvm_ftm_responder_set_bw_v2() argument
55 switch (chandef->width) { in iwl_mvm_ftm_responder_set_bw_v2()
67 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v2()
72 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v2()
78 *ctrl_ch_position = iwl_mvm_get_ctrl_pos(chandef); in iwl_mvm_ftm_responder_set_bw_v2()
110 struct cfg80211_chan_def *chandef, in iwl_mvm_ftm_responder_cmd() argument
121 .channel_num = chandef->chan->hw_value, in iwl_mvm_ftm_responder_cmd()
136 iwl_mvm_phy_band_from_nl80211(chandef->chan->band); in iwl_mvm_ftm_responder_cmd()
159 err = iwl_mvm_ftm_responder_set_bw_v2(chandef, &cmd.format_bw, in iwl_mvm_ftm_responder_cmd()
163 err = iwl_mvm_ftm_responder_set_bw_v1(chandef, &cmd.format_bw, in iwl_mvm_ftm_responder_cmd()