/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
H A D | ah_eeprom_v1.c | 204 /* Copy pcdac and gain_f values from EEPROM */ 205 chan->pcdac[0] = (athvals[loc] >> 10) & 0x3F; 207 chan->pcdac[1] = ((athvals[loc] << 2) & 0x3C) 210 chan->pcdac[2] = (athvals[loc+1] >> 2) & 0x3F; 213 chan->pcdac[3] = (athvals[loc+2] >> 6) & 0x3F; 215 chan->pcdac[4] = (athvals[loc+3] >> 10) & 0x3F; 217 chan->pcdac[5] = ((athvals[loc+3] << 2) & 0x3C) 220 chan->pcdac[6] = (athvals[loc+4] >> 2) & 0x3F; 223 chan->pcdac[7] = (athvals[loc+5] >> 6) & 0x3F; 225 chan->pcdac[ [all...] |
H A D | ah_eeprom_v1.h | 55 #define AR_TP_SCALING_ENTRIES 11 /* # entries in transmit power dBm->pcdac */ 73 uint8_t pcdac[AR_TP_SCALING_ENTRIES]; member in struct:tpcMap
|
H A D | ah_eeprom_v3.c | 229 pExpnXPD->pcdac[0] = pCalCh->pcd1_xg0; 230 pExpnXPD->pcdac[1] = (uint16_t) 231 (pExpnXPD->pcdac[0] + pCalCh->pcd2_delta_xg0); 232 pExpnXPD->pcdac[2] = (uint16_t) 233 (pExpnXPD->pcdac[1] + pCalCh->pcd3_delta_xg0); 234 pExpnXPD->pcdac[3] = (uint16_t) 235 (pExpnXPD->pcdac[2] + pCalCh->pcd4_delta_xg0); 243 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[0]].pcdac[0] = pCalCh->pcd1_xg0; 244 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[0] = 20; 245 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[ [all...] |
H A D | ah_eeprom_9287.h | 117 uint8_t pcdac[2][5]; member in struct:cal_data_op_loop_ar9287
|
H A D | ah_eeprom_v14.h | 251 uint8_t pcdac[2][5]; /* pcdac used for power measurement */ member in struct:calDataPerFreqOpLoop
|
H A D | ah_eeprom_v3.h | 153 /* Used during pcdac table construction */ 185 /* points to the appropriate pcdac structs in the above struct based on mode */ 236 uint16_t pcdac[NUM_POINTS_XPD0]; member in struct:__anon2015 264 int16_t pwr1_xg3; /* pcdac = 20 */ 265 int16_t pwr2_xg3; /* pcdac = 35 */ 266 int16_t pwr3_xg3; /* pcdac = 63 */
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 611 * Returns: the pcdac value 623 if (pRD->pcdac[i] != 63) 624 return pRD->pcdac[i]; 628 if (pRD->pcdac[i] != 63 && pRD->pcdac[i-1] != 63) { 629 interp = (350 * (pRD->pcdac[i] - pRD->pcdac[i-1])) + 999; 630 interp = (interp / 1000) + pRD->pcdac[i-1]; 636 if (pRD->pcdac[i] != 63) 637 return pRD->pcdac[ 657 getGainF(struct ath_hal *ah, const struct tpcMap *pRD, uint8_t pcdac, uint8_t *dBm) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9280_olc.c | 65 uint8_t pcdac, i = 0; local 80 pcdac = rawDatasetOpLoop[idxL].pcdac[0][0]; 83 pcdac = rawDatasetOpLoop[idxR].pcdac[0][0]; 87 while (pcdac > AH9280(ah)->originalGain[i] &&
|
H A D | ar9280.c | 203 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 207 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
H A D | ar9287.c | 209 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 213 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5112.c | 434 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], 447 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], 461 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], 615 "%s: at least 2 pcdac values needed [%d]\n", 657 /* Search for highest pcdac 0.25dB below maxPower */ 695 uint16_t msbFlag = 0x40; // turns on the 7th bit of the pcdac 706 /* Search for highest pcdac 0.25dB below maxPower */ 754 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 758 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
H A D | ar5111.c | 52 static void ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, 413 /* setup the pcdac struct to point to the correct info, based on mode */ 457 /* Now scale the pcdac values to fit in the 64 entry power table */ 478 * this pcdac the same as the power from the 479 * next highest pcdac. 491 /* Find the first power level with a pcdac */ 495 /* Write all the first pcdac entries based off the pcdacMin */ 523 /* Write all the last pcdac entries based off the last valid pcdac */ 537 * Get or interpolate the pcdac valu 608 ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, const PCDACS_EEPROM *pSrcStruct, uint16_t *pLowerPcdac, uint16_t *pUpperPcdac) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar2133.c | 322 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 326 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_reset.c | 135 static void ar5211GetLowerUpperPcdacs(uint16_t pcdac, 1324 /* setup the pcdac struct to point to the correct info, based on mode */ 1411 /* Now scale the pcdac values to fit in the 64 entry power table */ 1432 * this pcdac the same as the power from the 1433 * next highest pcdac. 1445 /* Find the first power level with a pcdac */ 1448 /* Write all the first pcdac entries based off the pcdacMin */ 1472 /* Write all the last pcdac entries based off the last valid pcdac */ 1691 * Get or interpolate the pcdac valu 1870 ar5211GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, const PCDACS_EEPROM *pSrcStruct, uint16_t *pLowerPcdac, uint16_t *pUpperPcdac) argument [all...] |