[OpenWrt-Devel] [PATCH 2/3] broadcom-wl: add default tx and rx antennas
Álvaro Fernández Rojas
noltari at gmail.com
Mon Jul 28 16:30:51 EDT 2014
This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas.
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
index c5c0ede..69e3132 100644
--- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -450,7 +450,8 @@ detect_broadcom() {
config wifi-device wl${i}
option type broadcom
option channel ${channel:-11}
-
+ option txantenna 3
+ option rxantenna 3
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list