Hello,

Sorry if this message is sent to the wrong group, not sure were else to
look.

I'm have some problems getting authsae to work with 80211s.
Any help would be appreciated.

The errors I get is the following.
If I omit the configuration file I get

TEST-ROUTER:~# meshd-nl80211 -i mesh0 -s
5gsbaby
Unexpected error -22 (expected -107)
nlerror, cmd 68, seq 1343419229: Invalid argument

If I add the configuration file I get

TEST-ROUTER:~# meshd-nl80211 -i mesh0 -s 5gsbaby -c /etc/authsae.cfg
wiphy reported no rates!

I have looked into identifying the issue and it might be attributed to the
debug location for WIPHY but my system doesn't show any WIPHY in debug

Here is my layout.

Ubuntu Development box running on x86 pc with intel processor
Wireless Cards are Ubiquiti SR71-15 and SR71-A

I downloaded the latest 80211s source from
https://github.com/cozybit/open80211s - 3.5.0-rc6-wl
then downloaded the latest authsae from git://
github.com/cozybit/authsae.github
I also downloaded the iw 3.5 version from
http://linuxwireless.org/download/iw/
I installed libnl-3.2.11 from http://www.infradead.org/~tgr/libnl/
I also installed the other packages required for a dev build

I compiled everything without any issue

I can create a open-mesh with HT support no problem and getting 90-100 Mbps
throughput on the SR71-15 cards.

I have tried this with and with out HT Modes.
I set the channel and join the mesh prior to authsae startup

My issue is when trying to implement the authsae.

My configuration for my authsae.conf file looks like this.
------------
cut
------------

 authsae:
{
sae:
{
debug = 0;
password = "MysuperS3cr3tPasswd";
group = [19, 26, 21, 25, 20];
blacklist = 5;
thresh = 5;
lifetime = 3600;
};
meshd:
{
meshid = "5gsbaby";
interface = "mesh0";
passive = 0;
debug = 1;
mediaopt = 1;
band = "11a";
channel = 36;
htmode="HT40";
};
};

--------------
cut
--------------


-------
TEST-ROUTER:~# cat /sys/kernel/debug/ieee80211/phy0/
ath9k/                   long_retry_limit         rts_threshold
channel_type             netdev:mon.wlan2/        short_retry_limit
fragmentation_threshold  netdev:wlan2/            statistics/
frequency                power                    total_ps_buffered
ht40allow_map            queues                   user_power
hwflags                  rc/                      wep_iv
keys/                    reset

-------
TEST-ROUTER:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/
base_eeprom    gpio_mask      modal_eeprom   reset          xmit
debug          gpio_val       recv           rx_chainmask
disable_ani    ignore_extcca  regdump        samples
dma            interrupt      regidx         stations
dump_nfcal     misc           regval         tx_chainmask


----------
DMESG only shows some basic info
[52188.021629] mesh0: Mesh plink: starting establishment with
00:22:4d:84:4c:aa
[52188.021700] mesh0: STA 00:22:4d:84:4c:aa : offset was invalid,
sta->t_offset=12667758585
[52188.023936] mesh0: Mesh plink (peer, state, llid, plid, event):
00:22:4d:84:4c:aa OPN-SNT 48216 0 1
[52188.024019] mesh0: Mesh plink (peer, state, llid, plid, event):
00:22:4d:84:4c:aa OPN-RCVD 48216 21446 4
[52188.024025] mesh0: Mesh plink with 00:22:4d:84:4c:aa ESTABLISHED

----------
Below is the dump of iw for the radio
--------------
cut
--------------

