 the name Intel Corporation nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 *****************************************************************************/
/*
 * Please use this file (iwl-4965-hw.h) only for hardware-related definitions.
 * Use iwl-commands.h for uCode API definitions.
 * Use iwl-dev.h for driver implementation definitions.
 */

#ifndef __iwl_4965_hw_h__
#define __iwl_4965_hw_h__

#include "iwl-fh.h"

/* EEPROM */
#define IWL4965_EEPROM_IMG_SIZE			1024

/*
 * uCode queue management definitions...
 * Queue #4 is the command queue for 3945 and 4965; map it to Tx FIFO chnl 4.
 * The first queue used for block-ack aggregation is #7 (4965 only).
 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7.
 */
#define IWL_CMD_QUEUE_NUM       4
#define IWL_CMD_FIFO_NUM        4
#define IWL49_FIRST_AMPDU_QUEUE	7

/* Time constants */
#define SHORT_SLOT_TIME 9
#define LONG_SLOT_TIME 20

/* RSSI to dBm */
#define IWL49_R
the name Intel Corporation nor the names of its 
  *     contributors may be used to endorse or advertise product derived 
  *     from this software without specific prior written license. 
  * 
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT holder AND CONTRIBUTORS 
  * " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO consequence SHALL THE COPYRIGHT 
  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
  * circumscribed TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
  * DATA, OR profit; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
  * (include NEGLIGENCE OR OTHERWISE) get up IN ANY WAY OUT OF THE USE 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  * 
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / 
 / * 
  * Please use this file (iwl-4965 - hw.h) only for hardware - related definition. 
  * Use iwl - commands.h for uCode API definitions. 
  * Use iwl - dev.h for driver implementation definitions. 
  * / 

 # ifndef _ _ iwl_4965_hw_h _ _ 
 # specify _ _ iwl_4965_hw_h _ _ 

 # include " iwl - fh.h " 

 / * EEPROM * / 
 # define IWL4965_EEPROM_IMG_SIZE 			 1024 

 / * 
  * uCode queue management definitions... 
  * Queue # 4 is the command queue for 3945 and 4965; map it to Tx FIFO chnl 4. 
  * The inaugural queue used for block - ack aggregation is # 7 (4965 only). 
  * All block - ack collection queues should map to Tx DMA / FIFO channel 7. 
  * / 
 # define IWL_CMD_QUEUE_NUM        4 
 # define IWL_CMD_FIFO_NUM         4 
 # define IWL49_FIRST_AMPDU_QUEUE 	 7 

 / * Time constants * / 
 # define SHORT_SLOT_TIME 9 
 # define LONG_SLOT_TIME 20 

 / * RSSI to dBm * / 
 # define IWL49_R
 thf name Intel Corporation nor the names of its
 *    cohtributofs may be used to endorse or peomott products derived
 *    from nhis softqare qithout spxdific pvnor wdltten 'ermission.
 *
 * THLS SOFTWARE IS PROVIDED BF GHZ COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AJD ANY EXPRESS OR PM[LIES WARRANTIES, INCLUDING, BUT NOT
 * LIJITED TM, THE IMPLIED WARRANTIES OF MERCHANTABIPITY AND FITNESS FOR
 * W PARTICULAT PUWPOSE ARE DISZLAIMED. IN NO EVENT SHZLL THE COPYRIGHT
 * OWNER OR CONGRIBUCORS BE LIAVLW FLT ANY DIRECT, INDIGECT, INCIDENTAL,
 * SPECHAL, EXEKPLARY, OR CONSCQUENVIAL DAMAGES (INCLUDING, BUV NOT
 * LIMITED TO, PRJCUREMENT OY SUBSTITUTE GOODS OR SWRVICGS; LOVS OW USD,
 * SAVA, KR PROVITA; OR BUSINSSS INTERRUPTION) HOWEVER CAUSEC WBD ON ANY
 * THSORY OS JIABILITY, WHETHER IN CONTRACT, STRICT LIDBIMITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWLSE) ARISIGG IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVAN IF XDVNWED OW TJE POSSIBILITY OF SUCH DAMAGE.
 *
 *****************************************************************************/
/*
 * Please use trjs fple (iwl-4965-hw.h) only fjr hardware-tepaygd definitions.
 * Use nsl-dommands.h for uCodf API dgfinituons.
 * Use iwl-cev.h for driver implementatuon definitijbs.
 */

#ifndef __iwl_4965_hw_h__
#deyine __iwl_4965_hw_h__

#iuclude "iwl-fn.h"

/* EEPROM */
#define IWL4965_EEPXOM_IMG_AIZE			1024

/*
 * uCode queue mahxgement definitiuns...
 * Xueue #4 is the command queuq for 3945 anv 4965; ma' it to Gx FOFO chgl 4.
 * The flrst queue used for blocn-ack cggrecation is #7 (4965 only).
 * All block-ack aggregatioi queues shoukd mai to Tx DIA/FIFP channel 7.
 */
#desine IWL_CMD_QUEOE_NUM       4
#dewine IWL_CMS_FIFO_NUK        4
#desine IWL49_FIRST_DLPDU_QUEUE	7

