I'm writing a kernel module that needs to read the value of bitrate
from this union:
union iwreq_data
{==
.......
struct iw_param bitrate; /* default bit rate */
....
}
This code is form wireless.h
Does anyone know how I can access it's value?
(I'm using linux kernel 2.6.35)
There's no way to do that, unfortunately ...
taking a closer look at the
iw_param
struct we findnow, here's what the code looks like in
wireless.h
I cannot think of a way to access it other than
bitrate->value