This may be a slightly odd question, so let me fill in the history
behind it:

- I have a router model, Netcore NW618
- DD-WRT also supports this router
- I've repaired sflash support in brcm-2.4, so it boots OpenWRT

When running DD-WRT latest version and their version of broadcom-wl
(4.150.10.31), the wifi LED comes up full bright, and blinks on
activity.  Lets call this "normal".

When running OpenWRT and our version (4.150.10.5.3), the wifi LED is
always half bright, and blinks on activity.  Lets call this
"half-broken".

I'd like to figure out how to get this model to do the full-bright thing
("normal") since it looks a bit ridiculous ("half-broken") with the
half-bright LED.

I found a bunch of LED behaviors that could be set by looking through
"src/include/wlioctl.h" but there is no visible way to set them, and no
visible method of detecting the boards settings for it.  So I guess the
LED stuff is in the binary part?  I tried to add the WLC_GET_LED ioctl
into the wlc utility but it always returns -1 no matter the size of the
object passed in (I tried a single "wl_led_info_t" struct, and an array
of them WL_LED_NUMGPIO long as guesses).  Since the ioctl interface just
returns "-1" and no explanations, I don't know if the size of my data
buffer passed in is wrong, or if the WLC_GET_LED ioctl just isn't in our
version of the binary driver somehow.  Is there some magic debug I could
turn on to get more info out of the binary parts?

And dropping the 4.150.10.31 binary stubs into our version, compiling
works (amazingly) but fails on load with tons of relocation problems.
So I was unable to see if the DD-WRT binary stubs have better support
for this particular model or if it's something else.  DD-WRT also builds
their wl driver into the kernel and runs a newer version so I can't do
the usual module "ko" copy-and-try.

Anyone know how the broadcom-wl driver handles the wifi LED and/or how
to change its behavior if its wrong (or, half-wrong)?  Maybe some
boardflags (or other nvar) change would do it?

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to