/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | rate.c | 345 info->control.rates[0].idx = 0; in __rate_control_send_low() 356 info->control.rates[0].idx = i; in __rate_control_send_low() 366 info->control.rates[0].count = in __rate_control_send_low() 390 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low() 401 rc_send_low_basicrate(&info->control.rates[0].idx, in rate_control_send_low() 597 struct ieee80211_tx_rate *rates, in rate_fixup_ratelist() argument 612 if (!(rates[0].flags & in rate_fixup_ratelist() 617 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist() 642 rates[i].idx = -1; in rate_fixup_ratelist() 645 if (rates[i].idx < 0) { in rate_fixup_ratelist() [all …]
|
D | status.c | 272 else if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len() 273 !(info->status.rates[0].flags & in ieee80211_tx_radiotap_len() 292 } else if (info->status.rates[0].idx >= 0) { in ieee80211_tx_radiotap_len() 293 if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) in ieee80211_tx_radiotap_len() 295 else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) in ieee80211_tx_radiotap_len() 340 } else if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header() 341 !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | in ieee80211_add_tx_radiotap_header() 344 sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header() 359 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in ieee80211_add_tx_radiotap_header() 361 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in ieee80211_add_tx_radiotap_header() [all …]
|
D | rc80211_minstrel_ht.c | 325 return &mi->groups[group].rates[idx]; in minstrel_ht_get_stats() 331 return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; in minstrel_get_ratestats() 392 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_ewma; in minstrel_ht_sort_best_tp_rates() 398 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_sort_best_tp_rates() 431 mrs = &mg->rates[index % MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate() 435 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_set_best_prob_rate() 447 max_gpr_prob = mi->groups[max_gpr_group].rates[max_gpr_idx].prob_ewma; in minstrel_ht_set_best_prob_rate() 485 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_assign_best_tp_rates() 490 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_assign_best_tp_rates() 521 tmp_prob = mi->groups[group].rates[tmp_idx].prob_ewma; in minstrel_ht_prob_rate_reduce_streams() [all …]
|
D | rc80211_minstrel_ht.h | 51 struct minstrel_rate_stats rates[MCS_GROUP_RATES]; member
|
D | util.c | 1643 u8 rates[32]; in ieee80211_build_preq_ies_band() local 1666 rates[num_rates++] = in ieee80211_build_preq_ies_band() 1677 memcpy(pos, rates, supp_rates_len); in ieee80211_build_preq_ies_band() 1704 memcpy(pos, rates + supp_rates_len, ext_rates_len); in ieee80211_build_preq_ies_band() 3124 const u8 *srates, int srates_len, u32 *rates) in ieee80211_parse_bitrates() argument 3131 *rates = 0; in ieee80211_parse_bitrates() 3143 *rates |= BIT(j); in ieee80211_parse_bitrates() 3159 u8 i, rates, *pos; in ieee80211_add_srates_ie() local 3166 rates = 0; in ieee80211_add_srates_ie() 3170 rates++; in ieee80211_add_srates_ie() [all …]
|
D | rc80211_minstrel_ht_debugfs.c | 54 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_dump() 201 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_csv_dump()
|
D | tx.c | 755 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl() 757 if (unlikely(info->control.rates[0].idx < 0)) { in ieee80211_tx_h_rate_ctrl() 773 tx->rate = info->control.rates[0]; in ieee80211_tx_h_rate_ctrl() 786 if (unlikely(!info->control.rates[0].count)) in ieee80211_tx_h_rate_ctrl() 787 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl() 789 if (WARN_ON_ONCE((info->control.rates[0].count > 1) && in ieee80211_tx_h_rate_ctrl() 791 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl() 988 info->control.rates[1].idx = -1; in ieee80211_tx_h_fragment() 989 info->control.rates[2].idx = -1; in ieee80211_tx_h_fragment() 990 info->control.rates[3].idx = -1; in ieee80211_tx_h_fragment() [all …]
|
D | mesh_plink.c | 415 u32 rates, basic_rates = 0, changed = 0; in mesh_sta_info_init() local 422 rates = ieee80211_sta_get_rates(sdata, elems, sband->band, in mesh_sta_info_init() 434 if (sta->sta.supp_rates[sband->band] != rates) in mesh_sta_info_init() 436 sta->sta.supp_rates[sband->band] = rates; in mesh_sta_info_init()
|
D | rc80211_minstrel.c | 266 struct ieee80211_tx_rate *ar = info->status.rates; in minstrel_tx_status() 335 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in minstrel_get_rate()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/ |
D | txrx.c | 314 struct ieee80211_tx_rate *rates, size_t count) argument 323 SYS_BUG(rates[0].idx < 0); 332 total = rates[0].count; 334 if (rates[i].idx < 0 || i >= limit) { 338 total += rates[i].count; 349 total = rates[0].count; 351 if (rates[i].idx > rates[i-1].idx) { 352 rates[i].idx = rates[i-1].idx > 0 ? (rates[i-1].idx - 1) : -1; 354 if (rates[i].idx < 0 || i >= limit) { 358 total += rates[i].count; [all …]
|
D | txrx.h | 176 u32 rates);
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/clk/ |
D | ccu_frac.c | 59 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate() 73 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); in ccu_frac_helper_read_rate() 80 return (reg & cf->select) ? cf->rates[1] : cf->rates[0]; in ccu_frac_helper_read_rate() 93 if (cf->rates[0] == rate) in ccu_frac_helper_set_rate() 95 else if (cf->rates[1] == rate) in ccu_frac_helper_set_rate()
|
D | ccu_frac.h | 17 u64 rates[2]; member 24 .rates = { _rate1, _rate2 }, \
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/ |
D | hdf_mac80211_ap.c | 92 const u8 *rates) in bdh6_nl80211_check_ap_rate_selectors() argument 95 if (!rates) in bdh6_nl80211_check_ap_rate_selectors() 98 for (i = 0; i < rates[1]; i++) { in bdh6_nl80211_check_ap_rate_selectors() 99 if (rates[RATE_OFFSET + i] == BSS_MEMBERSHIP_SELECTOR_HT_PHY) in bdh6_nl80211_check_ap_rate_selectors() 101 if (rates[RATE_OFFSET + i] == BSS_MEMBERSHIP_SELECTOR_VHT_PHY) in bdh6_nl80211_check_ap_rate_selectors() 104 if (rates[RATE_OFFSET + i] == BSS_MEMBERSHIP_SELECTOR_HE_PHY) in bdh6_nl80211_check_ap_rate_selectors() 115 const u8 *rates; in bdh6_nl80211_calculate_ap_params() local 118 rates = cfg80211_find_ie(WLAN_EID_SUPP_RATES, ies, ies_len); in bdh6_nl80211_calculate_ap_params() 119 HDF_LOGE("lijg: find beacon tail WLAN_EID_SUPP_RATES=%p", rates); in bdh6_nl80211_calculate_ap_params() 120 bdh6_nl80211_check_ap_rate_selectors(params, rates); in bdh6_nl80211_calculate_ap_params() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_mcc.c | 1362 u8 *rates = NULL; in rtw_hal_dl_mcc_fw_rsvd_page() local 1402 rates = rates_by_sections[CCK].rates; in rtw_hal_dl_mcc_fw_rsvd_page() 1404 power_index = phy_get_tx_power_index_ex(iface, path, CCK, rates[j], bw, band, center_ch, ch); in rtw_hal_dl_mcc_fw_rsvd_page() 1405 rate = phy_get_rate_idx_of_txpwr_by_rate(rates[j]); in rtw_hal_dl_mcc_fw_rsvd_page() 1416 center_ch, MGN_RATE_STR(rates[j]), power_index); in rtw_hal_dl_mcc_fw_rsvd_page() 1426 center_ch, MGN_RATE_STR(rates[j]), power_index); in rtw_hal_dl_mcc_fw_rsvd_page() 1444 rates = rates_by_sections[OFDM].rates; in rtw_hal_dl_mcc_fw_rsvd_page() 1446 power_index = phy_get_tx_power_index_ex(iface, path, OFDM, rates[j], bw, band, center_ch, ch); in rtw_hal_dl_mcc_fw_rsvd_page() 1447 rate = phy_get_rate_idx_of_txpwr_by_rate(rates[j]); in rtw_hal_dl_mcc_fw_rsvd_page() 1458 center_ch, MGN_RATE_STR(rates[j]), power_index); in rtw_hal_dl_mcc_fw_rsvd_page() [all …]
|
D | hal_com_phycfg.c | 2153 u8 i = 0, rates[4] = {0}, rateNum = 0; in PHY_StoreTxPowerByRateNew() local 2156 PHY_GetRateValuesOfTxPowerByRate(pAdapter, RegAddr, BitMask, Data, rates, PwrByRateVal, &rateNum); in PHY_StoreTxPowerByRateNew() 2169 u8 rate_idx = phy_get_rate_idx_of_txpwr_by_rate(rates[i]); in PHY_StoreTxPowerByRateNew() 2256 , rs, rates_by_sections[rs].rates[i], bw, band, Channel, 0, &tic); in phy_set_tx_power_index_by_rate_section() 2258 , rates_by_sections[rs].rates[i], powerIndex, &tic); in phy_set_tx_power_index_by_rate_section() 2261 , rs, rates_by_sections[rs].rates[i], bw, band, Channel, 0); in phy_set_tx_power_index_by_rate_section() 2263 PHY_SetTxPowerIndex(pAdapter, powerIndex, RFPath, rates_by_sections[rs].rates[i]); in phy_set_tx_power_index_by_rate_section() 2732 …mbm = phy_get_txpwr_by_rate_total_mbm(adapter, band, rs, rates_by_sections[rs].rates[i], cap, eirp… in _phy_get_txpwr_by_rate_max_mbm() 2734 …mbm = phy_get_txpwr_by_rate_single_mbm(adapter, band, rfpath, rs, rates_by_sections[rs].rates[i], … in _phy_get_txpwr_by_rate_max_mbm() 3998 …power_idx = rtw_hal_get_tx_power_index(adapter, rfpath, rs, rates_by_sections[rs].rates[i], bw, ba… in dump_tx_power_idx_by_path_rs() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
D | mac_vap.c | 569 …ROM_TEXT static hi_void mac_vap_init_legacy_rates(mac_vap_stru *mac_vap, mac_data_rate_stru *rates) in mac_vap_init_legacy_rates() argument 584 puc_orig_rate = &rates[rate_index]; in mac_vap_init_legacy_rates() 618 …FI_ROM_TEXT static hi_void mac_vap_init_11b_rates(mac_vap_stru *mac_vap, mac_data_rate_stru *rates) in mac_vap_init_11b_rates() argument 633 puc_orig_rate = &rates[rate_index]; in mac_vap_init_11b_rates() 674 …T static hi_void mac_vap_init_11g_mixed_one_rates(mac_vap_stru *mac_vap, mac_data_rate_stru *rates) in mac_vap_init_11g_mixed_one_rates() argument 691 puc_orig_rate = &rates[rate_index]; in mac_vap_init_11g_mixed_one_rates() 711 …T static hi_void mac_vap_init_11g_mixed_two_rates(mac_vap_stru *mac_vap, mac_data_rate_stru *rates) in mac_vap_init_11g_mixed_two_rates() argument 725 puc_orig_rate = &rates[rate_index]; in mac_vap_init_11g_mixed_two_rates() 767 WIFI_ROM_TEXT hi_void mac_vap_init_p2p_rates(mac_vap_stru *mac_vap, mac_data_rate_stru *rates) in mac_vap_init_p2p_rates() argument 769 mac_vap_init_legacy_rates(mac_vap, rates); in mac_vap_init_p2p_rates() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/ |
D | clk-cpu.c | 247 const struct rockchip_cpuclk_rate_table *rates, int nrates, in rockchip_clk_register_cpuclk() argument 329 cpuclk->rate_table = kmemdup(rates, sizeof(*rates) * nrates, GFP_KERNEL); in rockchip_clk_register_cpuclk()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/ |
D | mac80211.h | 1041 struct ieee80211_tx_rate rates[ member 1063 struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; member 1149 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != in ieee80211_tx_info_clear_status() 1150 offsetof(struct ieee80211_tx_info, control.rates)); in ieee80211_tx_info_clear_status() 1151 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != in ieee80211_tx_info_clear_status() 1153 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != 8); in ieee80211_tx_info_clear_status() 1156 info->status.rates[i].count = 0; in ieee80211_tx_info_clear_status() 2011 struct ieee80211_sta_rates __rcu *rates; member 2625 if (WARN_ON_ONCE(c->control.rates[0].idx < 0)) in ieee80211_get_tx_rate() 2627 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; in ieee80211_get_tx_rate() [all …]
|
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/ |
D | hdf_bdh_mac80211.c | 1148 const u8 *rates) in bdh6_nl80211_check_ap_rate_selectors() argument 1151 if (!rates) in bdh6_nl80211_check_ap_rate_selectors() 1154 for (i = 0; i < rates[1]; i++) { in bdh6_nl80211_check_ap_rate_selectors() 1155 if (rates[RATE_OFFSET + i] == BSS_MEMBERSHIP_SELECTOR_HT_PHY) in bdh6_nl80211_check_ap_rate_selectors() 1157 if (rates[RATE_OFFSET + i] == BSS_MEMBERSHIP_SELECTOR_VHT_PHY) in bdh6_nl80211_check_ap_rate_selectors() 1160 if (rates[RATE_OFFSET + i] == BSS_MEMBERSHIP_SELECTOR_HE_PHY) in bdh6_nl80211_check_ap_rate_selectors() 1171 const u8 *rates; in bdh6_nl80211_calculate_ap_params() local 1174 rates = cfg80211_find_ie(WLAN_EID_SUPP_RATES, ies, ies_len); in bdh6_nl80211_calculate_ap_params() 1175 HDF_LOGI("find beacon tail WLAN_EID_SUPP_RATES=%p", rates); in bdh6_nl80211_calculate_ap_params() 1176 bdh6_nl80211_check_ap_rate_selectors(params, rates); in bdh6_nl80211_calculate_ap_params() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_rm_util.c | 417 …pwr = phy_get_tx_power_final_absolute_value(adapter, path, rates_by_sections[rs].rates[n], bw, ch); in rm_get_path_a_max_tx_power() 421 MGN_RATE_STR(rates_by_sections[rs].rates[n]), pwr); in rm_get_path_a_max_tx_power()
|
/device/soc/rockchip/rk3588/kernel/arch/arm64/boot/dts/rockchip/ |
D | rk3588s.dtsi | 932 assigned-clock-rates = <1200000000>, 1671 assigned-clock-rates = 2120 assigned-clock-rates = <200000000>; 2221 rockchip,normal-rates = <594000000>, <0>; 2223 assigned-clock-rates = <594000000>; 2312 rockchip,normal-rates = <600000000>, <0>; 2314 assigned-clock-rates = <600000000>; 2344 rockchip,normal-rates = <594000000>, <0>; 2346 assigned-clock-rates = <594000000>; 2377 rockchip,normal-rates = <594000000>, <0>; [all …]
|
/device/soc/amlogic/a311d/soc/arch/arm64/boot/dts/amlogic/ |
D | meson-unionpi-tiger.dtsi | 220 assigned-clock-rates = <294912000>, 398 assigned-clock-rates = <720000000>, 668 assigned-clock-rates = <0>, <0>, <0>;
|
/device/soc/amlogic/a311d/soc/amlogic/codecs/ |
D | es7243.c | 239 .rates = SNDRV_PCM_RATE_8000_96000,
|
/device/board/kaihong/khdvk_3566b/kernel/ |
D | rk3566-rp-kh.dts | 913 …assigned-clock-rates = <0x8000 0x11e1a300 0x11e1a300 0xbebc200 0x5f5e100 0x3b9aca00 0x1dcd6500 0x1… 1227 assigned-clock-rates = <0xbb8000>; 1384 assigned-clock-rates = <0x23c34600>; 1748 rockchip,normal-rates = <0x11b3dc40 0x00 0x11b3dc40>; 1752 assigned-clock-rates = <0x11b3dc40 0x11b3dc40>; 1808 rockchip,normal-rates = <0x11b3dc40 0x00 0x11b3dc40 0x11b3dc40 0x23c34600>; 1809 rockchip,advanced-rates = <0x179a7b00 0x00 0x179a7b00 0x179a7b00 0x23c34600>; 1813 assigned-clock-rates = <0x11b3dc40 0x11b3dc40 0x11b3dc40 0x11b3dc40>; 1863 assigned-clock-rates = <0x11e1a300>; 1988 assigned-clock-rates = <0x00 0x7735940 0x17d7840>; [all …]
|