Home
last modified time | relevance | path

Searched refs:rate_mask (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/sound/core/
Dpcm_drm_eld.c39 unsigned int rate_mask = 0; in map_rate_families() local
42 rate_mask |= mask_32000; in map_rate_families()
44 rate_mask |= mask_44100; in map_rate_families()
46 rate_mask |= mask_48000; in map_rate_families()
47 return rate_mask; in map_rate_families()
97 unsigned int rate_mask = 7, i; in eld_limit_rates() local
112 rate_mask |= sad_rate_mask(sad); in eld_limit_rates()
117 rate_mask); in eld_limit_rates()
131 unsigned int rate_mask = 0; in eld_limit_channels() local
137 rate_mask |= BIT(i); in eld_limit_channels()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c524 il3945_get_adjacent_rate(struct il3945_rs_sta *rs_sta, u8 idx, u16 rate_mask, in il3945_get_adjacent_rate() argument
540 if (rate_mask & mask) { in il3945_get_adjacent_rate()
549 if (rate_mask & mask) { in il3945_get_adjacent_rate()
566 if (rate_mask & (1 << low)) in il3945_get_adjacent_rate()
579 if (rate_mask & (1 << high)) in il3945_get_adjacent_rate()
621 u16 rate_mask; in il3945_rs_get_rate() local
634 rate_mask = sta->deflink.supp_rates[sband->band]; in il3945_rs_get_rate()
646 rate_mask = rate_mask << IL_FIRST_OFDM_RATE; in il3945_rs_get_rate()
655 (rate_mask & (1 << rs_sta->start_rate))) in il3945_rs_get_rate()
662 if (rate_mask & (1 << max_rate_idx)) in il3945_rs_get_rate()
[all …]
D4965-rs.c657 il4965_rs_get_adjacent_rate(struct il_priv *il, u8 idx, u16 rate_mask, in il4965_rs_get_adjacent_rate() argument
672 if (rate_mask & mask) { in il4965_rs_get_adjacent_rate()
681 if (rate_mask & mask) { in il4965_rs_get_adjacent_rate()
695 if (rate_mask & (1 << low)) in il4965_rs_get_adjacent_rate()
705 if (rate_mask & (1 << high)) in il4965_rs_get_adjacent_rate()
719 u16 rate_mask; in il4965_rs_get_lower_rate() local
745 rate_mask = il4965_rs_get_supported_rates(lq_sta, NULL, tbl->lq_type); in il4965_rs_get_lower_rate()
751 rate_mask = in il4965_rs_get_lower_rate()
752 (u16) (rate_mask & in il4965_rs_get_lower_rate()
755 rate_mask = (u16) (rate_mask & lq_sta->supp_rates); in il4965_rs_get_lower_rate()
[all …]
D3945.c689 u16 rate_mask; in il3945_hw_build_tx_cmd_rate() local
702 rate_mask = RATES_MASK_3945; in il3945_hw_build_tx_cmd_rate()
718 ((rate_mask & IL_OFDM_RATES_MASK) >> IL_FIRST_OFDM_RATE) & 0xFF; in il3945_hw_build_tx_cmd_rate()
721 tx_cmd->supp_rates[1] = (rate_mask & 0xF); in il3945_hw_build_tx_cmd_rate()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c693 static u16 rs_get_adjacent_rate(struct iwl_priv *priv, u8 index, u16 rate_mask, in rs_get_adjacent_rate() argument
711 if (rate_mask & mask) { in rs_get_adjacent_rate()
720 if (rate_mask & mask) { in rs_get_adjacent_rate()
734 if (rate_mask & (1 << low)) in rs_get_adjacent_rate()
744 if (rate_mask & (1 << high)) in rs_get_adjacent_rate()
757 u16 rate_mask; in rs_get_lower_rate() local
783 rate_mask = rs_get_supported_rates(lq_sta, NULL, tbl->lq_type); in rs_get_lower_rate()
789 rate_mask = (u16)(rate_mask & in rs_get_lower_rate()
792 rate_mask = (u16)(rate_mask & lq_sta->supp_rates); in rs_get_lower_rate()
796 if (switch_to_legacy && (rate_mask & (1 << scale_index))) { in rs_get_lower_rate()
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dcfp.c383 u32 num_rates, rate_mask; in mwifiex_get_rates_from_cfg80211() local
391 rate_mask = request->rates[NL80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211()
396 rate_mask = request->rates[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
401 if ((BIT(i) & rate_mask) == 0) in mwifiex_get_rates_from_cfg80211()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c969 static u16 rs_get_adjacent_rate(struct iwl_mvm *mvm, u8 index, u16 rate_mask, in rs_get_adjacent_rate() argument
986 if (rate_mask & mask) { in rs_get_adjacent_rate()
995 if (rate_mask & mask) { in rs_get_adjacent_rate()
1009 if (rate_mask & (1 << low)) in rs_get_adjacent_rate()
1018 if (rate_mask & (1 << high)) in rs_get_adjacent_rate()
1039 u16 rate_mask; in rs_get_lower_rate_in_column() local
1042 rate_mask = rs_get_supported_rates(lq_sta, rate); in rs_get_lower_rate_in_column()
1043 high_low = rs_get_adjacent_rate(mvm, rate->index, rate_mask, in rs_get_lower_rate_in_column()
1212 static inline int rs_get_max_rate_from_mask(unsigned long rate_mask) in rs_get_max_rate_from_mask() argument
1214 if (rate_mask) in rs_get_max_rate_from_mask()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c2330 u8 rate_mask[7]; in rtl8723be_update_hal_rate_mask() local
2425 *(u32 *)&rate_mask = (ratr_bitmap & 0x0fffffff) | in rtl8723be_update_hal_rate_mask()
2427 rate_mask[0] = macid; in rtl8723be_update_hal_rate_mask()
2428 rate_mask[1] = _rtl8723be_mrate_idx_to_arfr_id(hw, ratr_index) | in rtl8723be_update_hal_rate_mask()
2430 rate_mask[2] = curtxbw_40mhz | ((!update_bw) << 3); in rtl8723be_update_hal_rate_mask()
2432 rate_mask[3] = (u8)(ratr_bitmap & 0x000000ff); in rtl8723be_update_hal_rate_mask()
2433 rate_mask[4] = (u8)((ratr_bitmap & 0x0000ff00) >> 8); in rtl8723be_update_hal_rate_mask()
2434 rate_mask[5] = (u8)((ratr_bitmap & 0x00ff0000) >> 16); in rtl8723be_update_hal_rate_mask()
2435 rate_mask[6] = (u8)((ratr_bitmap & 0xff000000) >> 24); in rtl8723be_update_hal_rate_mask()
2440 rate_mask[0], rate_mask[1], in rtl8723be_update_hal_rate_mask()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c2267 u8 rate_mask[7] = {0}; in rtl92ee_update_hal_rate_mask() local
2366 *(u32 *)&rate_mask = (ratr_bitmap & 0x0fffffff) | in rtl92ee_update_hal_rate_mask()
2368 rate_mask[0] = macid; in rtl92ee_update_hal_rate_mask()
2369 rate_mask[1] = ratr_index | (b_shortgi ? 0x80 : 0x00); in rtl92ee_update_hal_rate_mask()
2370 rate_mask[2] = curtxbw_40mhz | ((!update_bw) << 3); in rtl92ee_update_hal_rate_mask()
2371 rate_mask[3] = (u8)(ratr_bitmap & 0x000000ff); in rtl92ee_update_hal_rate_mask()
2372 rate_mask[4] = (u8)((ratr_bitmap & 0x0000ff00) >> 8); in rtl92ee_update_hal_rate_mask()
2373 rate_mask[5] = (u8)((ratr_bitmap & 0x00ff0000) >> 16); in rtl92ee_update_hal_rate_mask()
2374 rate_mask[6] = (u8)((ratr_bitmap & 0xff000000) >> 24); in rtl92ee_update_hal_rate_mask()
2377 ratr_index, ratr_bitmap, rate_mask[0], rate_mask[1], in rtl92ee_update_hal_rate_mask()
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Drate.c444 uint rate_mask, bool mcsallow, u8 bw, u8 txstreams) in brcms_c_rateset_default() argument
479 rate_mask, mcsallow); in brcms_c_rateset_default()
Drate.h235 int bandtype, bool cck_only, uint rate_mask,
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c3522 u8 rate_mask[7]; in rtl8821ae_update_hal_rate_mask() local
3687 rate_mask[0] = macid; in rtl8821ae_update_hal_rate_mask()
3688 rate_mask[1] = ratr_index | (b_shortgi ? 0x80 : 0x00); in rtl8821ae_update_hal_rate_mask()
3689 rate_mask[2] = rtlphy->current_chan_bw | ((!update_bw) << 3) in rtl8821ae_update_hal_rate_mask()
3693 rate_mask[3] = (u8)(ratr_bitmap & 0x000000ff); in rtl8821ae_update_hal_rate_mask()
3694 rate_mask[4] = (u8)((ratr_bitmap & 0x0000ff00) >> 8); in rtl8821ae_update_hal_rate_mask()
3695 rate_mask[5] = (u8)((ratr_bitmap & 0x00ff0000) >> 16); in rtl8821ae_update_hal_rate_mask()
3696 rate_mask[6] = (u8)((ratr_bitmap & 0xff000000) >> 24); in rtl8821ae_update_hal_rate_mask()
3701 rate_mask[0], rate_mask[1], in rtl8821ae_update_hal_rate_mask()
3702 rate_mask[2], rate_mask[3], in rtl8821ae_update_hal_rate_mask()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1939 u8 rate_mask[5]; in rtl8723e_update_hal_rate_mask() local
2040 *(u32 *)&rate_mask = (ratr_bitmap & 0x0fffffff) | in rtl8723e_update_hal_rate_mask()
2042 rate_mask[4] = macid | (shortgi ? 0x20 : 0x00) | 0x80; in rtl8723e_update_hal_rate_mask()
2046 rate_mask[0], rate_mask[1], in rtl8723e_update_hal_rate_mask()
2047 rate_mask[2], rate_mask[3], in rtl8723e_update_hal_rate_mask()
2048 rate_mask[4]); in rtl8723e_update_hal_rate_mask()
2049 rtl8723e_fill_h2c_cmd(hw, H2C_RA_MASK, 5, rate_mask); in rtl8723e_update_hal_rate_mask()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c2076 u8 rate_mask[5]; in rtl88ee_update_hal_rate_mask() local
2176 *(u32 *)&rate_mask = (ratr_bitmap & 0x0fffffff) | in rtl88ee_update_hal_rate_mask()
2178 rate_mask[4] = macid | (b_shortgi ? 0x20 : 0x00) | 0x80; in rtl88ee_update_hal_rate_mask()
2182 rate_mask[0], rate_mask[1], in rtl88ee_update_hal_rate_mask()
2183 rate_mask[2], rate_mask[3], in rtl88ee_update_hal_rate_mask()
2184 rate_mask[4]); in rtl88ee_update_hal_rate_mask()
2185 rtl88e_fill_h2c_cmd(hw, H2C_88E_RA_MASK, 5, rate_mask); in rtl88ee_update_hal_rate_mask()
/linux-6.6.21/include/sound/sof/
Dtopology.h163 uint32_t rate_mask; /**< SOF_RATE_ supported rates */ member
/linux-6.6.21/net/mac80211/
Drate.c349 u32 rate_mask) in __rate_control_send_low() argument
367 if (!(rate_mask & BIT(i))) in __rate_control_send_low()
384 rate_mask, rate_flags); in __rate_control_send_low()
Dutil.c1931 u32 rate_mask, in ieee80211_build_preq_ies_band() argument
1968 if ((BIT(i) & rate_mask) == 0) in ieee80211_build_preq_ies_band()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c2014 u8 rate_mask[5]; in rtl92cu_update_hal_rate_mask() local
2127 *(u32 *)&rate_mask = (ratr_bitmap & 0x0fffffff) | in rtl92cu_update_hal_rate_mask()
2129 rate_mask[4] = macid | (shortgi ? 0x20 : 0x00) | 0x80; in rtl92cu_update_hal_rate_mask()
2132 ratr_index, ratr_bitmap, rate_mask); in rtl92cu_update_hal_rate_mask()
2133 memcpy(rtlpriv->rate_mask, rate_mask, 5); in rtl92cu_update_hal_rate_mask()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1873 u8 rate_mask[5]; in rtl92ce_update_hal_rate_mask() local
1976 *(u32 *)&rate_mask = (ratr_bitmap & 0x0fffffff) | in rtl92ce_update_hal_rate_mask()
1978 rate_mask[4] = macid | (shortgi ? 0x20 : 0x00) | 0x80; in rtl92ce_update_hal_rate_mask()
1981 ratr_index, ratr_bitmap, rate_mask); in rtl92ce_update_hal_rate_mask()
1982 rtl92c_fill_h2c_cmd(hw, H2C_RA_MASK, 5, rate_mask); in rtl92ce_update_hal_rate_mask()
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8188e.c1759 ra->ra_use_rate = ra->rate_mask; in rtl8188e_arfb_refresh()
1803 ra->rate_mask = ramask; in rtl8188e_update_rate_mask()
1821 ra->rate_mask = 0xfffff; in rtl8188e_ra_info_init_all()
Drtl8xxxu.h1730 u32 rate_mask; member
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c5367 u8 modulation, u32 rate_mask) in ipw_add_cck_scan_rates() argument
5372 if (rate_mask & LIBIPW_CCK_RATE_1MB_MASK) in ipw_add_cck_scan_rates()
5376 if (rate_mask & LIBIPW_CCK_RATE_2MB_MASK) in ipw_add_cck_scan_rates()
5380 if (rate_mask & LIBIPW_CCK_RATE_5MB_MASK) in ipw_add_cck_scan_rates()
5384 if (rate_mask & LIBIPW_CCK_RATE_11MB_MASK) in ipw_add_cck_scan_rates()
5390 u8 modulation, u32 rate_mask) in ipw_add_ofdm_scan_rates() argument
5395 if (rate_mask & LIBIPW_OFDM_RATE_6MB_MASK) in ipw_add_ofdm_scan_rates()
5399 if (rate_mask & LIBIPW_OFDM_RATE_9MB_MASK) in ipw_add_ofdm_scan_rates()
5403 if (rate_mask & LIBIPW_OFDM_RATE_12MB_MASK) in ipw_add_ofdm_scan_rates()
5407 if (rate_mask & LIBIPW_OFDM_RATE_18MB_MASK) in ipw_add_ofdm_scan_rates()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/
Dusb.c975 rtlpriv->cfg->ops->fill_h2c_cmd(hw, H2C_RA_MASK, 5, rtlpriv->rate_mask); in rtl_fill_h2c_cmd_work_callback()
Dwifi.h2785 u8 rate_mask[5]; member