Searched refs:fwrq (Results 1 – 9 of 9) sorted by relevance
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_softmac_wx.c | 35 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_set_freq() local 45 if (fwrq->e == 1) { in ieee80211_wx_set_freq() 46 if ((fwrq->m >= (int) 2.412e8 && in ieee80211_wx_set_freq() 47 fwrq->m <= (int) 2.487e8)) { in ieee80211_wx_set_freq() 48 int f = fwrq->m / 100000; in ieee80211_wx_set_freq() 55 fwrq->e = 0; in ieee80211_wx_set_freq() 56 fwrq->m = c + 1; in ieee80211_wx_set_freq() 60 if (fwrq->e > 0 || fwrq->m > 14 || fwrq->m < 1) { in ieee80211_wx_set_freq() 67 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq() 88 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_get_freq() local [all …]
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac_wx.c | 35 struct iw_freq *fwrq = & wrqu->freq; in ieee80211_wx_set_freq() local 45 if (fwrq->e == 1) { in ieee80211_wx_set_freq() 46 if ((fwrq->m >= (int) 2.412e8 && in ieee80211_wx_set_freq() 47 fwrq->m <= (int) 2.487e8)) { in ieee80211_wx_set_freq() 48 int f = fwrq->m / 100000; in ieee80211_wx_set_freq() 55 fwrq->e = 0; in ieee80211_wx_set_freq() 56 fwrq->m = c + 1; in ieee80211_wx_set_freq() 60 if (fwrq->e > 0 || fwrq->m > 14 || fwrq->m < 1 ){ in ieee80211_wx_set_freq() 66 if (!(GET_DOT11D_INFO(ieee)->channel_map)[fwrq->m]) { in ieee80211_wx_set_freq() 70 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq() [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac_wx.c | 36 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_set_freq() local 46 if (fwrq->e == 1) { in rtllib_wx_set_freq() 47 if ((fwrq->m >= (int) 2.412e8 && in rtllib_wx_set_freq() 48 fwrq->m <= (int) 2.487e8)) { in rtllib_wx_set_freq() 49 int f = fwrq->m / 100000; in rtllib_wx_set_freq() 56 fwrq->e = 0; in rtllib_wx_set_freq() 57 fwrq->m = c + 1; in rtllib_wx_set_freq() 61 if (fwrq->e > 0 || fwrq->m > 14 || fwrq->m < 1) { in rtllib_wx_set_freq() 67 if (ieee->active_channel_map[fwrq->m] != 1) { in rtllib_wx_set_freq() 71 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 694 struct iw_freq *fwrq = &wrqu->freq; in r8711_wx_set_freq() local 698 if ((fwrq->e == 1) && in r8711_wx_set_freq() 699 (fwrq->m >= (int) 2.412e8) && in r8711_wx_set_freq() 700 (fwrq->m <= (int) 2.487e8)) { in r8711_wx_set_freq() 701 int f = fwrq->m / 100000; in r8711_wx_set_freq() 705 fwrq->e = 0; in r8711_wx_set_freq() 706 fwrq->m = c + 1; in r8711_wx_set_freq() 709 if ((fwrq->m > 14) || (fwrq->e > 0)) in r8711_wx_set_freq() 712 int channel = fwrq->m; in r8711_wx_set_freq()
|
/drivers/net/wireless/prism54/ |
D | isl_ioctl.c | 290 struct iw_freq *fwrq, char *extra) in prism54_set_freq() argument 296 if (fwrq->m < 1000) in prism54_set_freq() 298 c = fwrq->m; in prism54_set_freq() 300 c = (fwrq->e == 1) ? channel_of_freq(fwrq->m / 100000) : 0; in prism54_set_freq() 310 struct iw_freq *fwrq, char *extra) in prism54_get_freq() argument 317 fwrq->i = r.u; in prism54_get_freq() 319 fwrq->m = r.u; in prism54_get_freq() 320 fwrq->e = 3; in prism54_get_freq()
|
/drivers/net/wireless/ |
D | atmel.c | 2265 struct iw_freq *fwrq, in atmel_set_freq() argument 2272 if (fwrq->e == 1) { in atmel_set_freq() 2273 int f = fwrq->m / 100000; in atmel_set_freq() 2276 fwrq->e = 0; in atmel_set_freq() 2277 fwrq->m = ieee80211_freq_to_dsss_chan(f); in atmel_set_freq() 2280 if ((fwrq->m > 1000) || (fwrq->e > 0)) in atmel_set_freq() 2283 int channel = fwrq->m; in atmel_set_freq() 2295 struct iw_freq *fwrq, in atmel_get_freq() argument 2300 fwrq->m = priv->channel; in atmel_get_freq() 2301 fwrq->e = 0; in atmel_get_freq()
|
D | airo.c | 5788 struct iw_freq *fwrq, in airo_set_freq() argument 5795 if(fwrq->e == 1) { in airo_set_freq() 5796 int f = fwrq->m / 100000; in airo_set_freq() 5799 fwrq->e = 0; in airo_set_freq() 5800 fwrq->m = ieee80211_freq_to_dsss_chan(f); in airo_set_freq() 5803 if((fwrq->m > 1000) || (fwrq->e > 0)) in airo_set_freq() 5806 int channel = fwrq->m; in airo_set_freq() 5811 fwrq->m); in airo_set_freq() 5829 struct iw_freq *fwrq, in airo_get_freq() argument 5844 fwrq->m = ieee80211_dsss_chan_to_freq(ch) * 100000; in airo_get_freq() [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 6654 struct iw_freq *fwrq = &wrqu->freq; in ipw2100_wx_set_freq() local 6667 if (fwrq->e == 1) { in ipw2100_wx_set_freq() 6668 if ((fwrq->m >= (int)2.412e8 && fwrq->m <= (int)2.487e8)) { in ipw2100_wx_set_freq() 6669 int f = fwrq->m / 100000; in ipw2100_wx_set_freq() 6677 fwrq->e = 0; in ipw2100_wx_set_freq() 6678 fwrq->m = c + 1; in ipw2100_wx_set_freq() 6682 if (fwrq->e > 0 || fwrq->m > 1000) { in ipw2100_wx_set_freq() 6686 IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m); in ipw2100_wx_set_freq() 6687 err = ipw2100_set_channel(priv, fwrq->m, 0); in ipw2100_wx_set_freq()
|
D | ipw2200.c | 8768 struct iw_freq *fwrq = &wrqu->freq; in ipw_wx_set_freq() local 8773 if (fwrq->m == 0) { in ipw_wx_set_freq() 8781 if (fwrq->e == 1) { in ipw_wx_set_freq() 8782 channel = libipw_freq_to_channel(priv->ieee, fwrq->m); in ipw_wx_set_freq() 8786 channel = fwrq->m; in ipw_wx_set_freq() 8804 IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m); in ipw_wx_set_freq()
|