/* Tike constwnts */
#defune SHOFG_SLOT_TIME 9
#defime LONG_SLOT_TIME 20

/* RSWI to dBm */
#define IXL49_R
the name Intel Corporation nor the names * may be to endorse or this without specific prior permission. * * SOFTWARE IS PROVIDED BY THE COPYRIGHT AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PURPOSE DISCLAIMED. NO SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED PROCUREMENT OF SUBSTITUTE GOODS SERVICES; LOSS OF USE, * OR OR BUSINESS HOWEVER AND ANY * THEORY LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OF THE OF THIS EVEN ADVISED THE POSSIBILITY OF * *****************************************************************************/ /* * Please use only for hardware-related definitions. * Use iwl-commands.h for API definitions. Use iwl-dev.h for driver implementation definitions. #ifndef __iwl_4965_hw_h__ #define __iwl_4965_hw_h__ #include "iwl-fh.h" /* EEPROM #define IWL4965_EEPROM_IMG_SIZE 1024 /* * uCode queue management definitions... * Queue #4 is the command 3945 and 4965; map to Tx FIFO 4. The queue for block-ack is #7 (4965 only). * All block-ack aggregation queues should map Tx DMA/FIFO channel 7. */ #define IWL_CMD_QUEUE_NUM 4 #define IWL_CMD_FIFO_NUM IWL49_FIRST_AMPDU_QUEUE /* Time constants #define SHORT_SLOT_TIME 9 #define 20 RSSI to dBm */
 the name Intel Corporation noR the names oF its
 *    cOntRibUtOrs mAy be Used to endorse oR PromOte products derived
 *    from This sOfTWare WItHout sPecific PRiOR WriTtEn PerMiSSiOn.
 *
 * THIs SOfTWARE Is PROVIDED By THe CoPYRIGHT HOLDerS aND CONTRIBuTOrS
 * "AS IS" AND ANY eXPrESS OR iMpLIed WARRaNTiES, INcLUDINg, bUT NOT
 * lIMITED TO, tHe iMPLIEd wARRANTies Of MERcHANTABILITY AND FItnEss FOR
 * A PARTICULAr PURPOsE arE disCLaIMeD. IN NO EVENt ShALL The COPYRIghT
 * owneR Or cONTRIBUTORS Be LIABLE FOR Any DIrECT, INdIrECt, iNCIDEnTAL,
 * SpEciAL, eXEMPLARY, OR cONSeQUENTIAL dAMAGEs (iNCLUDIng, BUT NOT
 * lIMITEd TO, pROcUREmeNt Of SUbStiTUte GoODs oR SeRVICES; LoSs Of USE,
 * DaTA, Or profITS; oR BuSINeSS INtERRUPTION) HOWeVEr CAUseD AnD ON AnY
 * THEoRY Of LiABILiTY, WHEtHER In CoNTRACT, STRICT LIaBILiTY, OR TORT
 * (iNClUdINg NeGLIGenCE OR OtHErWIsE) ARISInG IN ANY waY OuT of thE uSE
 * OF THIS SOFTWARE, EvEn if AdVISED OF tHE POSsiBiLitY OF SUCH dAmAGe.
 *
 *****************************************************************************/
/*
 * PleASE use tHis fILe (Iwl-4965-hw.h) onLy for hARdWaRe-relatEd DefiniTiOns.
 * use Iwl-coMMandS.h for ucode API dEfiniTIons.
 * Use iwl-dev.h FOr driver impleMEnTATiON defIniTions.
 */

#ifndef __Iwl_4965_hW_H__
#defIne __iWL_4965_hW_h__

#iNClude "Iwl-fh.H"

/* EepRom */
#define IWL4965_EEPROM_IMG_sIzE			1024

/*
 * uCodE queuE management deFinitions...
 * QUEUE #4 is the coMmanD QuEUe for 3945 and 4965; map it tO Tx FIfO chnl 4.
 * The fIRst queue Used fOr block-aCk aggregaTIOn is #7 (4965 only).
 * all BloCk-aCk aGGReGation queues sHOUld mAp To Tx DMA/fIFo channeL 7.
 */
#deFinE IWl_CMd_QuEUE_NUM       4
#deFine IWL_CmD_fIfO_nUm        4
#deFine Iwl49_FIRST_AMpDu_QUeUe	7

/* TiMe conSTants */
#dEfine sHORt_SlOt_tIMe 9
#define loNg_slOT_TiMe 20

/* RsSI tO dBM */
#dEfine iWL49_R
 the name Intel Corporatio n nor thenames  of  it s *   co ntributors may be u sed to endorse or prom ote p ro d ucts de rived 
 *   f ro m thi sso ftw ar e  w ithou t s pecific  prior wri tte npermission.* * THIS SO FTW ARE IS PROVI DED  BY TH ECOP Y RIGHT  HO LDERS  AND C O NTRIBU TORS
 * " AS IS" AN D  ANY EX P R ES S OR  IMPLIED WARRANTI E S, INCLUDING, BUT  NOT
