/proc files missing statistics
Sun Jun 1 00:10:20 PDT 2003
On Sat, May 31, 2003 at 11:09:11AM +0200, Santiago Garcia Mantinan wrote:
> > Jouni (or anyone) do you know why I would be missing stats in
> > /proc/net/hostap/wlanx/mac files?
> I have similar problems with my Eumitcom AP, I have not checked the mac file
> but I was seing this while trying to cat the debug info, the end of it was
> missing :-(
I had this problem, once. I ran into it because uClibc has
smaller default stdio buffer sizes, and the proc read function
in the hostap driver does not support reads from seeks greater
than 0. Therefore, it aborts when it goes to read the second
chunk from the procfile.
If this is the same problem you're having, especially if you're
accessing it with uClibc stdio, you should be able to fix it by
giving it a larger buffer. Probably something like setbuffer()
would do this.
More information about the Hostap