Radio Control Interface instance
Life cycle rules: those of the UWB Device.
: an index number for this radio controller, as used in the device name.
- Version
- : version of protocol supported by this device : Backend implementation; rw with uwb_dev.dev.sem taken. : Backend implementation to execute commands; rw and call only with uwb_dev.dev.sem taken. : Hardware reset of radio controller and any PAL controllers. : Backend implementation to manipulate data to and from device to be compliant to specification assumed by driver (WHCI 0.95).
uwb_dev.dev.mutex is used to execute commands and update the corresponding structures; can't use a spinlock because rc->cmd() can sleep. : This is a dynamically allocated array cacheing the IEs (settable by the host) that the beacon of this radio controller is currently sending.
In reality, we store here the full command we set to the radio controller (which is basically a command prefix followed by all the IEs the beacon currently contains). This way we don't have to realloc and memcpy when setting it.
We set this up in uwb_rc_ie_setup(), where we alloc this struct, call get_ie() [so we know which IEs are currently being sent, if any].
:Amount of space (in bytes) allocated in . The amount used is given by sizeof(*ies) plus ies->wIELength (which is a little endian quantity all the time). : protect the IE cache : information for the debug interface
Definition at line 371 of file uwb.h.