projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gumstix] Switch of echo on ttyS1 (required for bluetooth to function correctly)
[openwrt.git]
/
target
/
linux
/
omap35xx
/
gumstix
/
base-files
/
lib
/
wifi
/
mac80211.sh
diff --git
a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
index
53910ef
..
7e53b62
100644
(file)
--- a/
target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
+++ b/
target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
@@
-391,7
+391,7
@@
detect_mac80211() {
mode_11n=""
mode_band="g"
mode_11n=""
mode_band="g"
- channel="
5
"
+ channel="
6
"
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))"
@@
-417,8
+417,11
@@
detect_mac80211() {
config wifi-device radio$devidx
option type mac80211
option channel ${channel}
config wifi-device radio$devidx
option type mac80211
option channel ${channel}
- option macaddr $(cat /sys/class/ieee80211/${dev}/macaddress)
+ option macaddr $(cat /sys/class/net/wlan0/address)
+ option phy phy0
option hwmode 11${mode_11n}${mode_band}
option hwmode 11${mode_11n}${mode_band}
+ option vifs radio0
+ option ifname wlan0
$ht_capab
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
$ht_capab
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
@@
-426,7
+429,7
@@
$ht_capab
config wifi-iface
option device radio$devidx
option network lan
config wifi-iface
option device radio$devidx
option network lan
- option mode
ap
+ option mode
sta
option ssid OpenWrt
option encryption none
option ssid OpenWrt
option encryption none
This page took
0.027368 seconds
and
4
git commands to generate.