Wiphy phy0
    Band 1:
        Capabilities: 0x104e
            HT20/HT40
            SM Power Save disabled
            RX HT40 SGI
            No RX STBC
            Max AMSDU length: 3839 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-15
        Frequencies:
            * 2412 MHz [1] (20.0 dBm)
            * 2417 MHz [2] (20.0 dBm)
            * 2422 MHz [3] (20.0 dBm)
            * 2427 MHz [4] (20.0 dBm)
            * 2432 MHz [5] (20.0 dBm)
            * 2437 MHz [6] (20.0 dBm)
            * 2442 MHz [7] (20.0 dBm)
            * 2447 MHz [8] (20.0 dBm)
            * 2452 MHz [9] (20.0 dBm)
            * 2457 MHz [10] (20.0 dBm)
            * 2462 MHz [11] (20.0 dBm)
            * 2467 MHz [12] (disabled)
            * 2472 MHz [13] (disabled)
            * 2484 MHz [14] (disabled)
        Bitrates (non-HT):
            * 1.0 Mbps
            * 2.0 Mbps (short preamble supported)
            * 5.5 Mbps (short preamble supported)
            * 11.0 Mbps (short preamble supported)
            * 6.0 Mbps
            * 9.0 Mbps
            * 12.0 Mbps
            * 18.0 Mbps
            * 24.0 Mbps
            * 36.0 Mbps
            * 48.0 Mbps
            * 54.0 Mbps
    Band 2:
        Capabilities: 0x104e
            HT20/HT40
            SM Power Save disabled
            RX HT40 SGI
            No RX STBC
            Max AMSDU length: 3839 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-15
        Frequencies:
            * 5180 MHz [36] (20.0 dBm) (passive scanning, no IBSS)
            * 5200 MHz [40] (20.0 dBm) (passive scanning, no IBSS)
            * 5220 MHz [44] (20.0 dBm) (passive scanning, no IBSS)
            * 5240 MHz [48] (20.0 dBm) (passive scanning, no IBSS)
            * 5260 MHz [52] (disabled)
            * 5280 MHz [56] (disabled)
            * 5300 MHz [60] (disabled)
            * 5320 MHz [64] (disabled)
            * 5500 MHz [100] (disabled)
            * 5520 MHz [104] (disabled)
            * 5540 MHz [108] (disabled)
            * 5560 MHz [112] (disabled)
            * 5580 MHz [116] (disabled)
            * 5600 MHz [120] (disabled)
            * 5620 MHz [124] (disabled)
            * 5640 MHz [128] (disabled)
            * 5660 MHz [132] (disabled)
            * 5680 MHz [136] (disabled)
            * 5700 MHz [140] (disabled)
            * 5745 MHz [149] (20.0 dBm) (passive scanning, no IBSS)
            * 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS)
            * 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS)
            * 5805 MHz [161] (20.0 dBm)
            * 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS)
        Bitrates (non-HT):
            * 6.0 Mbps
            * 9.0 Mbps
            * 12.0 Mbps
            * 18.0 Mbps
            * 24.0 Mbps
            * 36.0 Mbps
            * 48.0 Mbps
            * 54.0 Mbps
    max # scan SSIDs: 4
    max scan IEs length: 2257 bytes
    Coverage class: 0 (up to 0m)
    Supported Ciphers:
        * WEP40 (00-0f-ac:1)
        * WEP104 (00-0f-ac:5)
        * TKIP (00-0f-ac:2)
        * CCMP (00-0f-ac:4)
        * CMAC (00-0f-ac:6)
    Available Antennas: TX 0x7 RX 0x7
    Configured Antennas: TX 0x7 RX 0x7
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * AP/VLAN
         * WDS
         * monitor
         * mesh point
         * P2P-client
         * P2P-GO
    software interface modes (can always be added):
         * AP/VLAN
         * monitor
    valid interface combinations:
         * #{ managed, WDS, P2P-client } <= 2048, #{ AP, mesh point, P2P-GO
} <= 8,
           total <= 2048, #channels <= 1
    Supported commands:
         * new_interface
         * set_interface
         * new_key
         * start_ap
         * new_station
         * new_mpath
         * set_mesh_config
         * set_bss
         * authenticate
         * associate
         * deauthenticate
         * disassociate
         * join_ibss
         * join_mesh
         * remain_on_channel
         * set_tx_bitrate_mask
         * frame
         * frame_wait_cancel
         * set_wiphy_netns
         * set_channel
         * set_wds_peer
         * tdls_mgmt
         * tdls_oper
         * probe_client
         * set_noack_map
         * register_beacons
         * testmode
         * connect
         * disconnect
    Supported TX frame types:
         * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
         * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
         * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
         * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
         * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
    Supported RX frame types:
         * IBSS: 0xb0 0xc0 0xd0
         * managed: 0x40 0xd0
         * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
         * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
         * mesh point: 0xb0 0xc0 0xd0
         * P2P-client: 0x40 0xd0
         * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    Device supports RSN-IBSS.
    HT Capability overrides:
         * MCS: ff ff ff ff ff ff ff ff ff ff
         * maximum A-MSDU length
         * supported channel width
         * short GI for 40 MHz
         * max A-MPDU length exponent
         * min MPDU start spacing
    Device supports TX status socket option.
    Device supports HT-IBSS.
---------
cut
---------
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to