Changeset 9146
- Timestamp:
- 02/29/08 03:25:20 (5 years ago)
- Location:
- src/router/services
- Files:
-
- 15 edited
-
networking/madwifi.c (modified) (3 diffs)
-
sysinit/sysinit-ca8.c (modified) (1 diff)
-
sysinit/sysinit-dir300.c (modified) (1 diff)
-
sysinit/sysinit-fonera.c (modified) (1 diff)
-
sysinit/sysinit-gateworx.c (modified) (2 diffs)
-
sysinit/sysinit-ls5.c (modified) (1 diff)
-
sysinit/sysinit-magicbox.c (modified) (2 diffs)
-
sysinit/sysinit-mr3202a.c (modified) (1 diff)
-
sysinit/sysinit-newmedia-dual.c (modified) (2 diffs)
-
sysinit/sysinit-pb42.c (modified) (1 diff)
-
sysinit/sysinit-rb532.c (modified) (2 diffs)
-
sysinit/sysinit-supergerry.c (modified) (2 diffs)
-
sysinit/sysinit-whrag108.c (modified) (1 diff)
-
sysinit/sysinit-wrt300nv2.c (modified) (2 diffs)
-
sysinit/sysinit-x86.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/networking/madwifi.c
r9144 r9146 1498 1498 1499 1499 1500 1501 1502 1503 x1504 1505 1500 // vif netconfig 1506 1501 vifs = nvram_safe_get (wifivifs); … … 1556 1551 } 1557 1552 } 1553 1554 m = default_get (wl, "ap"); 1555 eval ("iwpriv", dev, "scandisable", "0"); 1556 if (strcmp (m, "sta") && strcmp (m, "wdssta") && strcmp (m, "wet")) 1557 { 1558 cprintf ("set channel\n"); 1559 char *ch = default_get (channel, "0"); 1560 if (strcmp (ch, "0") == 0) 1561 { 1562 eval ("iwconfig", dev, "channel", "0"); 1563 } 1564 else 1565 { 1566 char freq[64]; 1567 sprintf (freq, "%sM", ch); 1568 eval ("iwpriv", dev, "scandisable", "1"); 1569 eval ("iwconfig", dev, "freq", freq); 1570 sleep (1); 1571 eval ("ifconfig", dev, "down"); 1572 sleep (1); 1573 eval ("ifconfig", dev, "up"); 1574 } 1575 } 1576 1558 1577 for (s = 1; s <= 10; s++) 1559 1578 { … … 1579 1598 } 1580 1599 1581 m = default_get (wl, "ap"); 1582 eval ("iwpriv", dev, "scandisable", "0"); 1583 if (strcmp (m, "sta") && strcmp (m, "wdssta") && strcmp (m, "wet")) 1584 { 1585 cprintf ("set channel\n"); 1586 char *ch = default_get (channel, "0"); 1587 if (strcmp (ch, "0") == 0) 1588 { 1589 eval ("iwconfig", dev, "channel", "0"); 1590 } 1591 else 1592 { 1593 char freq[64]; 1594 sprintf (freq, "%sM", ch); 1595 eval ("iwpriv", dev, "scandisable", "1"); 1596 eval ("iwconfig", dev, "freq", freq); 1597 sleep (1); 1598 eval ("ifconfig", dev, "down"); 1599 sleep (1); 1600 eval ("ifconfig", dev, "up"); 1601 } 1602 } 1600 1603 1601 } 1604 1602 -
src/router/services/sysinit/sysinit-ca8.c
r9124 r9146 113 113 eval ("insmod", "ath_hal"); 114 114 eval ("insmod", "ath_ahb"); 115 eval ("ifconfig", "wifi0", "up");115 // eval ("ifconfig", "wifi0", "up"); 116 116 117 117 eval ("insmod", "ipv6"); -
src/router/services/sysinit/sysinit-dir300.c
r9124 r9146 126 126 eval ("insmod", "ath_hal"); 127 127 eval ("insmod", "ath_ahb"); 128 eval ("ifconfig", "wifi0", "up");128 // eval ("ifconfig", "wifi0", "up"); 129 129 eval ("ifconfig", "eth0", "up"); // wan 130 130 system ("echo 2 >/proc/sys/dev/wifi0/ledpin"); -
src/router/services/sysinit/sysinit-fonera.c
r9124 r9146 109 109 eval ("insmod", "ath_hal"); 110 110 eval ("insmod", "ath_ahb"); 111 eval ("ifconfig", "wifi0", "up");111 // eval ("ifconfig", "wifi0", "up"); 112 112 #ifdef HAVE_LS2 113 113 eval ("ifconfig", "eth0", "up"); // wan -
src/router/services/sysinit/sysinit-gateworx.c
r9124 r9146 248 248 // eval ("insmod", "ath_pci", "rfkill=0", "autocreate=none"); 249 249 250 if (ifexists ("wifi0"))250 /* if (ifexists ("wifi0")) 251 251 eval ("ifconfig", "wifi0", "up"); 252 252 if (ifexists ("wifi1")) … … 260 260 if (ifexists ("wifi5")) 261 261 eval ("ifconfig", "wifi5", "up"); 262 262 */ 263 263 264 264 //eval ("insmod", "ipv6"); -
src/router/services/sysinit/sysinit-ls5.c
r9124 r9146 114 114 eval ("insmod", "ath_ahb"); 115 115 116 eval ("ifconfig", "wifi0", "up");116 // eval ("ifconfig", "wifi0", "up"); 117 117 118 118 eval ("insmod", "ipv6"); -
src/router/services/sysinit/sysinit-magicbox.c
r9124 r9146 142 142 eval ("insmod", "wlan_scan_sta"); 143 143 */ 144 eval ("ifconfig", "wifi0", "up");144 /* eval ("ifconfig", "wifi0", "up"); 145 145 eval ("ifconfig", "wifi1", "up"); 146 146 eval ("ifconfig", "wifi2", "up"); … … 149 149 eval ("ifconfig", "wifi5", "up"); 150 150 151 151 */ 152 152 eval ("insmod", "ipv6"); 153 153 -
src/router/services/sysinit/sysinit-mr3202a.c
r9124 r9146 111 111 system ("echo 1 >/proc/sys/dev/wifi0/softled"); 112 112 #endif 113 eval ("ifconfig", "wifi0", "up");113 // eval ("ifconfig", "wifi0", "up"); 114 114 eval ("ifconfig", "eth0", "up"); 115 115 vlan_init (5); // 1 lan + 1 wan -
src/router/services/sysinit/sysinit-newmedia-dual.c
r9124 r9146 126 126 // eval ("insmod", "wlan_scan_sta"); 127 127 128 eval ("ifconfig", "wifi0", "up");128 /* eval ("ifconfig", "wifi0", "up"); 129 129 eval ("ifconfig", "wifi1", "up"); 130 130 eval ("ifconfig", "wifi2", "up"); … … 132 132 eval ("ifconfig", "wifi4", "up"); 133 133 eval ("ifconfig", "wifi5", "up"); 134 134 */ 135 135 136 136 eval ("insmod", "ipv6"); -
src/router/services/sysinit/sysinit-pb42.c
r9124 r9146 106 106 eval ("insmod", "ath_mimo_pci"); 107 107 108 eval ("ifconfig", "wifi0", "up");108 // eval ("ifconfig", "wifi0", "up"); 109 109 110 110 -
src/router/services/sysinit/sysinit-rb532.c
r9124 r9146 135 135 eval ("insmod", "wlan_scan_sta"); 136 136 */ 137 eval ("ifconfig", "wifi0", "up");137 /* eval ("ifconfig", "wifi0", "up"); 138 138 eval ("ifconfig", "wifi1", "up"); 139 139 eval ("ifconfig", "wifi2", "up"); … … 141 141 eval ("ifconfig", "wifi4", "up"); 142 142 eval ("ifconfig", "wifi5", "up"); 143 143 */ 144 144 145 145 /* eval ("insmod", "mii"); -
src/router/services/sysinit/sysinit-supergerry.c
r9124 r9146 116 116 eval ("insmod", "ath_pci"); 117 117 118 eval ("ifconfig", "wifi0", "up");118 /* eval ("ifconfig", "wifi0", "up"); 119 119 eval ("ifconfig", "wifi1", "up"); 120 120 eval ("ifconfig", "wifi2", "up"); … … 122 122 eval ("ifconfig", "wifi4", "up"); 123 123 eval ("ifconfig", "wifi5", "up"); 124 124 */ 125 125 126 126 // eval ("insmod", "ipv6"); -
src/router/services/sysinit/sysinit-whrag108.c
r9124 r9146 212 212 system ("echo 1 >/proc/sys/dev/wifi1/softled"); 213 213 214 eval ("ifconfig", "wifi0", "up");215 eval ("ifconfig", "wifi1", "up");214 // eval ("ifconfig", "wifi0", "up"); 215 // eval ("ifconfig", "wifi1", "up"); 216 216 217 217 -
src/router/services/sysinit/sysinit-wrt300nv2.c
r9124 r9146 154 154 // eval ("insmod", "ath_pci", "rfkill=0", "autocreate=none"); 155 155 156 if (ifexists ("wifi0"))156 /* if (ifexists ("wifi0")) 157 157 eval ("ifconfig", "wifi0", "up"); 158 158 if (ifexists ("wifi1")) … … 166 166 if (ifexists ("wifi5")) 167 167 eval ("ifconfig", "wifi5", "up"); 168 168 */ 169 169 170 170 /* -
src/router/services/sysinit/sysinit-x86.c
r9124 r9146 348 348 #endif 349 349 350 eval ("ifconfig", "wifi0", "up");350 /* eval ("ifconfig", "wifi0", "up"); 351 351 eval ("ifconfig", "wifi1", "up"); 352 352 eval ("ifconfig", "wifi2", "up"); 353 353 eval ("ifconfig", "wifi3", "up"); 354 354 eval ("ifconfig", "wifi4", "up"); 355 eval ("ifconfig", "wifi5", "up"); 355 eval ("ifconfig", "wifi5", "up");*/ 356 356 #endif 357 357
Note: See TracChangeset
for help on using the changeset viewer.
