24 2412, 2417, 2422, 2427,
25 2432, 2437, 2442, 2447,
26 2452, 2457, 2462, 2467,
46 if ((fwrq->
m >= (
int) 2.412e8 &&
47 fwrq->
m <= (
int) 2.487e8)) {
48 int f = fwrq->
m / 100000;
60 if (fwrq->
e > 0 || fwrq->
m > 14 || fwrq->
m < 1 ){
128 spin_unlock_irqrestore(&ieee->
lock, flags);
171 spin_unlock_irqrestore(&ieee->
lock, flags);
204 wrqu->
essid.length = len;
206 wrqu->
essid.flags = 1;
209 spin_unlock_irqrestore(&ieee->
lock, flags);
222 ieee->
rate = target_rate/100000;
236 wrqu->
bitrate.value = tmp_rate * 500000;
246 if (wrqu->
rts.disabled || !wrqu->
rts.fixed)
253 ieee->
rts = wrqu->
rts.value;
262 wrqu->
rts.value = ieee->
rts;
305 static int count = 0;
321 printk(
"Scan in 40M, force to 20M first:%d, %d\n", chan_offset, bandwidth);
326 printk(
"Scan in 20M, back to 40M\n");
415 if (wrqu->
essid.flags && wrqu->
essid.length) {
427 spin_unlock_irqrestore(&ieee->
lock, flags);
449 int *
parms = (
int *)extra;
450 int enable = (parms[0] > 0);
461 ieee->
raw_tx ?
"enabled" :
"disabled");
465 if(prev == 0 && ieee->
raw_tx){
472 if(prev && ieee->
raw_tx == 1)
514 if (wrqu->
power.disabled){
566 wrqu->
power.disabled = 1;
570 wrqu->
power.disabled = 0;