Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
H A Dacx.c172 acx->supported_rates = cpu_to_le32(rate_set); in wl18xx_acx_set_peer_cap()
H A Dacx.h314 __le32 supported_rates; member
/openbmc/linux/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()
328 ie = rtw_set_ie(ie, WLAN_EID_SUPP_RATES, rateLen, pdev_network->supported_rates, &sz); 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()
H A Drtw_mlme_ext.c1448 UpdateBrateTbl(padapter, pmlmeinfo->network.supported_rates); in OnAssocRsp()
2214 rate_len = rtw_get_rateset_len(cur_network->supported_rates); in issue_beacon()
2416 rate_len = rtw_get_rateset_len(cur_network->supported_rates); in issue_probersp()
2914 if (pmlmeinfo->network.supported_rates[i] == 0) in issue_assocreq()
2920 if (pmlmeinfo->network.supported_rates[i] == 0) in issue_assocreq()
2927 if ((pmlmeinfo->network.supported_rates[i] | IEEE80211_BASIC_RATE_MASK) in issue_assocreq()
2934 bssrate[index++] = pmlmeinfo->network.supported_rates[i]; in issue_assocreq()
3981 memset(bssid->supported_rates, 0, NDIS_802_11_LENGTH_RATES_EX); in collect_bss_info()
3990 memcpy(bssid->supported_rates, (p + 2), len); in collect_bss_info()
3999 memcpy(bssid->supported_rates + i, (p + 2), len); in collect_bss_info()
[all …]
/openbmc/linux/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
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
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()
1565 cmd->supported_rates = in wl12xx_cmd_add_peer()
1569 if (!cmd->supported_rates) { in wl12xx_cmd_add_peer()
[all …]
/openbmc/linux/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()
751 memcpy(sta_priv->supported_rates.supported_mcs_set, in wcn36xx_update_allowed_rates()
757 sta_priv->supported_rates.op_rate_mode = STA_11ac; in wcn36xx_update_allowed_rates()
758 sta_priv->supported_rates.vht_rx_mcs_map = in wcn36xx_update_allowed_rates()
[all …]
H A Dwcn36xx.h192 struct wcn36xx_hal_supported_rates_v1 supported_rates; member
H A 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()
/openbmc/linux/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()
H A Daq_hw.h391 u32 *supported_rates);
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_ap.c1582 memset(sta->supported_rates, 0, in handle_assoc()
2127 memset(sta->supported_rates, 0, sizeof(sta->supported_rates)); in handle_beacon()
2508 sta->supported_rates[0] = 2; in prism2_hostapd_add_sta()
2510 sta->supported_rates[1] = 4; in prism2_hostapd_add_sta()
2512 sta->supported_rates[2] = 11; in prism2_hostapd_add_sta()
2514 sta->supported_rates[3] = 22; in prism2_hostapd_add_sta()
3145 memset(sta->supported_rates, 0, sizeof(sta->supported_rates)); in hostap_add_sta()
3149 sta->supported_rates[0] = 0x82; in hostap_add_sta()
3150 sta->supported_rates[1] = 0x84; in hostap_add_sta()
3151 sta->supported_rates[2] = 0x0b; in hostap_add_sta()
[all …]
H A Dhostap_ap.h51 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
/openbmc/linux/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()
/openbmc/linux/drivers/net/wireless/legacy/
H A Dray_cs.h43 UCHAR supported_rates[8]; member
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dwlan_bssdef.h166 NDIS_802_11_RATES_EX supported_rates; member
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c1409 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1412 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1422 auto_rate->supported_rates[ii++] = in rsi_send_auto_rate_request()
1425 auto_rate->supported_rates[ii++] = in rsi_send_auto_rate_request()
1427 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1432 auto_rate->supported_rates[ii] = in rsi_send_auto_rate_request()
1438 auto_rate->supported_rates[ii] = cpu_to_le16(min_rate); in rsi_send_auto_rate_request()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A 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()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A 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()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A 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()
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c49 static uint32_t supported_rates = BIT(VIRTIO_SND_PCM_RATE_5512) variable
288 if (!(supported_rates & BIT(params->rate))) { in virtio_snd_set_pcm_params()
475 stream->info.rates = supported_rates; in virtio_snd_pcm_prepare()

12