Searched refs:fwrq (Results 1 – 8 of 8) sorted by relevance
/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 | 667 struct iw_freq *fwrq = &wrqu->freq; in r8711_wx_set_freq() local 671 if ((fwrq->e == 1) && in r8711_wx_set_freq() 672 (fwrq->m >= (int) 2.412e8) && in r8711_wx_set_freq() 673 (fwrq->m <= (int) 2.487e8)) { in r8711_wx_set_freq() 674 int f = fwrq->m / 100000; in r8711_wx_set_freq() 679 fwrq->e = 0; in r8711_wx_set_freq() 680 fwrq->m = c + 1; in r8711_wx_set_freq() 683 if ((fwrq->m > 14) || (fwrq->e > 0)) { in r8711_wx_set_freq() 686 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 | 2263 struct iw_freq *fwrq, in atmel_set_freq() argument 2270 if (fwrq->e == 1) { in atmel_set_freq() 2271 int f = fwrq->m / 100000; in atmel_set_freq() 2274 fwrq->e = 0; in atmel_set_freq() 2275 fwrq->m = ieee80211_frequency_to_channel(f); in atmel_set_freq() 2278 if ((fwrq->m > 1000) || (fwrq->e > 0)) in atmel_set_freq() 2281 int channel = fwrq->m; in atmel_set_freq() 2293 struct iw_freq *fwrq, in atmel_get_freq() argument 2298 fwrq->m = priv->channel; in atmel_get_freq() 2299 fwrq->e = 0; in atmel_get_freq()
|
D | airo.c | 5794 struct iw_freq *fwrq, in airo_set_freq() argument 5801 if(fwrq->e == 1) { in airo_set_freq() 5802 int f = fwrq->m / 100000; in airo_set_freq() 5805 fwrq->e = 0; in airo_set_freq() 5806 fwrq->m = ieee80211_frequency_to_channel(f); in airo_set_freq() 5809 if((fwrq->m > 1000) || (fwrq->e > 0)) in airo_set_freq() 5812 int channel = fwrq->m; in airo_set_freq() 5817 fwrq->m); in airo_set_freq() 5835 struct iw_freq *fwrq, in airo_get_freq() argument 5850 fwrq->m = 100000 * in airo_get_freq() [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 6641 struct iw_freq *fwrq = &wrqu->freq; in ipw2100_wx_set_freq() local 6654 if (fwrq->e == 1) { in ipw2100_wx_set_freq() 6655 if ((fwrq->m >= (int)2.412e8 && fwrq->m <= (int)2.487e8)) { in ipw2100_wx_set_freq() 6656 int f = fwrq->m / 100000; in ipw2100_wx_set_freq() 6664 fwrq->e = 0; in ipw2100_wx_set_freq() 6665 fwrq->m = c + 1; in ipw2100_wx_set_freq() 6669 if (fwrq->e > 0 || fwrq->m > 1000) { in ipw2100_wx_set_freq() 6673 IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m); in ipw2100_wx_set_freq() 6674 err = ipw2100_set_channel(priv, fwrq->m, 0); in ipw2100_wx_set_freq()
|
D | ipw2200.c | 8677 struct iw_freq *fwrq = &wrqu->freq; in ipw_wx_set_freq() local 8682 if (fwrq->m == 0) { in ipw_wx_set_freq() 8690 if (fwrq->e == 1) { in ipw_wx_set_freq() 8691 channel = libipw_freq_to_channel(priv->ieee, fwrq->m); in ipw_wx_set_freq() 8695 channel = fwrq->m; in ipw_wx_set_freq() 8713 IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m); in ipw_wx_set_freq()
|