Searched refs:qch (Results 1 – 3 of 3) 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);
1952 struct qlink_channel *qch; in qtnf_cmd_channel_tlv_add() local1955 qch = &tlv->chan; in qtnf_cmd_channel_tlv_add()1957 tlv->hdr.len = cpu_to_le16(sizeof(*qch)); in qtnf_cmd_channel_tlv_add()1959 qch->center_freq = cpu_to_le16(sc->center_freq); in qtnf_cmd_channel_tlv_add()1960 qch->hw_value = cpu_to_le16(sc->hw_value); in qtnf_cmd_channel_tlv_add()1961 qch->band = qlink_utils_band_cfg2q(sc->band); in qtnf_cmd_channel_tlv_add()1962 qch->max_power = sc->max_power; in qtnf_cmd_channel_tlv_add()1963 qch->max_reg_power = sc->max_reg_power; in qtnf_cmd_channel_tlv_add()1964 qch->max_antenna_gain = sc->max_antenna_gain; in qtnf_cmd_channel_tlv_add()1965 qch->beacon_found = sc->beacon_found; in qtnf_cmd_channel_tlv_add()[all …]