Lines Matching refs:chdef
117 struct cfg80211_chan_def *chdef) in qlink_chandef_q2cfg() argument
123 chdef->chan = chan; in qlink_chandef_q2cfg()
124 chdef->center_freq1 = le16_to_cpu(qch->center_freq1); in qlink_chandef_q2cfg()
125 chdef->center_freq2 = le16_to_cpu(qch->center_freq2); in qlink_chandef_q2cfg()
126 chdef->width = qlink_chanwidth_to_nl(qch->width); in qlink_chandef_q2cfg()
127 chdef->edmg.bw_config = 0; in qlink_chandef_q2cfg()
128 chdef->edmg.channels = 0; in qlink_chandef_q2cfg()
131 void qlink_chandef_cfg2q(const struct cfg80211_chan_def *chdef, in qlink_chandef_cfg2q() argument
134 struct ieee80211_channel *chan = chdef->chan; in qlink_chandef_cfg2q()
140 qch->center_freq1 = cpu_to_le16(chdef->center_freq1); in qlink_chandef_cfg2q()
141 qch->center_freq2 = cpu_to_le16(chdef->center_freq2); in qlink_chandef_cfg2q()
142 qch->width = qlink_chanwidth_nl_to_qlink(chdef->width); in qlink_chandef_cfg2q()