Update regression tests for current API, add makefiles
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 27 Nov 2007 21:40:19 +0000 (21:40 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 27 Nov 2007 21:40:19 +0000 (21:40 +0000)
commit261fcaa170902908a9a03cc2c78669efce601e45
tree6534181c995f4288f3c1bf6d5faad5296239d0f7
parent4df2d580a7f10793efbe2bf2946d9aebaa0efc40
Update regression tests for current API, add makefiles

The new crypto API uses VAP, so allocate one.  Use keys from
vap->iv_nw_keys with the provided key index (0 for TKIP), don't allocate
another key on the stack.  Synchronize context structures with the
current code.

Return -ENXIO on failure.  It's hard to find a sensible code for crypto
test failure, but -1 (-EPERM) was misleading.  Fix TKIP test that was
ignoring failures.

Update module parameters for Linux 2.6.  Provide makefiles to facilitate
compilation.  Fix all sparse warnings.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2983 0192ed92-7a03-0410-a25b-9323aeb14dbd
regression/Makefile [new file with mode: 0644]
regression/ccmp/Makefile [new file with mode: 0644]
regression/ccmp/test_ccmp.c
regression/tkip/Makefile [new file with mode: 0644]
regression/tkip/test_tkip.c
regression/wep/Makefile [new file with mode: 0644]
regression/wep/test_wep.c