Lines Matching refs:freqs
157 if (params->freqs) {
158 struct nlattr *freqs;
159 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES);
160 if (freqs == NULL)
162 for (i = 0; params->freqs[i]; i++) {
164 "MHz", params->freqs[i]);
165 if (nla_put_u32(msg, i + 1, params->freqs[i]))
168 nla_nest_end(msg, freqs);
967 if (params->freqs) {
968 struct nlattr *freqs;
970 freqs = nla_nest_start(msg,
972 if (freqs == NULL)
974 for (i = 0; params->freqs[i]; i++) {
977 params->freqs[i]);
978 if (nla_put_u32(msg, i + 1, params->freqs[i]))
981 nla_nest_end(msg, freqs);