set wep key

Jouni Malinen jkmaline at
Wed May 7 22:53:46 EDT 2003

On Tue, May 06, 2003 at 07:05:01PM +0200, Manuel Sánchez Cuenca wrote:

> Hello, how can I set the wep key in the code of hostap. Somebody can tell me a code example of the use of prism2_wep_set_key

Which WEP key would you like to change? And from which part of the code?
Kernel driver (which module)? hostapd? Something else in user space?
hostap_ioctl.c has an example of how to setup keys from hostap.o code;
see prism2_ioctl_siwencode().

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list