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?

Cheers,

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
_______________________________________________
Devel mailing list
Devel@lists.open80211s.org
http://open80211s.com/mailman/listinfo/devel

Reply via email to