Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ath5k_ini_rfbuffer Struct Reference

#include <rfbuffer.h>

Data Fields

u8 rfb_bank
 
u16 rfb_ctrl_register
 
u32 rfb_mode_data [3]
 

Detailed Description

DOC: RF Buffer registers

There are some special registers on the RF chip that control various operation settings related mostly to the analog parts (channel, gain adjustment etc).

We don't write on those registers directly but we send a data packet on the chip, using a special register, that holds all the settings we need. After we've sent the data packet, we write on another special register to notify hw to apply the settings. This is done so that control registers can be dynamically programmed during operation and the settings are applied faster on the hw.

We call each data packet an "RF Bank" and all the data we write (all RF Banks) "RF Buffer". This file holds initial RF Buffer data for the different RF chips, and various info to match RF Buffer offsets with specific RF registers so that we can access them. We tweak these settings on rfregs_init function.

Also check out reg.h and U.S. Patent 6677779 B1 (about buffer registers and control registers):

http://www.google.com/patents?id=qNURAAAAEBAJ struct ath5k_ini_rfbuffer - Initial RF Buffer settings : RF Bank number : RF Buffer control register : RF Buffer data for each mode

Struct to hold default mode specific RF register values (RF Banks) for each chip.

Definition at line 58 of file rfbuffer.h.

Field Documentation

u8 rfb_bank

Definition at line 59 of file rfbuffer.h.

u16 rfb_ctrl_register

Definition at line 60 of file rfbuffer.h.

u32 rfb_mode_data[3]

Definition at line 61 of file rfbuffer.h.


The documentation for this struct was generated from the following file: