I try to use the authsae in 802.11s network.
I am using openwrt with the latest mac802.11 (2013-02-22).
I am using the Thomas Pedersen patch to add the authsae package in my
openwrt source tree
(http://permalink.gmane.org/gmane.linux.drivers.mesh.open80211s/2530) 

To enable the 802.11s and HT20 (or HT40) I need to change the
/lib/wifi/mac80211.sh. Before call mac80211_authsae_setup_mbss I need to
call :
        iw dev $ifname set freq $freq $htmode
        ifconfig $ifname up

Without these calls, the HT mode is not enabled on my mesh network (I
check with wireshark, I don't have the HT tag in beacon). I looking for
understand why the authsae do not enable the HTmode.

My authsae config file is
authsae:
{
 sae:
  {
    debug = 480;
    password = "acksystest";
    group = [19, 26, 21, 25, 20];
    blacklist = 5;
    thresh = 5;
    lifetime = 3600;
  };
 meshd:
  {
    meshid = "cvtest";
    interface = "wlan0";
    passive = 0;
    debug = 1;
    mediaopt = 1;
    band = "11a";
    channel = 36;
    htmode = "HT20";
  };
};

When I run "wifi up" I have a kernel panic.  The crash dump is

[  194.373985] Unable to handle kernel paging request for data at
address 0x00000000
[  194.381535] Faulting instruction address: 0xc929e1c4
[  194.386539] Oops: Kernel access of bad area, sig: 11 [#1]
[  194.391920] MPC831x RDB
[  194.394353] Modules linked in: leds_gpio i2c_gpio i2c_algo_pcf
i2c_algo_bit ledtrig_timer ledtrig_netdev ledtrig_gpio
ledtrig_default_on nf_nat_irc nf_nat_ftp nf_conntrack_irc
nf_conntrack_ftp xt_iprange xt_HL xt_hl xt_ecn ipt_ECN xt_CLASSIFY
xt_time xt_tcpmss xt_statistic xt_mark xt_length xt_DSCP xt_dscp
xt_string xt_layer7 ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE iptable_nat
nf_nat xt_recent xt_helper xt_connmark xt_connbytes pppoe xt_conntrack
xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) ts_fsm ts_bm ts_kmp cfg80211(O) compat(O) arc4
[  194.464129] NIP: c929e1c4 LR: c9297b34 CTR: c9297ad4
[  194.469080] REGS: c7ffbc40 TRAP: 0300   Tainted: G           O
(3.3.8)
[  194.475666] MSR: 00009032 <EE,ME,IR,DR,RI>  CR: 22022042  XER:
00000000
[  194.482290] DAR: 00000000, DSISR: 20000000
[  194.486371] TASK = c79e2b40[1741] 'wifi' THREAD: c73a4000
[  194.491573] GPR00: c9297b34 c7ffbcf0 c79e2b40 c7a79780 c6470390
00000001 c6470348 00000000
[  194.499927] GPR08: 00000000 00000000 00000004 00030024 42028048
1008eba0 00008000 00000000
[  194.508280] GPR16: c91a5174 0000b000 c91a1158 c91a190c 0000c000
0000a000 0000d000 c91a1140
[  194.516635] GPR24: 00000001 c647089c c64703a4 c647039c c7a79780
c7a78aa0 00000000 c647039c
[  194.525165] Call Trace:
[  194.527604] [c7ffbcf0] [c0311544] 0xc0311544 (unreliable)
[  194.532990] [c7ffbd20] [c9297b34] 0xc9297b34
[  194.537246] [c7ffbd30] [c916ac54] 0xc916ac54
[  194.541504] [c7ffbd60] [c919ada4] 0xc919ada4
[  194.545761] [c7ffbd70] [c917de24] 0xc917de24
[  194.550019] [c7ffbe00] [c91802ac] 0xc91802ac
[  194.554276] [c7ffbe40] [c91809e4] 0xc91809e4
[  194.558533] [c7ffbea0] [c929b3c4] 0xc929b3c4
[  194.562791] [c7ffbf70] [c9298fdc] 0xc9298fdc
[  194.567047] [c7ffbf90] [c0020ae4] 0xc0020ae4
[  194.571305] [c7ffbfb0] [c0021208] 0xc0021208
[  194.575562] [c7ffbff0] [c000cea0] 0xc000cea0
[  194.579818] [c73a5ee0] [c000550c] 0xc000550c
[  194.584075] [c73a5f00] [c0021444] 0xc0021444
[  194.588333] [c73a5f10] [c0005424] 0xc0005424
[  194.592589] [c73a5f40] [c000ec3c] 0xc000ec3c
[  194.596847] --- Exception: 501 at 0x10029290
[  194.596856]     LR = 0x10029280
[  194.604217] Instruction dump:
[  194.607203] 4bffe504 9421ffd0 7c0802a6 90010034 bf010010 3b64000c
7c7c1b78 3b24050c
[  194.615086] 7f7fdb78 3b440014 3b000001 83df0018 <83be0000> 48007ec1
7d3bf850 381f0008
[  194.623131] ---[ end trace 5e208ae1dbf3ec84 ]---
[  194.627728]
[  195.619388] Kernel panic - not syncing: Fatal exception in interrupt

The authsae work correctly if the HT mode is not enabled (in 802.11a
only for exemple).

Best regards.

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

Reply via email to