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_paramstruct we findnow, here’s what the code looks like in
wireless.hI cannot think of a way to access it other than
bitrate->value