arn9003.c | 2317 #define SCALE (1 << 15) 2355 mag[i][j] = (m * SCALE) / p; 2356 phs[i][j] = (c * SCALE) / p; 2367 sin[i] = (sin[i] * SCALE) / div; 2368 cos[i] = (cos[i] * SCALE) / div; 2374 f2 = (f1 * f1 + f3 * f3) / SCALE; 2385 if (txmag == SCALE) 2389 rxmag = mag[0][0] - (cos[0] * txmag + sin[0] * txphs) / SCALE; 2391 rxphs = phs[0][0] + (sin[0] * txmag - cos[0] * txphs) / SCALE; 2393 if (-rxmag == SCALE) 2639 int32_t scale, atemp, avolt, tempcal, voltcal, temp, volt; local in function:ar9003_get_desired_txgain 2781 int alpha, beta, scale, Qalpha, Qbeta, Qscale, Qx, Qb1, Qb2; local in function:ar9003_compute_predistortion [all...] |