[OpenWrt-Devel] [PATCH] ramips: enable external amplifier for Xiaomi MiWiFi Mini

D. Andrei Măceș dmaces at nd.edu
Wed Sep 2 20:49:38 EDT 2015


On Wed, Sep 2, 2015 at 7:49 PM 郭传鈜 <gch981213 at gmail.com> wrote:

> Hi!
>    I remember that there is no external PA on Miwifi Mini so this
> patch may be useless :-(


Thanks, are you completely certain about this information? I've been
testing with this change for a few days now, and the signal levels are much
better (roughly +15 in SNR). Also, someone on this ticket
<https://dev.openwrt.org/ticket/20369#comment:3> has a similar experience.
Finally, I've stumbled upon this change in @rssnsj's GitHub as well (this
commit
<https://github.com/rssnsj/openwrt-xiaomi-mini/commit/121d32edd2293259430aae6d1d58115dc064bb29>
).

BTW There is no external PA and external LNA
> support in current rt2x00 driver.
>

I may not be reading things correctly, but I see lots of code to support PA
and LNA in rt2x00 (e.g., rt2800lib.c). Do you mean that our RT5390 is
lacking this support? Either way, wouldn't enabling it on the board (if
present) improve things regardless?


> 2015-09-01 0:11 GMT+08:00 D. Andrei Măceș <dmaces at nd.edu>:
> > Attempt to boost the 2.4 GHz signal, currently very low.
> >
> > Signed-off-by: D. Andrei Măceș <dmaces at nd.edu>
> > ---
> >  target/linux/ramips/dts/MIWIFI-MINI.dts | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/target/linux/ramips/dts/MIWIFI-MINI.dts
> b/target/linux/ramips/dts/MIWIFI-MINI.dts
> > index fa9846c..dad99c3 100644
> > --- a/target/linux/ramips/dts/MIWIFI-MINI.dts
> > +++ b/target/linux/ramips/dts/MIWIFI-MINI.dts
> > @@ -113,6 +113,11 @@
> >                                 ralink,group = "i2c", "rgmii1";
> >                                 ralink,function = "gpio";
> >                         };
> > +
> > +                       pa {
> > +                               ralink,group = "pa";
> > +                               ralink,function = "pa";
> > +                       };
> >                 };
> >         };
> >
> > --
> > 2.1.4
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel at lists.openwrt.org
> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150903/99b75f5e/attachment.htm>
-------------- next part --------------
_______________________________________________
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