Searched refs:qch (Results 1 – 2 of 2) sorted by relevance
116 const struct qlink_chandef *qch, in qlink_chandef_q2cfg() argument121 chan = ieee80211_get_channel(wiphy, le16_to_cpu(qch->chan.center_freq)); 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()132 struct qlink_chandef *qch) in qlink_chandef_cfg2q() argument136 qch->chan.hw_value = cpu_to_le16(chan->hw_value); in qlink_chandef_cfg2q()137 qch->chan.center_freq = cpu_to_le16(chan->center_freq); in qlink_chandef_cfg2q()138 qch->chan.flags = cpu_to_le32(chan->flags); in qlink_chandef_cfg2q()140 qch->center_freq1 = cpu_to_le16(chdef->center_freq1); in qlink_chandef_cfg2q()[all …]
45 const struct qlink_chandef *qch,48 struct qlink_chandef *qch);