Searched defs:freq (Results 1 - 13 of 13) sorted by relevance

/net/wireless/
H A Dwext-sme.c72 int err, freq; local
78 freq = cfg80211_wext_freq(wdev->wiphy, wextfreq);
79 if (freq < 0)
80 return freq;
82 if (freq) {
83 chan = ieee80211_get_channel(wdev->wiphy, freq);
125 .center_freq1 = freq,
128 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq);
147 struct iw_freq *freq, char *extra)
164 freq
145 cfg80211_mgd_wext_giwfreq(struct net_device *dev, struct iw_request_info *info, struct iw_freq *freq, char *extra) argument
[all...]
H A Dchan.c226 u32 freq; local
228 for (freq = center_freq - bandwidth/2 + 10;
229 freq <= center_freq + bandwidth/2 - 10;
230 freq += 20) {
231 c = ieee80211_get_channel(wiphy, freq);
267 u32 freq; local
269 for (freq = center_freq - bandwidth/2 + 10;
270 freq <= center_freq + bandwidth/2 - 10;
271 freq += 20) {
272 c = ieee80211_get_channel(wiphy, freq);
313 u32 freq; local
[all...]
H A Dibss.c319 int err, freq; local
328 freq = cfg80211_wext_freq(wdev->wiphy, wextfreq);
329 if (freq < 0)
330 return freq;
332 if (freq) {
333 chan = ieee80211_get_channel(wdev->wiphy, freq);
373 struct iw_freq *freq, char *extra)
390 freq->m = chan->center_freq;
391 freq->e = 6;
371 cfg80211_ibss_wext_giwfreq(struct net_device *dev, struct iw_request_info *info, struct iw_freq *freq, char *extra) argument
H A Dmlme.c776 bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_mbm, argument
792 trace_cfg80211_rx_mgmt(wdev, freq, sig_mbm);
819 freq, sig_mbm,
H A Dscan.c841 u32 freq; local
859 freq = ieee80211_channel_to_frequency(channel_number, channel->band);
860 channel = ieee80211_get_channel(wiphy, freq);
1242 iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq);
1243 iwe.u.freq.e = 0;
1249 iwe.u.freq.m = bss->pub.channel->center_freq;
1250 iwe.u.freq.e = 6;
H A Dutil.c66 int ieee80211_frequency_to_channel(int freq) argument
69 if (freq == 2484)
71 else if (freq < 2484)
72 return (freq - 2407) / 5;
73 else if (freq >= 4910 && freq <= 4980)
74 return (freq - 4000) / 5;
75 else if (freq <= 45000) /* DMG band lower limit */
76 return (freq - 5000) / 5;
77 else if (freq >
84 __ieee80211_get_channel(struct wiphy *wiphy, int freq) argument
[all...]
H A Dwext-compat.c235 range->freq[c].i =
238 range->freq[c].m = chan->center_freq;
239 range->freq[c].e = 6;
262 * @freq: the wext freq encoding
266 int cfg80211_wext_freq(struct wiphy *wiphy, struct iw_freq *freq) argument
272 if (freq->e == 0) {
274 if (freq->m < 0)
276 if (freq->m > 14)
278 return ieee80211_channel_to_frequency(freq
790 int freq, err; local
830 cfg80211_wext_giwfreq(struct net_device *dev, struct iw_request_info *info, struct iw_freq *freq, char *extra) argument
[all...]
H A Dreg.c535 * part of a frequency's band if the start freq or end freq are off by more
857 REG_DBG_PRINT("Disabling freq %d MHz\n", chan->center_freq);
1258 REG_DBG_PRINT("Disabling freq %d MHz as custom regd has no rule that fits it\n",
1931 static bool freq_is_chan_12_13_14(u16 freq) argument
1933 if (freq == ieee80211_channel_to_frequency(12, IEEE80211_BAND_2GHZ) ||
1934 freq == ieee80211_channel_to_frequency(13, IEEE80211_BAND_2GHZ) ||
1935 freq == ieee80211_channel_to_frequency(14, IEEE80211_BAND_2GHZ))
H A Dnl80211.c10180 int freq, int sig_dbm,
10201 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, freq) ||
10678 int freq, int sig_dbm)
10685 trace_cfg80211_report_obss_beacon(wiphy, frame, len, freq, sig_dbm);
10700 (freq &&
10701 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, freq)) ||
10178 nl80211_send_mgmt(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u32 nlportid, int freq, int sig_dbm, const u8 *buf, size_t len, gfp_t gfp) argument
10676 cfg80211_report_obss_beacon(struct wiphy *wiphy, const u8 *frame, size_t len, int freq, int sig_dbm) argument
/net/mac80211/
H A Dibss.c458 int freq; local
470 freq = ieee80211_channel_to_frequency(elems->ds_params[0],
473 freq = rx_status->freq;
475 channel = ieee80211_get_channel(local->hw.wiphy, freq);
H A Dmesh.c889 int freq; local
911 freq = ieee80211_channel_to_frequency(elems.ds_params[0], band);
913 freq = rx_status->freq;
915 channel = ieee80211_get_channel(local->hw.wiphy, freq);
H A Dmlme.c270 "Wrong control channel: center-freq: %d ht-cfreq: %d ht->primary_chan: %d band: %d - Disabling HT\n",
2840 int freq; local
2862 freq = ieee80211_channel_to_frequency(elems->ds_params[0],
2865 freq = rx_status->freq;
2867 channel = ieee80211_get_channel(local->hw.wiphy, freq);
2987 if (rx_status->freq != chanctx_conf->def.chan->center_freq) {
/net/ipv6/
H A Dip6_flowlabel.c359 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, argument
367 olen = optlen - CMSG_ALIGN(sizeof(*freq));
390 if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen))
412 err = fl6_renew(fl, freq->flr_linger, freq->flr_expires);
415 fl->share = freq->flr_share;
416 addr_type = ipv6_addr_type(&freq->flr_dst);
422 fl->dst = freq->flr_dst;
511 struct in6_flowlabel_req freq; local
518 if (optlen < sizeof(freq))
[all...]

Completed in 509 milliseconds