Searched refs:qch (Results 1 – 2 of 2) sorted by relevance
128 const struct qlink_chandef *qch, in qlink_chandef_q2cfg() argument133 chan = ieee80211_get_channel(wiphy, le16_to_cpu(qch->chan.center_freq)); in qlink_chandef_q2cfg()136 chdef->center_freq1 = le16_to_cpu(qch->center_freq1); in qlink_chandef_q2cfg()137 chdef->center_freq2 = le16_to_cpu(qch->center_freq2); in qlink_chandef_q2cfg()138 chdef->width = qlink_chanwidth_to_nl(qch->width); in qlink_chandef_q2cfg()142 struct qlink_chandef *qch) in qlink_chandef_cfg2q() argument146 qch->chan.hw_value = cpu_to_le16(chan->hw_value); in qlink_chandef_cfg2q()147 qch->chan.center_freq = cpu_to_le16(chan->center_freq); in qlink_chandef_cfg2q()148 qch->chan.flags = cpu_to_le32(chan->flags); in qlink_chandef_cfg2q()150 qch->center_freq1 = cpu_to_le16(chdef->center_freq1); in qlink_chandef_cfg2q()[all …]
67 const struct qlink_chandef *qch,70 struct qlink_chandef *qch);