wifi: change the default channel from 5 to 11, 5 was a really bad choice
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Oct 2010 12:22:48 +0000 (12:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 13 Oct 2010 12:22:48 +0000 (12:22 +0000)
SVN-Revision: 23423

package/acx/files/lib/wifi/acx.sh
package/broadcom-wl/files/lib/wifi/broadcom.sh
package/mac80211/files/lib/wifi/mac80211.sh

index 2775a7b1f771c0f0410344e71b8cb9e79873c3ef..9ee906dd81207d756eff45d2475f265b55a99cf7 100644 (file)
@@ -185,7 +185,7 @@ detect_acx() {
                cat <<EOF
 config wifi-device  $dev
        option type     acx
                cat <<EOF
 config wifi-device  $dev
        option type     acx
-       option channel  5
+       option channel  11
 
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1
 
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1
index e229217328e887244dce402e6dbbbfd6b37f6d2c..183aa08867f718109ec6be074087d4b10e43a98d 100644 (file)
@@ -363,7 +363,7 @@ detect_broadcom() {
                cat <<EOF
 config wifi-device  wl${i}
        option type     broadcom
                cat <<EOF
 config wifi-device  wl${i}
        option type     broadcom
-       option channel  5
+       option channel  11
 
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1
 
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1
index f022e262d94c7655e5b755a43e009c54339717c2..a00cdee1be39163005fe30c73cf2e57b52784793 100644 (file)
@@ -404,7 +404,7 @@ detect_mac80211() {
 
                mode_11n=""
                mode_band="g"
 
                mode_11n=""
                mode_band="g"
-               channel="5"
+               channel="11"
                ht_cap=0
                for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
                        ht_cap="$(($ht_cap | $cap))"
                ht_cap=0
                for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
                        ht_cap="$(($ht_cap | $cap))"