Home
last modified time | relevance | path

Searched refs:supported_rates (Results 1 - 25 of 87) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
H A Dcmd.c19 u32 supported_rates; in wl18xx_cmd_channel_switch() local
50 supported_rates = CONF_TX_ENABLED_RATES | CONF_TX_MCS_RATES; in wl18xx_cmd_channel_switch()
52 supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif); in wl18xx_cmd_channel_switch()
54 supported_rates |= in wl18xx_cmd_channel_switch()
57 supported_rates &= ~CONF_TX_CCK_RATES; in wl18xx_cmd_channel_switch()
58 cmd->local_supported_rates = cpu_to_le32(supported_rates); in wl18xx_cmd_channel_switch()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl18xx/
H A Dcmd.c19 u32 supported_rates; in wl18xx_cmd_channel_switch() local
50 supported_rates = CONF_TX_ENABLED_RATES | CONF_TX_MCS_RATES; in wl18xx_cmd_channel_switch()
52 supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif); in wl18xx_cmd_channel_switch()
54 supported_rates |= in wl18xx_cmd_channel_switch()
57 supported_rates &= ~CONF_TX_CCK_RATES; in wl18xx_cmd_channel_switch()
58 cmd->local_supported_rates = cpu_to_le32(supported_rates); in wl18xx_cmd_channel_switch()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c251 void rtw_set_supported_rate(u8 *supported_rates, uint mode) in rtw_set_supported_rate() argument
253 memset(supported_rates, 0, NDIS_802_11_LENGTH_RATES_EX); in rtw_set_supported_rate()
257 memcpy(supported_rates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); in rtw_set_supported_rate()
261 memcpy(supported_rates, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); in rtw_set_supported_rate()
268 memcpy(supported_rates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); in rtw_set_supported_rate()
269 memcpy(supported_rates + IEEE80211_CCK_RATE_LEN, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); in rtw_set_supported_rate()
320 rtw_set_supported_rate(pdev_network->supported_rates, wireless_mode); in rtw_generate_ie()
322 rateLen = rtw_get_rateset_len(pdev_network->supported_rates); in rtw_generate_ie()
325 ie = rtw_set_ie(ie, WLAN_EID_SUPP_RATES, 8, pdev_network->supported_rates, &sz); in rtw_generate_ie()
326 /* ie = rtw_set_ie(ie, WLAN_EID_EXT_SUPP_RATES, (rateLen - 8), (pdev_network->supported_rates in rtw_generate_ie()
[all...]
H A Drtw_ioctl_set.c495 while ((pcur_bss->supported_rates[i] != 0) && (pcur_bss->supported_rates[i] != 0xFF)) { in rtw_get_cur_max_rate()
496 rate = pcur_bss->supported_rates[i]&0x7F; in rtw_get_cur_max_rate()
H A Drtw_ap.c400 supportRateNum = rtw_get_rateset_len((u8 *)&pcur_network->supported_rates); in update_bmc_sta()
401 network_type = rtw_check_network_type((u8 *)&pcur_network->supported_rates, in update_bmc_sta()
575 psta->bssratelen = rtw_get_rateset_len(pnetwork->supported_rates); in update_ap_info()
576 memcpy(psta->bssrateset, pnetwork->supported_rates, psta->bssratelen); in update_ap_info()
789 UpdateBrateTbl(padapter, pnetwork->supported_rates); in start_bss_network()
790 rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, pnetwork->supported_rates); in start_bss_network()
914 rtw_set_supported_rate(pbss_network->supported_rates, network_type); in rtw_check_beacon_data()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dinit.c427 u32 supported_rates; in wl1271_init_ap_rates() local
457 supported_rates = CONF_TX_OFDM_RATES; in wl1271_init_ap_rates()
459 supported_rates = CONF_TX_ENABLED_RATES; in wl1271_init_ap_rates()
462 supported_rates |= CONF_TX_MCS_RATES; in wl1271_init_ap_rates()
465 supported_rates |= wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif); in wl1271_init_ap_rates()
469 rc.enabled_rates = supported_rates; in wl1271_init_ap_rates()
H A Dcmd.c511 u32 supported_rates; in wl12xx_cmd_role_start_sta() local
533 supported_rates = CONF_TX_ENABLED_RATES | CONF_TX_MCS_RATES | in wl12xx_cmd_role_start_sta()
536 supported_rates &= ~CONF_TX_CCK_RATES; in wl12xx_cmd_role_start_sta()
538 cmd->sta.local_rates = cpu_to_le32(supported_rates); in wl12xx_cmd_role_start_sta()
553 * we can do, so use all supported_rates here. in wl12xx_cmd_role_start_sta()
555 cmd->sta.remote_rates = cpu_to_le32(supported_rates); in wl12xx_cmd_role_start_sta()
623 u32 supported_rates; in wl12xx_cmd_role_start_ap() local
684 supported_rates = CONF_TX_ENABLED_RATES | CONF_TX_MCS_RATES | in wl12xx_cmd_role_start_ap()
687 supported_rates &= ~CONF_TX_CCK_RATES; in wl12xx_cmd_role_start_ap()
689 wl1271_debug(DEBUG_CMD, "cmd role start ap with supported_rates in wl12xx_cmd_role_start_ap()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dinit.c427 u32 supported_rates; in wl1271_init_ap_rates() local
457 supported_rates = CONF_TX_OFDM_RATES; in wl1271_init_ap_rates()
459 supported_rates = CONF_TX_ENABLED_RATES; in wl1271_init_ap_rates()
462 supported_rates |= CONF_TX_MCS_RATES; in wl1271_init_ap_rates()
465 supported_rates |= wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif); in wl1271_init_ap_rates()
469 rc.enabled_rates = supported_rates; in wl1271_init_ap_rates()
H A Dcmd.c509 u32 supported_rates; in wl12xx_cmd_role_start_sta() local
531 supported_rates = CONF_TX_ENABLED_RATES | CONF_TX_MCS_RATES | in wl12xx_cmd_role_start_sta()
534 supported_rates &= ~CONF_TX_CCK_RATES; in wl12xx_cmd_role_start_sta()
536 cmd->sta.local_rates = cpu_to_le32(supported_rates); in wl12xx_cmd_role_start_sta()
551 * we can do, so use all supported_rates here. in wl12xx_cmd_role_start_sta()
553 cmd->sta.remote_rates = cpu_to_le32(supported_rates); in wl12xx_cmd_role_start_sta()
621 u32 supported_rates; in wl12xx_cmd_role_start_ap() local
682 supported_rates = CONF_TX_ENABLED_RATES | CONF_TX_MCS_RATES | in wl12xx_cmd_role_start_ap()
685 supported_rates &= ~CONF_TX_CCK_RATES; in wl12xx_cmd_role_start_ap()
687 wl1271_debug(DEBUG_CMD, "cmd role start ap with supported_rates in wl12xx_cmd_role_start_ap()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/
H A Dmain.c745 memset(&sta_priv->supported_rates, 0, in wcn36xx_update_allowed_rates()
746 sizeof(sta_priv->supported_rates)); in wcn36xx_update_allowed_rates()
747 sta_priv->supported_rates.op_rate_mode = STA_11n; in wcn36xx_update_allowed_rates()
749 size = ARRAY_SIZE(sta_priv->supported_rates.dsss_rates); in wcn36xx_update_allowed_rates()
750 rates_table = sta_priv->supported_rates.dsss_rates; in wcn36xx_update_allowed_rates()
760 size = ARRAY_SIZE(sta_priv->supported_rates.ofdm_rates); in wcn36xx_update_allowed_rates()
761 rates_table = sta_priv->supported_rates.ofdm_rates; in wcn36xx_update_allowed_rates()
771 sizeof(sta_priv->supported_rates.supported_mcs_set)); in wcn36xx_update_allowed_rates()
772 memcpy(sta_priv->supported_rates.supported_mcs_set, in wcn36xx_update_allowed_rates()
778 sta_priv->supported_rates in wcn36xx_update_allowed_rates()
[all...]
H A Dsmd.c406 memcpy(&sta_params->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params()
410 &sta_params->supported_rates); in wcn36xx_smd_set_sta_params()
1364 memcpy(&v1->supported_rates, &orig->supported_rates, in wcn36xx_smd_convert_sta_to_v1()
1365 sizeof(orig->supported_rates)); in wcn36xx_smd_convert_sta_to_v1()
1387 memcpy(&sta_par->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params_v1()
1388 sizeof(sta_par->supported_rates)); in wcn36xx_smd_set_sta_params_v1()
1390 wcn36xx_set_default_rates_v1(&sta_par->supported_rates); in wcn36xx_smd_set_sta_params_v1()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c689 u32 rate, supported_rates; in aq_ethtool_get_eee() local
697 &supported_rates); in aq_ethtool_get_eee()
702 eee->supported = eee_mask_to_ethtool_mask(supported_rates); in aq_ethtool_get_eee()
712 if ((supported_rates & rate) & AQ_NIC_RATE_EEE_MSK) in aq_ethtool_get_eee()
721 u32 rate, supported_rates; in aq_ethtool_set_eee() local
733 &supported_rates); in aq_ethtool_set_eee()
739 rate = supported_rates; in aq_ethtool_set_eee()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c702 u32 rate, supported_rates; in aq_ethtool_get_eee() local
710 &supported_rates); in aq_ethtool_get_eee()
715 eee->supported = eee_mask_to_ethtool_mask(supported_rates); in aq_ethtool_get_eee()
725 if ((supported_rates & rate) & AQ_NIC_RATE_EEE_MSK) in aq_ethtool_get_eee()
734 u32 rate, supported_rates; in aq_ethtool_set_eee() local
746 &supported_rates); in aq_ethtool_set_eee()
752 rate = supported_rates; in aq_ethtool_set_eee()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Ddp.c237 u8 supported_rates[DP_MAX_SUPPORTED_RATES * 2]; in drm_dp_link_probe() local
242 supported_rates, in drm_dp_link_probe()
243 sizeof(supported_rates)); in drm_dp_link_probe()
248 rate = supported_rates[i * 2 + 1] << 8 | in drm_dp_link_probe()
249 supported_rates[i * 2 + 0]; in drm_dp_link_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Ddp.c237 u8 supported_rates[DP_MAX_SUPPORTED_RATES * 2]; in drm_dp_link_probe() local
242 supported_rates, in drm_dp_link_probe()
243 sizeof(supported_rates)); in drm_dp_link_probe()
248 rate = supported_rates[i * 2 + 1] << 8 | in drm_dp_link_probe()
249 supported_rates[i * 2 + 0]; in drm_dp_link_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
H A Dhostap_ap.c1017 /* supported_rates: 500 kbit/s units with msb ignored */ in prism2_sta_proc_show()
1018 for (i = 0; i < sizeof(sta->supported_rates); i++) in prism2_sta_proc_show()
1019 if (sta->supported_rates[i] != 0) in prism2_sta_proc_show()
1021 (sta->supported_rates[i] & 0x7f) / 2, in prism2_sta_proc_show()
1022 sta->supported_rates[i] & 1 ? ".5" : ""); in prism2_sta_proc_show()
1164 for (i = 0; i < sizeof(sta->supported_rates); i++) { in prism2_check_tx_rates()
1165 if ((sta->supported_rates[i] & 0x7f) == 2) in prism2_check_tx_rates()
1167 if ((sta->supported_rates[i] & 0x7f) == 4) in prism2_check_tx_rates()
1169 if ((sta->supported_rates[i] & 0x7f) == 11) in prism2_check_tx_rates()
1171 if ((sta->supported_rates[ in prism2_check_tx_rates()
[all...]
H A Dhostap_ap.h51 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/
H A Dhostap_ap.c1017 /* supported_rates: 500 kbit/s units with msb ignored */ in prism2_sta_proc_show()
1018 for (i = 0; i < sizeof(sta->supported_rates); i++) in prism2_sta_proc_show()
1019 if (sta->supported_rates[i] != 0) in prism2_sta_proc_show()
1021 (sta->supported_rates[i] & 0x7f) / 2, in prism2_sta_proc_show()
1022 sta->supported_rates[i] & 1 ? ".5" : ""); in prism2_sta_proc_show()
1164 for (i = 0; i < sizeof(sta->supported_rates); i++) { in prism2_check_tx_rates()
1165 if ((sta->supported_rates[i] & 0x7f) == 2) in prism2_check_tx_rates()
1167 if ((sta->supported_rates[i] & 0x7f) == 4) in prism2_check_tx_rates()
1169 if ((sta->supported_rates[i] & 0x7f) == 11) in prism2_check_tx_rates()
1171 if ((sta->supported_rates[ in prism2_check_tx_rates()
[all...]
H A Dhostap_ap.h51 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/
H A Dmain.c724 memset(&sta_priv->supported_rates, 0, in wcn36xx_update_allowed_rates()
725 sizeof(sta_priv->supported_rates)); in wcn36xx_update_allowed_rates()
726 sta_priv->supported_rates.op_rate_mode = STA_11n; in wcn36xx_update_allowed_rates()
728 size = ARRAY_SIZE(sta_priv->supported_rates.dsss_rates); in wcn36xx_update_allowed_rates()
729 rates_table = sta_priv->supported_rates.dsss_rates; in wcn36xx_update_allowed_rates()
739 size = ARRAY_SIZE(sta_priv->supported_rates.ofdm_rates); in wcn36xx_update_allowed_rates()
740 rates_table = sta_priv->supported_rates.ofdm_rates; in wcn36xx_update_allowed_rates()
750 sizeof(sta_priv->supported_rates.supported_mcs_set)); in wcn36xx_update_allowed_rates()
751 memcpy(sta_priv->supported_rates.supported_mcs_set, in wcn36xx_update_allowed_rates()
757 sta_priv->supported_rates in wcn36xx_update_allowed_rates()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/
H A Dray_cs.h43 UCHAR supported_rates[8]; member
/kernel/linux/linux-6.6/drivers/net/wireless/legacy/
H A Dray_cs.h43 UCHAR supported_rates[8]; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_wlan_util.c1158 unsigned char supported_rates[NDIS_802_11_LENGTH_RATES_EX]; in update_tx_basic_rate() local
1160 memset(supported_rates, 0, NDIS_802_11_LENGTH_RATES_EX); in update_tx_basic_rate()
1163 memcpy(supported_rates, rtw_basic_rate_cck, 4); in update_tx_basic_rate()
1165 memcpy(supported_rates, rtw_basic_rate_mix, 7); in update_tx_basic_rate()
1167 memcpy(supported_rates, rtw_basic_rate_ofdm, 3); in update_tx_basic_rate()
1174 rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, supported_rates); in update_tx_basic_rate()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/
H A Dwlan_bssdef.h166 NDIS_802_11_RATES_EX supported_rates; member
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c1410 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1413 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1423 auto_rate->supported_rates[ii++] = in rsi_send_auto_rate_request()
1426 auto_rate->supported_rates[ii++] = in rsi_send_auto_rate_request()
1428 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1433 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1439 auto_rate->supported_rates[ii] = cpu_to_le16(min_rate); in rsi_send_auto_rate_request()

Completed in 30 milliseconds

1234