Linux Kernel
3.7.1
|
#include <iwl-trans.h>
struct iwl_trans_ops - transport specific operations
All the handlers MUST be implemented
: starts the HW- from that point on, the HW can send interrupts May sleep : stops the HW- from that point on, the HW will be in low power but will still issue interrupt if the HW RF kill is triggered unless op_mode_leaving is true. May sleep : allocates and inits all the resources for the transport layer. Also kick a fw image. May sleep : called when the fw sends alive notification May sleep :stops the whole device (embedded CPU put to reset) May sleep : put the device into the correct mode for WoWLAN during suspend. This is optional, if not implemented WoWLAN will not be supported. This callback may sleep. :send a host command May sleep only if CMD_SYNC is set : send an skb Must be atomic : free packet until ssn. Returns a list of freed packets. Must be atomic : setup a queue. To setup an AC queue, use the iwl_trans_ac_txq_enable wrapper. fw_alive must have been called before this one. The op_mode must not configure the HCMD queue. May sleep. : de-configure a Tx queue to send AMPDUs Must be atomic : wait until all tx queues are empty May sleep : add the dbgfs files under this directory. Files will be automatically deleted. : stop the device unless WoWLAN is configured : resume activity of the device : write a u8 to a register at offset ofs from the BAR : write a u32 to a register at offset ofs from the BAR : read a u32 register at offset ofs from the BAR : configure parameters required by the transport layer from the op_mode. May be called several times before start_fw, can't be called after that. : set the power pmi state
Definition at line 383 of file iwl-trans.h.
Definition at line 413 of file iwl-trans.h.
Definition at line 404 of file iwl-trans.h.
Definition at line 397 of file iwl-trans.h.
Definition at line 393 of file iwl-trans.h.
Definition at line 387 of file iwl-trans.h.
Definition at line 386 of file iwl-trans.h.
Definition at line 395 of file iwl-trans.h.
void(* txq_enable)(struct iwl_trans *trans, int queue, int fifo, int sta_id, int tid, int frame_limit, u16 ssn) |
Definition at line 400 of file iwl-trans.h.
Definition at line 411 of file iwl-trans.h.
Definition at line 410 of file iwl-trans.h.