Write to a file from hostap driver.

Jouni Malinen jkmaline
Fri Jan 21 20:52:22 PST 2005

On Thu, Jan 20, 2005 at 12:19:04PM -0500, Sangho Shin wrote:

> We are trying to write some information to a file from hostAP driver.
> Can anyone guide how to open, read, write a file from hostAP driver?

This is more a generic Linux kernel question than Host AP driver
specific. Taking into account that writing to a file from kernel is
consider bad design, I would recommend using another mechanism for
whatever you are trying to do, e.g., wireless events over netlink
socket, char dev, debugfs, etc. 

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list