Home
last modified time | relevance | path

Searched refs:SupportedRates (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c177 void rtw_set_supported_rate(u8 *SupportedRates, uint mode) in rtw_set_supported_rate() argument
179 memset(SupportedRates, 0, NDIS_802_11_LENGTH_RATES_EX); in rtw_set_supported_rate()
183 memcpy(SupportedRates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); in rtw_set_supported_rate()
189 memcpy(SupportedRates, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); in rtw_set_supported_rate()
195 memcpy(SupportedRates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); in rtw_set_supported_rate()
196 memcpy(SupportedRates + IEEE80211_CCK_RATE_LEN, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); in rtw_set_supported_rate()
255 rtw_set_supported_rate(pdev_network->SupportedRates, wireless_mode); in rtw_generate_ie()
257 rateLen = rtw_get_rateset_len(pdev_network->SupportedRates); in rtw_generate_ie()
260 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
263 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
[all …]
Drtw_ioctl_set.c571 while ((pcur_bss->SupportedRates[i] != 0) && (pcur_bss->SupportedRates[i] != 0xFF)) { in rtw_get_cur_max_rate()
572 rate = pcur_bss->SupportedRates[i]&0x7F; in rtw_get_cur_max_rate()
Drtw_wlan_util.c1425 unsigned char *rate = cur_network->SupportedRates; in update_wireless_mode()
1427 ratelen = rtw_get_rateset_len(cur_network->SupportedRates); in update_wireless_mode()
1469 memcpy((pmlmeinfo->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_cck, 4); in update_bmc_sta_support_rate()
1471 memcpy((pmlmeinfo->FW_sta_info[mac_id].SupportedRates), rtw_basic_rate_ofdm, 3); in update_bmc_sta_support_rate()
1489 memcpy(pmlmeinfo->FW_sta_info[cam_idx].SupportedRates, pIE->data, ie_len); in update_sta_support_rate()
1496 memcpy((pmlmeinfo->FW_sta_info[cam_idx].SupportedRates + supportRateNum), pIE->data, ie_len); in update_sta_support_rate()
Drtw_ap.c441 supportRateNum = rtw_get_rateset_len((u8 *)&pcur_network->SupportedRates); in update_bmc_sta()
442 network_type = rtw_check_network_type((u8 *)&pcur_network->SupportedRates, supportRateNum, 1); in update_bmc_sta()
444 memcpy(psta->bssrateset, &pcur_network->SupportedRates, supportRateNum); in update_bmc_sta()
673 UpdateBrateTbl(padapter, pnetwork->SupportedRates); in start_bss_network()
674 rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, pnetwork->SupportedRates); in start_bss_network()
828 rtw_set_supported_rate(pbss_network->SupportedRates, network_type); in rtw_check_beacon_data()
Drtw_mlme_ext.c409 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in issue_beacon()
410 … _SUPPORTEDRATES_IE_, min_t(unsigned int, rate_len, 8), cur_network->SupportedRates, &pattrib->pkt… in issue_beacon()
428 …pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates in issue_beacon()
569 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in issue_probersp()
570 … _SUPPORTEDRATES_IE_, min_t(unsigned int, rate_len, 8), cur_network->SupportedRates, &pattrib->pkt… in issue_probersp()
589 …et_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pattrib… in issue_probersp()
1074 if (pmlmeinfo->network.SupportedRates[i] == 0) in issue_assocreq()
1076 DBG_88E("network.SupportedRates[%d]=%02X\n", i, pmlmeinfo->network.SupportedRates[i]); in issue_assocreq()
1080 if (pmlmeinfo->network.SupportedRates[i] == 0) in issue_assocreq()
1086 if ((pmlmeinfo->network.SupportedRates[i]|IEEE80211_BASIC_RATE_MASK) in issue_assocreq()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c263 void rtw_set_supported_rate(u8 *SupportedRates, uint mode) in rtw_set_supported_rate() argument
265 memset(SupportedRates, 0, NDIS_802_11_LENGTH_RATES_EX); in rtw_set_supported_rate()
269 memcpy(SupportedRates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); in rtw_set_supported_rate()
277 memcpy(SupportedRates, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); in rtw_set_supported_rate()
284 memcpy(SupportedRates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); in rtw_set_supported_rate()
285 memcpy(SupportedRates + IEEE80211_CCK_RATE_LEN, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); in rtw_set_supported_rate()
343 rtw_set_supported_rate(pdev_network->SupportedRates, wireless_mode); in rtw_generate_ie()
345 rateLen = rtw_get_rateset_len(pdev_network->SupportedRates); in rtw_generate_ie()
348 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
351 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
[all …]
Drtw_ioctl_set.c674 while ((pcur_bss->SupportedRates[i] != 0) && (pcur_bss->SupportedRates[i] != 0xFF)) { in rtw_get_cur_max_rate()
675 rate = pcur_bss->SupportedRates[i]&0x7F; in rtw_get_cur_max_rate()
Drtw_ap.c527 supportRateNum = rtw_get_rateset_len((u8 *)&pcur_network->SupportedRates); in update_bmc_sta()
529 (u8 *)&pcur_network->SupportedRates, in update_bmc_sta()
729 psta->bssratelen = rtw_get_rateset_len(pnetwork->SupportedRates); in update_ap_info()
730 memcpy(psta->bssrateset, pnetwork->SupportedRates, psta->bssratelen); in update_ap_info()
985 UpdateBrateTbl(padapter, pnetwork->SupportedRates); in start_bss_network()
986 rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, pnetwork->SupportedRates); in start_bss_network()
1139 rtw_set_supported_rate(pbss_network->SupportedRates, network_type); in rtw_check_beacon_data()
Drtw_mlme_ext.c1738 UpdateBrateTbl(padapter, pmlmeinfo->network.SupportedRates); in OnAssocRsp()
2557 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in issue_beacon()
2558 …, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->SupportedRates, &pattrib->pkt… in issue_beacon()
2579 …pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates in issue_beacon()
2760 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in issue_probersp()
2761 …, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->SupportedRates, &pattrib->pkt… in issue_probersp()
2781 …et_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates + 8), &pattrib… in issue_probersp()
3317 if (pmlmeinfo->network.SupportedRates[i] == 0) in issue_assocreq()
3319 DBG_871X("network.SupportedRates[%d]=%02X\n", i, pmlmeinfo->network.SupportedRates[i]); in issue_assocreq()
3324 if (pmlmeinfo->network.SupportedRates[i] == 0) in issue_assocreq()
[all …]
Drtw_wlan_util.c1793 unsigned char *rate = cur_network->SupportedRates; in update_wireless_mode()
1795 ratelen = rtw_get_rateset_len(cur_network->SupportedRates); in update_wireless_mode()
1860 memcpy(pmlmeinfo->FW_sta_info[cam_idx].SupportedRates, pIE->data, ie_len); in update_sta_support_rate()
1865 memcpy((pmlmeinfo->FW_sta_info[cam_idx].SupportedRates + supportRateNum), pIE->data, ie_len); in update_sta_support_rate()
Drtw_mlme.c1222 psta->bssratelen = rtw_get_rateset_len(pnetwork->network.SupportedRates); in rtw_joinbss_update_stainfo()
1223 memcpy(psta->bssrateset, pnetwork->network.SupportedRates, psta->bssratelen); in rtw_joinbss_update_stainfo()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dwlan_bssdef.h189 unsigned char SupportedRates[NDIS_802_11_LENGTH_RATES_EX]; member
Dieee80211.h740 void rtw_set_supported_rate(u8 *SupportedRates, uint mode);
Drtw_mlme_ext.h283 unsigned char SupportedRates[NDIS_802_11_LENGTH_RATES_EX]; member
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c1905 supportRateNum = rtw_get_rateset_len(cur_network->SupportedRates); in UpdateHalRAMask8188EUsb()
1906 networkType = judge_network_type(adapt, cur_network->SupportedRates, supportRateNum) & 0xf; in UpdateHalRAMask8188EUsb()
1908 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
1914 supportRateNum = rtw_get_rateset_len(pmlmeinfo->FW_sta_info[mac_id].SupportedRates); in UpdateHalRAMask8188EUsb()
1920 mask = update_basic_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
1923 supportRateNum = rtw_get_rateset_len(pmlmeinfo->FW_sta_info[mac_id].SupportedRates); in UpdateHalRAMask8188EUsb()
1924 …networkType = judge_network_type(adapt, pmlmeinfo->FW_sta_info[mac_id].SupportedRates, supportRate… in UpdateHalRAMask8188EUsb()
1926 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
Drtl8188e_cmd.c264 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon()
265 …set_ie(pframe, _SUPPORTEDRATES_IE_, min_t(u32, rate_len, 8), cur_network->SupportedRates, &pktlen); in ConstructBeacon()
281 …pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates in ConstructBeacon()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h220 NDIS_802_11_RATES_EX SupportedRates; member
Dieee80211.h1138 void rtw_set_supported_rate(u8 *SupportedRates, uint mode) ;
Drtw_mlme_ext.h364 NDIS_802_11_RATES_EX SupportedRates; member
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c140 if ((rtw_is_cckratesonly_included((u8 *)&pnetwork->network.SupportedRates))) { in translate_scan()
145 } else if ((rtw_is_cckrates_included((u8 *)&pnetwork->network.SupportedRates))) { in translate_scan()
204 while (pnetwork->network.SupportedRates[i] != 0) { in translate_scan()
205 rate = pnetwork->network.SupportedRates[i]&0x7F; in translate_scan()
640 prates = &pcur_bss->SupportedRates; in rtw_wx_get_name()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c181 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon()
182 …frame, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->SupportedRates, &pktlen); in ConstructBeacon()
201 …pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), (cur_network->SupportedRates in ConstructBeacon()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c129 if (rtw_is_cckratesonly_included((u8 *)&pnetwork->network.SupportedRates)) { in translate_scan()
134 } else if (rtw_is_cckrates_included((u8 *)&pnetwork->network.SupportedRates)) { in translate_scan()
203 while (pnetwork->network.SupportedRates[i]!= 0) { in translate_scan()
204 rate = pnetwork->network.SupportedRates[i]&0x7F; in translate_scan()
786 prates = &pcur_bss->SupportedRates; in rtw_wx_get_name()