Searched refs:fwrq (Results 1 – 8 of 8) sorted by relevance
34 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_set_freq() local44 if (fwrq->e == 1) { in ieee80211_wx_set_freq()45 if ((fwrq->m >= (int)2.412e8 && in ieee80211_wx_set_freq()46 fwrq->m <= (int)2.487e8)) { in ieee80211_wx_set_freq()47 int f = fwrq->m / 100000; in ieee80211_wx_set_freq()54 fwrq->e = 0; in ieee80211_wx_set_freq()55 fwrq->m = c + 1; in ieee80211_wx_set_freq()59 if (fwrq->e > 0 || fwrq->m > 14 || fwrq->m < 1) { in ieee80211_wx_set_freq()69 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq()90 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_get_freq() local[all …]
23 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_set_freq() local33 if (fwrq->e == 1) { in rtllib_wx_set_freq()34 if ((fwrq->m >= (int)2.412e8 && in rtllib_wx_set_freq()35 fwrq->m <= (int)2.487e8)) { in rtllib_wx_set_freq()36 fwrq->m = ieee80211_freq_khz_to_channel(fwrq->m / 100); in rtllib_wx_set_freq()37 fwrq->e = 0; in rtllib_wx_set_freq()41 if (fwrq->e > 0 || fwrq->m > 14 || fwrq->m < 1) { in rtllib_wx_set_freq()47 if (ieee->active_channel_map[fwrq->m] != 1) { in rtllib_wx_set_freq()51 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq()72 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_get_freq() local[all …]
174 union iwreq_data *fwrq, char *extra) in ks_wlan_set_freq() argument184 if ((fwrq->freq.e == 1) && in ks_wlan_set_freq()185 (fwrq->freq.m >= 241200000) && (fwrq->freq.m <= 248700000)) { in ks_wlan_set_freq()186 int f = fwrq->freq.m / 100000; in ks_wlan_set_freq()192 fwrq->freq.e = 0; in ks_wlan_set_freq()193 fwrq->freq.m = c + 1; in ks_wlan_set_freq()196 if ((fwrq->freq.m > 1000) || (fwrq->freq.e > 0)) in ks_wlan_set_freq()199 channel = fwrq->freq.m; in ks_wlan_set_freq()205 dev->name, fwrq->freq.m); in ks_wlan_set_freq()218 union iwreq_data *fwrq, char *extra) in ks_wlan_get_freq() argument[all …]
657 struct iw_freq *fwrq = &wrqu->freq; in r8711_wx_set_freq() local661 if ((fwrq->e == 1) && in r8711_wx_set_freq()662 (fwrq->m >= 241200000) && in r8711_wx_set_freq()663 (fwrq->m <= 248700000)) { in r8711_wx_set_freq()664 int f = fwrq->m / 100000; in r8711_wx_set_freq()669 fwrq->e = 0; in r8711_wx_set_freq()670 fwrq->m = c + 1; in r8711_wx_set_freq()673 if ((fwrq->m > 14) || (fwrq->e > 0)) { in r8711_wx_set_freq()676 int channel = fwrq->m; in r8711_wx_set_freq()
2263 struct iw_freq *fwrq = &wrqu->freq; in atmel_set_freq() local2268 if (fwrq->e == 1) { in atmel_set_freq()2269 int f = fwrq->m / 100000; in atmel_set_freq()2272 fwrq->e = 0; in atmel_set_freq()2273 fwrq->m = ieee80211_frequency_to_channel(f); in atmel_set_freq()2276 if (fwrq->m < 0 || fwrq->m > 1000 || fwrq->e > 0) in atmel_set_freq()2279 int channel = fwrq->m; in atmel_set_freq()2294 struct iw_freq *fwrq = &wrqu->freq; in atmel_get_freq() local2297 fwrq->m = priv->channel; in atmel_get_freq()2298 fwrq->e = 0; in atmel_get_freq()
5834 struct iw_freq *fwrq = &wrqu->freq; in airo_set_freq() local5839 if (fwrq->e == 1) { in airo_set_freq()5840 int f = fwrq->m / 100000; in airo_set_freq()5843 fwrq->e = 0; in airo_set_freq()5847 if (fwrq->m < 0 || fwrq->m > 1000 || fwrq->e > 0) in airo_set_freq()5850 int channel = fwrq->m; in airo_set_freq()5855 fwrq->m); in airo_set_freq()5889 fwrq->m = 100000 * in airo_get_freq()5891 fwrq->e = 1; in airo_get_freq()5893 fwrq->m = ch; in airo_get_freq()[all …]
6593 struct iw_freq *fwrq = &wrqu->freq; in ipw2100_wx_set_freq() local6606 if (fwrq->e == 1) { in ipw2100_wx_set_freq()6607 if ((fwrq->m >= (int)2.412e8 && fwrq->m <= (int)2.487e8)) { in ipw2100_wx_set_freq()6608 int f = fwrq->m / 100000; in ipw2100_wx_set_freq()6616 fwrq->e = 0; in ipw2100_wx_set_freq()6617 fwrq->m = c + 1; in ipw2100_wx_set_freq()6621 if (fwrq->e > 0 || fwrq->m > 1000) { in ipw2100_wx_set_freq()6625 IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m); in ipw2100_wx_set_freq()6626 err = ipw2100_set_channel(priv, fwrq->m, 0); in ipw2100_wx_set_freq()
8599 struct iw_freq *fwrq = &wrqu->freq; in ipw_wx_set_freq() local8604 if (fwrq->m == 0) { in ipw_wx_set_freq()8612 if (fwrq->e == 1) { in ipw_wx_set_freq()8613 channel = libipw_freq_to_channel(priv->ieee, fwrq->m); in ipw_wx_set_freq()8617 channel = fwrq->m; in ipw_wx_set_freq()8635 IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m); in ipw_wx_set_freq()