• Home
  • Raw
  • Download

Lines Matching refs:rate_section

902 	u8 band, rfpath, txnum, rate_section;  in _rtl8821ae_phy_init_tx_power_by_rate()  local
907 for (rate_section = 0; in _rtl8821ae_phy_init_tx_power_by_rate()
908 rate_section < TX_PWR_BY_RATE_NUM_SECTION; in _rtl8821ae_phy_init_tx_power_by_rate()
909 ++rate_section) in _rtl8821ae_phy_init_tx_power_by_rate()
911 [rfpath][txnum][rate_section] = 0; in _rtl8821ae_phy_init_tx_power_by_rate()
916 u8 rate_section, in _rtl8821ae_phy_set_txpower_by_rate_base() argument
929 switch (rate_section) { in _rtl8821ae_phy_set_txpower_by_rate_base()
951 rate_section, path, txnum); in _rtl8821ae_phy_set_txpower_by_rate_base()
955 switch (rate_section) { in _rtl8821ae_phy_set_txpower_by_rate_base()
974 rate_section, path, txnum); in _rtl8821ae_phy_set_txpower_by_rate_base()
985 u8 txnum, u8 rate_section) in _rtl8821ae_phy_get_txpower_by_rate_base() argument
999 switch (rate_section) { in _rtl8821ae_phy_get_txpower_by_rate_base()
1021 rate_section, path, txnum); in _rtl8821ae_phy_get_txpower_by_rate_base()
1025 switch (rate_section) { in _rtl8821ae_phy_get_txpower_by_rate_base()
1044 rate_section, path, txnum); in _rtl8821ae_phy_get_txpower_by_rate_base()
1138 u8 regulation, bw, channel, rate_section; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() local
1144 for (rate_section = 0; rate_section < MAX_RATE_SECTION_NUM; ++rate_section) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1146 [bw][rate_section][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1151 1, bw, rate_section, channel, RF90_PATH_A); in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1152 if (rate_section == 2) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1155 } else if (rate_section == 4) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1158 } else if (rate_section == 3) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1161 } else if (rate_section == 5) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1305 u8 regulation, bw, channel, rate_section; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() local
1319 for (rate_section = 0; rate_section < MAX_RATE_SECTION_NUM; ++rate_section) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1322 if (rate_section == 0) { /*CCK*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1326 } else if (rate_section == 1) { /*OFDM*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1330 } else if (rate_section == 2) { /*HT IT*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1334 } else if (rate_section == 3) { /*HT 2T*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1341 [bw][rate_section][channel][RF90_PATH_A]; in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1346 if (rate_section == 3) in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1356 [bw][rate_section][channel][rf_path] = in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1362 regulation, bw, rate_section, channel, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1364 [rate_section][channel][rf_path], (temp_pwrlmt == 63) in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1375 for (rate_section = 0; rate_section < MAX_RATE_SECTION_NUM; ++rate_section) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1379 if (rate_section == 1) { /*OFDM*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1383 } else if (rate_section == 2) { /*HT 1T*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1387 } else if (rate_section == 3) { /*HT 2T*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1391 } else if (rate_section == 4) { /*VHT 1T*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1395 } else if (rate_section == 5) { /*VHT 2T*/ in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1402 [bw][rate_section][channel] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1408 if (rate_section == 3 || rate_section == 5) in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1421 [bw][rate_section][channel] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1427 regulation, bw, rate_section, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1429 [bw][rate_section][channel][rf_path], in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1653 u8 regulation = 0, bandwidth = 0, rate_section = 0, channel; in _rtl8812ae_phy_set_txpower_limit() local
1678 rate_section = 0; in _rtl8812ae_phy_set_txpower_limit()
1680 rate_section = 1; in _rtl8812ae_phy_set_txpower_limit()
1683 rate_section = 2; in _rtl8812ae_phy_set_txpower_limit()
1686 rate_section = 3; in _rtl8812ae_phy_set_txpower_limit()
1689 rate_section = 4; in _rtl8812ae_phy_set_txpower_limit()
1692 rate_section = 5; in _rtl8812ae_phy_set_txpower_limit()
1714 [bandwidth][rate_section] in _rtl8812ae_phy_set_txpower_limit()
1719 [rate_section][channel_index][RF90_PATH_A] = in _rtl8812ae_phy_set_txpower_limit()
1724 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()
1726 [rate_section][channel_index][RF90_PATH_A]); in _rtl8812ae_phy_set_txpower_limit()
1738 [rate_section][channel_index] in _rtl8812ae_phy_set_txpower_limit()
1743 [rate_section][channel_index][RF90_PATH_A] = power_limit; in _rtl8812ae_phy_set_txpower_limit()
1747 regulation, bandwidth, rate_section, channel, in _rtl8812ae_phy_set_txpower_limit()
1749 [rate_section][channel_index][RF90_PATH_A]); in _rtl8812ae_phy_set_txpower_limit()
1759 u8 *bandwidth, u8 *rate_section, in _rtl8812ae_phy_config_bb_txpwr_lmt() argument
1764 rate_section, rf_path, channel, in _rtl8812ae_phy_config_bb_txpwr_lmt()
1980 u8 rate_section = _rtl8821ae_get_rate_section_index(regaddr); in _rtl8821ae_store_tx_power_by_rate() local
1994 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section] = data; in _rtl8821ae_store_tx_power_by_rate()
1997 band, rfpath, txnum, rate_section, in _rtl8821ae_store_tx_power_by_rate()
1998 rtlphy->tx_power_by_rate_offset[band][rfpath][txnum][rate_section]); in _rtl8821ae_store_tx_power_by_rate()
2249 s8 rate_section = 0; in _rtl8821ae_phy_get_ratesection_intxpower_byrate() local
2255 rate_section = 0; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2261 rate_section = 1; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2267 rate_section = 2; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2273 rate_section = 3; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2279 rate_section = 4; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2285 rate_section = 5; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2291 rate_section = 6; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2297 rate_section = 7; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2303 rate_section = 8; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2309 rate_section = 9; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2315 rate_section = 10; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2321 rate_section = 11; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2328 return rate_section; in _rtl8821ae_phy_get_ratesection_intxpower_byrate()
2353 rate_section = -1, channel_temp = -1; in _rtl8812ae_phy_get_txpower_limit() local
2379 rate_section = 0; in _rtl8812ae_phy_get_txpower_limit()
2389 rate_section = 1; in _rtl8812ae_phy_get_txpower_limit()
2399 rate_section = 2; in _rtl8812ae_phy_get_txpower_limit()
2409 rate_section = 3; in _rtl8812ae_phy_get_txpower_limit()
2421 rate_section = 4; in _rtl8812ae_phy_get_txpower_limit()
2433 rate_section = 5; in _rtl8812ae_phy_get_txpower_limit()
2441 if (band_temp == BAND_ON_5G && rate_section == 0) in _rtl8812ae_phy_get_txpower_limit()
2447 if (rate_section == 1) in _rtl8812ae_phy_get_txpower_limit()
2453 if ((rate_section == 2 || rate_section == 3) && band == BAND_ON_5G && in _rtl8812ae_phy_get_txpower_limit()
2467 rate_section == -1 || channel_temp == -1) { in _rtl8812ae_phy_get_txpower_limit()
2471 rate_section, channel_temp); in _rtl8812ae_phy_get_txpower_limit()
2478 sec = rate_section; in _rtl8812ae_phy_get_txpower_limit()
2517 u8 shift = 0, rate_section, tx_num; in _rtl8821ae_phy_get_txpower_by_rate() local
2521 rate_section = _rtl8821ae_phy_get_ratesection_intxpower_byrate(path, rate); in _rtl8821ae_phy_get_txpower_by_rate()
2595 [tx_num][rate_section] >> shift) & 0xff; in _rtl8821ae_phy_get_txpower_by_rate()