Home | History | Annotate | Download | only in ar5212

Lines Matching defs:IS

6  * purpose with or without fee is hereby granted, provided that the above
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
95 * bChannelChange is used to preserve DMA/PCU registers across
125 #define IS(_c,_f) (((_c)->channelFlags & _f) || 0)
126 if ((IS(chan, CHANNEL_2GHZ) ^ IS(chan, CHANNEL_5GHZ)) == 0) {
132 if ((IS(chan, CHANNEL_OFDM) ^ IS(chan, CHANNEL_CCK)) == 0) {
138 #undef IS
177 * On Venice, the TSF is almost preserved across a reset;
182 * of the times); the latter is not a problem for adhoc
183 * stations since as long as the TSF is behind, it will
188 * is to resynchronize the various sleep/beacon timers on
190 * gets resynchronized to the AP's TSF - power save is
202 * XXX timing error floods when ani is enabled and bg scanning
205 /* If the channel change is across the same mode - perform a fast channel change */
466 * Default is enabled.
482 * Value is in 100ns increments.
495 * There is an issue if the AP starts the calibration before
510 * The udelay method is not reliable with notebooks.
511 * Need to check to see if the baseband is ready
552 * and disabled. This is done with RMW ops to insure the
719 * TX is not stopped, or the RFBus cannot be granted in the given
720 * time, the function returns false as a reset is necessary
762 * Read the phy active delay register. Value is in 100ns increments.
946 * mode bit is set
1037 /* IQCORR_Q_I_COFF is a signed 6 bit number */
1044 /* IQCORR_Q_Q_COFF is a signed 5 bit number */
1391 /* NB: need local copy for SAVE/RESTORE 'cuz chan is const */
1698 * spurDeltaPhase is (spurOffsetIn100KHz / chipFrequencyIn100KHz) << 21
1699 * spurFreqSd is (spurOffsetIn100KHz / sampleFrequencyIn100KHz) << 11
1707 case CHANNEL_G: /* Chip Frequency is 44MHz, sampleFrequency is 40 MHz */
1722 /* The spur is on a bin if it's remainder at times 16 is 0 */
1819 * floor(log2(x)) is the highest set bit position
1824 /* A coef_exp of 0 is a legal bit position but an unexpected coef_exp */
1830 * The coefficient is already shifted up for scaling
1848 * NB: limit is in units of 0.5 dbM.
1912 * txPowerIndexOffset is set by the SetPowerTable() call -
2093 * If turbo is set, reduce power to keep power
2104 * If turbo is set, reduce power to keep power
2242 * (XXX is that correct?)
2277 * 1. rpow[ii] is the integer value of 2*(desired power
2279 * mapping is as following :
2283 * 2. powv[ii] is the pcdac corresponding to ii/2 dBm.
2381 /* Is lower channel ever outside the rdEdge? */
2420 /* Return as Right target if Ratio is greater than 100% (SCALE) */
2480 * Search a list for a specified value v that is within
2483 * EEP_DELTA is a factional value; everything is scaled
2484 * so only integer arithmetic is used.
2486 * NB: the input list is assumed to be sorted in ascending order
2510 * If value is close to the current value of the list
2511 * then target is not between values, it is one of the values
2574 * But if we're turbo, the ofdm phy is replaced by the turbo phy
2575 * and cck is not valid with turbo => all rates get covered
2601 /* 11g Table is used to cover the CCK rates. */