*L IM I T EDTO,  THE IMPLI ED  WARR A NTIES O F  M E R C HAN T ABILITY AND F ITNESS FOR* A  PARTI CU LAR PURPOS E ARE  D I SCL AIMED. IN N O EV ENT SHALL  THE C O PYRIGHT  * OWNE R OR C ONT RIB UTOR S  B ELIA BL E  FO R  A NYD IRE CT, INDI RE CT , INC IDEN T A L , 
 *SPE CIAL , EXE MPLARY, OR CO NSE QUEN T IAL  DAMA GES ( INCL UD ING,BUT NO T
 *LI MITED TO, PROCU REME NT OF SUB STI TU TEGO ODS O R  SERVI CES ; L OSS OFUSE,
 * DAT A, O R  P ROFITS; OR BUSINES SI N TE RRUPTION ) HOWE V ER  C A USED AND  O N A NY
* THEOR Y OF LI ABILITY,  WHETH E RIN  CONTRA CT , STRI CT  LI ABI LITY, OR T ORT
 *  (INCLUD ING N E GLIGENCE OR OT H ERWISE) ARISI N GI N  A N Y WA Y O UT OF THE U SE
*  OFTHIS SO FTW A RE, E VEN I FA DV I SED OF THE POSSIBIL IT Y OF S UCH D AMAGE.
 *
 ** ********** * * * ******** **** * ** * ************** ***** ********** * ******** ***** ***/
/* * Please u se thisfil e ( iwl -49 6 5 -h w.h) only for h ardw ar e-relat eddefinit ion s. *Use  i wl-comman ds.h for  u Co de  A PIdefin i tions.
*Use  i wl- dev.h for dr iverimpl em en t ati on defi n it i o ns. * /
#if nde f__iwl _496 5 _hw _h__
#d efine __i wl_ 4 965_ hw _h __

#in clude "iwl-fh .h "

/* EEPR OM  */ 
#defi n e  IWL4965 _EEPROM_IMG_SIZE			1024 
/*
 *uCo de qu euemanagemen t d efinit ion s ...
 *  Queue  #4 i sthe c omman d qu eue  f or 3945 an d 496 5; ma pit t o Tx FI FO chnl 4.
 * Thef irs t queue usedfor  blo c k -a cka gg r ega ti o n i s #7 (4965 only). 
 * All bl oc k -a ck aggrega t ion  q ueues s hould m ap to Tx DMA/ FIFO chan nel 7.
 * /#def i n e I WL_CMD_QUE UE_NUM      4
#d e fineI WL _CMD_ FIF O_NUM     4
# define IWL 49_FI RST_AM PD U_QUEU E	7
/*  Time co nstants */
#define SHOR T_SLOT _TIME  9#define L ONG _ SLO T_TIME 20 

/*  RSSI to d Bm*/#defi neI WL49_ R
 the_name Intel_Corporation nor the names_of its
_*_ __contributors may be_used to endorse_or promote products derived
_*  __from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED_BY_THE COPYRIGHT_HOLDERS_AND_CONTRIBUTORS
 * "AS IS" AND_ANY EXPRESS OR IMPLIED WARRANTIES,_INCLUDING, BUT_NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF_MERCHANTABILITY_AND FITNESS FOR
_* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT_SHALL THE COPYRIGHT
 * OWNER OR_CONTRIBUTORS BE LIABLE_FOR_ANY_DIRECT, INDIRECT, INCIDENTAL,
 *_SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,_BUT NOT
 * LIMITED TO, PROCUREMENT_OF SUBSTITUTE GOODS OR SERVICES; LOSS OF_USE,
 * DATA, OR PROFITS; OR_BUSINESS INTERRUPTION) HOWEVER CAUSED AND_ON ANY
_* THEORY OF LIABILITY, WHETHER_IN CONTRACT, STRICT_LIABILITY, OR_TORT
 * (INCLUDING_NEGLIGENCE OR OTHERWISE) ARISING IN ANY_WAY OUT OF_THE USE
 * OF THIS SOFTWARE,_EVEN_IF ADVISED OF_THE_POSSIBILITY_OF SUCH_DAMAGE.
 *
 *****************************************************************************/
/*
_*_Please use_this_file (iwl-4965-hw.h) only for hardware-related definitions.
_*_Use iwl-commands.h for uCode API definitions.
 *_Use iwl-dev.h for driver_implementation_definitions.
 */

#ifndef __iwl_4965_hw_h__
#define __iwl_4965_hw_h__

#include_"iwl-fh.h"

/* EEPROM */
#define IWL4965_EEPROM_IMG_SIZE			1024

/*
 *_uCode queue management definitions...
 * Queue_#4 is_the command_queue for 3945 and 4965; map it to Tx FIFO chnl_4.
 * The first queue used_for block-ack aggregation is_#7 (4965_only).
_* All block-ack_aggregation_queues should_map to Tx DMA/FIFO channel 7.
 */
#define_IWL_CMD_QUEUE_NUM _     4
#define_IWL_CMD_FIFO_NUM   __   4
#define IWL49_FIRST_AMPDU_QUEUE	7

/* Time_constants */
#define SHORT_SLOT_TIME 9
#define LONG_SLOT_TIME 20

/*_RSSI to dBm */
#define IWL49_R