Home
last modified time | relevance | path

Searched refs:chdef (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.c129 struct cfg80211_chan_def *chdef) in qlink_chandef_q2cfg() argument
135 chdef->chan = chan; 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()
141 void qlink_chandef_cfg2q(const struct cfg80211_chan_def *chdef, in qlink_chandef_cfg2q() argument
144 struct ieee80211_channel *chan = chdef->chan; in qlink_chandef_cfg2q()
150 qch->center_freq1 = cpu_to_le16(chdef->center_freq1); in qlink_chandef_cfg2q()
151 qch->center_freq2 = cpu_to_le16(chdef->center_freq2); in qlink_chandef_cfg2q()
152 qch->width = qlink_chanwidth_nl_to_qlink(chdef->width); in qlink_chandef_cfg2q()
Dqlink_util.h68 struct cfg80211_chan_def *chdef);
69 void qlink_chandef_cfg2q(const struct cfg80211_chan_def *chdef,
Dcommands.h73 int qtnf_cmd_get_channel(struct qtnf_vif *vif, struct cfg80211_chan_def *chdef);
75 const struct cfg80211_chan_def *chdef,
Dcommands.c285 qlink_chandef_cfg2q(&s->chandef, &chtlv->chdef); in qtnf_cmd_send_start_ap()
2739 int qtnf_cmd_get_channel(struct qtnf_vif *vif, struct cfg80211_chan_def *chdef) in qtnf_cmd_get_channel() argument
2770 qlink_chandef_q2cfg(priv_to_wiphy(vif->mac), &resp->chan, chdef); in qtnf_cmd_get_channel()
2778 const struct cfg80211_chan_def *chdef, in qtnf_cmd_start_cac() argument
2795 qlink_chandef_cfg2q(chdef, &cmd->chan); in qtnf_cmd_start_cac()
Dqlink.h1283 struct qlink_chandef chdef; member