I just observed this "NL80211_CMD_SET_STATION in set_plink_state
(state=4) => OK". So both of them are peering successfully.

Just to confirm can you check the with "iw wlanX station dump" and
take a look on plink state.

Did you assign the IP address to the br-lan and ping each other? If
you have two mesh gates assuming both bridge to same eth0 and
connected to same subnet, probably you need to turn STP on.

---
Chun-Yeow


On Fri, Nov 28, 2014 at 10:04 PM, Bob Copeland <[email protected]> wrote:
> On Fri, Nov 28, 2014 at 09:30:32AM +0100, Cédric Debarge - ACKSYS via Devel 
> wrote:
>> > > I did not investigated the second error, but the first one is rejected
>> > > by cfg80211_check_station_change inside mac80211 when it checks the
>> > supported rates:
>> > >
>> > >         if (params->supported_rates) <= this test returns true
>> > >                 return -EINVAL;
>
>
> Hmm, you're not allowed to change the supported rates in
> NL80211_CMD_SET_STATION in at least recent kernel versions.  We already
> set them in peer_created().
>
> So, I'd try this completely untested patch:
>
> diff --git a/linux/meshd-nl80211.c b/linux/meshd-nl80211.c
> index e361de8..76b67c5 100644
> --- a/linux/meshd-nl80211.c
> +++ b/linux/meshd-nl80211.c
> @@ -1148,7 +1148,6 @@ void estab_peer_link(unsigned char *peer,
>          /* to check integrity of multicast mgmt frames from this peer */
>             install_key(&nlcfg, peer, CIPHER_AES_CMAC, NL80211_KEYTYPE_GROUP, 
> 4, peer_mgtk);
>
> -        set_supported_rates(&nlcfg, peer, rates, rates_len);
>      }
>  }
>
> --
> Bob Copeland %% http://bobcopeland.com/
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to