Hi all,

I am using 2 mesh gates (openwrt) and encounter some problems using authsae.

The problem is that I'm not able to communicate between devices. See config in
notes below. One device is already started and beacons correctly. 

Launching meshd on the other device with debugs reveals that 2
NL80211_CMD_SET_STATION failed (invalid argument) during the startup sequence :
        NL80211_CMD_SET_STATION in new_unauthenticated_peer     => NOK
                =>nlerror, cmd 18, seq 1416576729: Invalid argument
        NL80211_CMD_SET_STATION in set_plink_state (state=0) => OK
        NL80211_CMD_SET_STATION in set_plink_state (state=1) => OK
        NL80211_CMD_SET_STATION in set_plink_state (state=2) => OK
        NL80211_CMD_SET_STATION in set_plink_state (state=4) => OK
        NL80211_CMD_SET_STATION in set_authenticated_flag    => OK
        NL80211_CMD_SET_STATION in set_supported_rates       => NOK
                =>nlerror, cmd 18, seq 1416576741: Invalid argument

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;

After this sequence, I am not able to communicate through the mesh network.

An air capture of the sequence shows a bunch of malformed packet
(see attached pcap file). The errors above were observed on 
the 92:a4:de:aa:42:65 device.

Do you have any pointer that might allow me to make thing work ?

Thanks in advance,
Cédric

configs:

Kernel 3.3.8
Compat Wireless : 2014-09-26
Authsae : (from github) : 8531ab158910a525d4bcbb3ad02c08342f6987f2

the mesh interface is bridged with an Ethernet interface:
#brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          7fff.000990002c25       no              eth0
                                                                                
wlan0
        
authsae-radio0w0.conf:
{
    debug = 1;
    password = "cdmytest";
    group = [19, 26, 21, 25, 20];
    blacklist = 5;
    thresh = 5;
    lifetime = 3600;
};
meshd:
{
    meshid = "cdtest";
    interface = "wlan0";
    passive = 0;
    debug = 1;
    mediaopt = 1;
    band = "11a";
    channel = 132;
    htmode = "HT20";
    hwmp-rootmode = 0
  };
};

Attachment: trace.pcapng
Description: trace.pcapng

_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to