Home
last modified time | relevance | path

Searched refs:supported_rates (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/ti/wl18xx/
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()
Dacx.c172 acx->supported_rates = cpu_to_le32(rate_set); in wl18xx_acx_set_peer_cap()
Dacx.h314 __le32 supported_rates; member
/linux-6.1.9/drivers/staging/rtl8723bs/core/
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()
328 ie = rtw_set_ie(ie, WLAN_EID_SUPP_RATES, rateLen, pdev_network->supported_rates, &sz); in rtw_generate_ie()
[all …]
Drtw_ioctl_set.c494 while ((pcur_bss->supported_rates[i] != 0) && (pcur_bss->supported_rates[i] != 0xFF)) { in rtw_get_cur_max_rate()
495 rate = pcur_bss->supported_rates[i]&0x7F; in rtw_get_cur_max_rate()
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()
Drtw_mlme_ext.c1450 UpdateBrateTbl(padapter, pmlmeinfo->network.supported_rates); in OnAssocRsp()
2216 rate_len = rtw_get_rateset_len(cur_network->supported_rates); in issue_beacon()
2217 …, WLAN_EID_SUPP_RATES, ((rate_len > 8) ? 8 : rate_len), cur_network->supported_rates, &pattrib->pk… in issue_beacon()
2238 …et_ie(pframe, WLAN_EID_EXT_SUPP_RATES, (rate_len - 8), (cur_network->supported_rates + 8), &pattri… in issue_beacon()
2418 rate_len = rtw_get_rateset_len(cur_network->supported_rates); in issue_probersp()
2419 …, WLAN_EID_SUPP_RATES, ((rate_len > 8) ? 8 : rate_len), cur_network->supported_rates, &pattrib->pk… in issue_probersp()
2439 …et_ie(pframe, WLAN_EID_EXT_SUPP_RATES, (rate_len - 8), (cur_network->supported_rates + 8), &pattri… in issue_probersp()
2916 if (pmlmeinfo->network.supported_rates[i] == 0) in issue_assocreq()
2922 if (pmlmeinfo->network.supported_rates[i] == 0) in issue_assocreq()
2929 if ((pmlmeinfo->network.supported_rates[i] | IEEE80211_BASIC_RATE_MASK) in issue_assocreq()
[all …]
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
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()
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()
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()
688 supported_rates); in wl12xx_cmd_role_start_ap()
690 cmd->ap.local_rates = cpu_to_le32(supported_rates); in wl12xx_cmd_role_start_ap()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Dmain.c725 memset(&sta_priv->supported_rates, 0, in wcn36xx_update_allowed_rates()
726 sizeof(sta_priv->supported_rates)); in wcn36xx_update_allowed_rates()
727 sta_priv->supported_rates.op_rate_mode = STA_11n; in wcn36xx_update_allowed_rates()
729 size = ARRAY_SIZE(sta_priv->supported_rates.dsss_rates); in wcn36xx_update_allowed_rates()
730 rates_table = sta_priv->supported_rates.dsss_rates; in wcn36xx_update_allowed_rates()
740 size = ARRAY_SIZE(sta_priv->supported_rates.ofdm_rates); in wcn36xx_update_allowed_rates()
741 rates_table = sta_priv->supported_rates.ofdm_rates; in wcn36xx_update_allowed_rates()
751 sizeof(sta_priv->supported_rates.supported_mcs_set)); in wcn36xx_update_allowed_rates()
752 memcpy(sta_priv->supported_rates.supported_mcs_set, in wcn36xx_update_allowed_rates()
758 sta_priv->supported_rates.op_rate_mode = STA_11ac; in wcn36xx_update_allowed_rates()
[all …]
Dwcn36xx.h192 struct wcn36xx_hal_supported_rates_v1 supported_rates; member
Dsmd.c413 memcpy(&sta_params->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params()
417 &sta_params->supported_rates); in wcn36xx_smd_set_sta_params()
1440 memcpy(&v1->supported_rates, &orig->supported_rates, in wcn36xx_smd_convert_sta_to_v1()
1441 sizeof(orig->supported_rates)); in wcn36xx_smd_convert_sta_to_v1()
1463 memcpy(&sta_par->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params_v1()
1464 sizeof(sta_par->supported_rates)); in wcn36xx_smd_set_sta_params_v1()
1466 wcn36xx_set_default_rates_v1(&sta_par->supported_rates); in wcn36xx_smd_set_sta_params_v1()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c1018 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[i] & 0x7f) == 22) in prism2_check_tx_rates()
1582 memset(sta->supported_rates, 0, in handle_assoc()
[all …]
Dhostap_ap.h51 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
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()
Daq_hw.h391 u32 *supported_rates);
/linux-6.1.9/drivers/gpu/drm/tegra/
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()
/linux-6.1.9/drivers/net/wireless/
Dray_cs.h43 UCHAR supported_rates[8]; member
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h166 NDIS_802_11_RATES_EX supported_rates; member
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_wlan_util.c1272 unsigned char supported_rates[NDIS_802_11_LENGTH_RATES_EX]; in update_tx_basic_rate() local
1280 memset(supported_rates, 0, NDIS_802_11_LENGTH_RATES_EX); in update_tx_basic_rate()
1283 memcpy(supported_rates, rtw_basic_rate_cck, 4); in update_tx_basic_rate()
1285 memcpy(supported_rates, rtw_basic_rate_mix, 7); in update_tx_basic_rate()
1287 memcpy(supported_rates, rtw_basic_rate_ofdm, 3); in update_tx_basic_rate()
1294 rtw_set_basic_rate(padapter, supported_rates); in update_tx_basic_rate()
/linux-6.1.9/drivers/net/wireless/rsi/
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()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Djoin.c199 memcpy(out_rates, bss_desc->supported_rates, MWIFIEX_SUPPORTED_RATES); in mwifiex_setup_rates_from_bssdesc()
1177 bss_desc->supported_rates[i]; i++) in mwifiex_cmd_802_11_ad_hoc_join()
1185 bss_desc->supported_rates, rates_size); in mwifiex_cmd_802_11_ad_hoc_join()
1189 memcpy(&priv->curr_bss_params.data_rates, bss_desc->supported_rates, in mwifiex_cmd_802_11_ad_hoc_join()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c162 rate_len = rtw_get_rateset_len(cur_network->supported_rates); in ConstructBeacon()
163 …rame, WLAN_EID_SUPP_RATES, ((rate_len > 8) ? 8 : rate_len), cur_network->supported_rates, &pktlen); in ConstructBeacon()
182 …et_ie(pframe, WLAN_EID_EXT_SUPP_RATES, (rate_len - 8), (cur_network->supported_rates + 8), &pktlen… in ConstructBeacon()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c491 u32 *supported_rates) in aq_fw2x_get_eee_rate() argument
506 *supported_rates = fw2x_to_eee_mask(caps_hi); in aq_fw2x_get_eee_rate()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_utils_fw.c479 u32 *supported_rates) in aq_a2_fw_get_eee_rate() argument
487 *supported_rates = a2_fw_dev_to_eee_mask(&device_link_caps); in aq_a2_fw_get_eee_rate()

12