Lines Matching refs:fwrq
5811 struct iw_freq *fwrq, in airo_set_freq() argument
5818 if (fwrq->e == 1) { in airo_set_freq()
5819 int f = fwrq->m / 100000; in airo_set_freq()
5822 fwrq->e = 0; in airo_set_freq()
5823 fwrq->m = ieee80211_frequency_to_channel(f); in airo_set_freq()
5826 if (fwrq->m < 0 || fwrq->m > 1000 || fwrq->e > 0) in airo_set_freq()
5829 int channel = fwrq->m; in airo_set_freq()
5834 fwrq->m); in airo_set_freq()
5852 struct iw_freq *fwrq, in airo_get_freq() argument
5867 fwrq->m = 100000 * in airo_get_freq()
5869 fwrq->e = 1; in airo_get_freq()
5871 fwrq->m = ch; in airo_get_freq()
5872 fwrq->e = 0; in airo_get_freq()