Mesh beaconing is working but the peer link is not established. How to
debug?

On Thu, May 5, 2011 at 7:29 AM, Javier Cardona <jav...@cozybit.com> wrote:

> > If not, can your fix?
>
> meant
>
> If not, can you share your fix?
>
> j
>
> On Wed, May 4, 2011 at 4:28 PM, Javier Cardona <jav...@cozybit.com> wrote:
> > Fabrice,
> >
> > On Wed, May 4, 2011 at 9:35 AM, Javier Cardona <jav...@cozybit.com>
> wrote:
> >> On Wed, May 4, 2011 at 12:46 AM, Yeoh Chun Yeow <yeohchuny...@gmail.com>
> wrote:
> >>> Hi, Javier,
> >>> With this PATCH, the Mesh still does not work. Fabrice has mentioned
> about
> >>> beacon.c and hw.c. Both of them need to modify.
> >>
> >> That workaround or (better) this patch:
> >> http://marc.info/?l=linux-wireless&m=130446707326167&w=2
> >> worked for us.  Do you see beacons?
> >
> > Can you confirm that the above referenced patch is sufficient on your
> > particular Atheros card?
> > If not, can your fix?
> >
> > Thanks,
> >
> > Javier
> >
> >
> >>> Regards,
> >>> Chun Yeow
> >>>
> >>> On Wed, May 4, 2011 at 6:08 AM, Javier Cardona <jav...@cozybit.com>
> wrote:
> >>>>
> >>>> On Tue, May 3, 2011 at 2:18 PM, Fabrice Deyber
> >>>> <fabricedey...@agilemesh.com> wrote:
> >>>> > The mesh has been broken for a while now.
> >>>> >
> >>>> > This thread should help you to get started:
> >>>> >
> http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg05697.html
> >>>> >
> >>>> > I also had to modify (revert changes made to the beacon timer config
> in
> >>>> > beacon.c and hw.c)
> >>>> > Hope this helps.
> >>>>
> >>>> Sweet!  I got as far as a workaround:
> >>>>
> >>>> diff --git a/drivers/net/wireless/ath/ath9k/beacon.c
> >>>> b/drivers/net/wireless/ath/ath9k/beacon.c
> >>>> index 22cd241..e480745 100644
> >>>> --- a/drivers/net/wireless/ath/ath9k/beacon.c
> >>>> +++ b/drivers/net/wireless/ath/ath9k/beacon.c
> >>>> @@ -690,7 +690,8 @@ static bool ath9k_allow_beacon_config(struct
> ath_softc
> >>>> *sc,
> >>>>         * while on AP opmode
> >>>>         */
> >>>>        if ((sc->sc_ah->opmode == NL80211_IFTYPE_AP) &&
> >>>> -           (vif->type != NL80211_IFTYPE_AP)) {
> >>>> +           (vif->type != NL80211_IFTYPE_AP &&
> >>>> +            vif->type != NL80211_IFTYPE_MESH_POINT)) {
> >>>>                ath_dbg(common, ATH_DBG_CONFIG,
> >>>>                        "STA vif's beacon not allowed on AP mode\n");
> >>>>                return false;
> >>>>
> >>>> but clearly the right fix should be to fix the opmode.
> >>>>
> >>>> Thanks!
> >>>>
> >>>> Javier
> >>>> _______________________________________________
> >>>> Devel mailing list
> >>>> Devel@lists.open80211s.org
> >>>> http://open80211s.com/mailman/listinfo/devel
> >>>
> >>>
> >>> _______________________________________________
> >>> Devel mailing list
> >>> Devel@lists.open80211s.org
> >>> http://open80211s.com/mailman/listinfo/devel
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> Javier Cardona
> >> cozybit Inc.
> >> http://www.cozybit.com
> >>
> >
> >
> >
> > --
> > Javier Cardona
> > cozybit Inc.
> > http://www.cozybit.com
> >
>
>
>
> --
> Javier Cardona
> cozybit Inc.
> http://www.cozybit.com
> _______________________________________________
> Devel mailing list
> Devel@lists.open80211s.org
> http://open80211s.com/mailman/listinfo/devel
>
_______________________________________________
Devel mailing list
Devel@lists.open80211s.org
http://open80211s.com/mailman/listinfo/devel

Reply via email to