micbat / x-wrt

Automatically exported from code.google.com/p/x-wrt
0 stars 0 forks source link

Channel settings unde Kamikaze #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi In network-wlan.sh, there is not correct support for $country. - where
is $country set? 

root@oxo-t:/www/cgi-bin/webif# grep -ir '$country' *
network-wlan.sh:        case "$country" in

root@oxo-t:/usr/lib/webif# grep -ir '$country' *
root@oxo-t:/usr/lib/webif#

Instead of crippling the choice of channel, use: 
        # Initialize channels based on country code
        # (--- hardly a switch here ---)
        case "$country" in
                *)
                        BGCHANNELS="1 2 3 4 5 6 7 8 9 10 11 12 13 14";
CHANNEL_MAX=14
                        ACHANNELS="36 40 42 44 48 50 52 56 58 60 64 149 152
153 157 160 161 156";;
#               *)
#                       BGCHANNELS="1 2 3 4 5 6 7 8 9 10 11"; CHANNEL_MAX=11
#                       ACHANNELS="36 40 42 44 48 50 52 56 58 60 64 149 152
153 157 160 161 156";;
        esac

Original issue reported on code.google.com by kemen04@gmail.com on 27 Jun 2008 at 1:25

GoogleCodeExporter commented 8 years ago
12/27/07 13:57:12 changed by lubek

I would not name it crippling. :)

The hals/drivers are mostly designed for the international use. The require some
special setting to enable the wider range available in the particular country 
limits.
The user is responsible for using the device in these limits.

We do not want the devices to start in the all channels settings as default. 
The user
must configure it for his/her local limits.

Original comment by kemen04@gmail.com on 27 Jun 2008 at 1:26

GoogleCodeExporter commented 8 years ago
fixed r4370

Original comment by kemen04@gmail.com on 17 Jul 2008 at 4:39