Re: trouble with wep

From: Jouni Malinen (
Date: 2002-06-18 07:00:22 UTC

On Fri, Jun 14, 2002 at 11:03:49PM -0800, J. Patrick O'Neill Jr. wrote:

> i am trying to get wep going using hostap_pci with my access point with no
> luck. does wep work in ap mode?


> i tried to set the host_encrypt and host_decrypt values to 0 and 1
> respectively but met with the following error.

> [root_at_buffalo root]# iwpriv wlan0 prism2_param host_decript 2
> Interface doesn't accept private ioctl...
> 89F1: Operation not supported

You will need to use utils/prism2_param script for this:

utils/prism2_param wlan0 host_decrypt 1

(or by knowing that host_decrypt maps to 18 you can use 'iwpriv wlan0 prism2_param 18 1')

The driver defaults to host_encrypt in AP mode (due to firmware problems) and host_decrypt is needed only on some older cards.

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.