Lines Matching defs:rate2
1417 int rate_start_index = 0, rate1, rate2, k;
1419 for (rate1 = WL_TX_POWER_CCK_FIRST, rate2 = 0;
1420 rate2 < WL_TX_POWER_CCK_NUM; rate1++, rate2++)
1421 pi->txpwr_limit[rate1] = txpwr->cck[rate2];
1423 for (rate1 = WL_TX_POWER_OFDM_FIRST, rate2 = 0;
1424 rate2 < WL_TX_POWER_OFDM_NUM; rate1++, rate2++)
1425 pi->txpwr_limit[rate1] = txpwr->ofdm[rate2];
1458 for (rate2 = 0; rate2 < BRCMS_NUM_RATES_OFDM;
1459 rate2++) {
1460 tmp_txpwr_limit[rate2] = 0;
1461 tmp_txpwr_limit[BRCMS_NUM_RATES_OFDM + rate2] =
1462 txpwr_ptr1[rate2];
1468 for (rate1 = rate_start_index, rate2 = 0;
1469 rate2 < BRCMS_NUM_RATES_OFDM; rate1++, rate2++)
1471 min(txpwr_ptr2[rate2],
1472 tmp_txpwr_limit[rate2]);
1502 for (rate2 = 0; rate2 < BRCMS_NUM_RATES_OFDM;
1503 rate2++) {
1504 tmp_txpwr_limit[rate2] = 0;
1505 tmp_txpwr_limit[BRCMS_NUM_RATES_OFDM + rate2] =
1506 txpwr_ptr1[rate2];
1512 for (rate1 = rate_start_index, rate2 = 0;
1513 rate2 < BRCMS_NUM_RATES_MCS_1_STREAM;
1514 rate1++, rate2++)
1516 min(txpwr_ptr2[rate2],
1517 tmp_txpwr_limit[rate2]);
1533 for (rate1 = rate_start_index, rate2 = 0;
1534 rate2 < BRCMS_NUM_RATES_MCS_1_STREAM;
1535 rate1++, rate2++)
1536 pi->txpwr_limit[rate1] = txpwr_ptr1[rate2];
1552 for (rate1 = rate_start_index, rate2 = 0;
1553 rate2 < BRCMS_NUM_RATES_MCS_2_STREAM;
1554 rate1++, rate2++)
1555 pi->txpwr_limit[rate1] = txpwr_ptr1[rate2];