Home
last modified time | relevance | path

Searched refs:rates_len (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1154 network->rates_len = min(info_element->len, in libipw_parse_info_param()
1156 for (i = 0; i < network->rates_len; i++) { in libipw_parse_info_param()
1174 rates_str, network->rates_len); in libipw_parse_info_param()
1339 network->rates_len = network->rates_ex_len = 0; in libipw_handle_assoc_resp()
1397 network->rates_len = network->rates_ex_len = 0; in libipw_network_init()
1472 memcpy(dst->rates, src->rates, src->rates_len); in update_network()
1473 dst->rates_len = src->rates_len; in update_network()
Dlibipw.h626 u8 rates_len; member
Dlibipw_wx.c116 for (i = 0, j = 0; i < network->rates_len;) { in libipw_translate_scan()
Dipw2200.c5351 num_rates = min(network->rates_len, (u8) IPW_MAX_RATES); in ipw_compatible_rates()
5877 network->rates_len = min(priv->rates.num_rates, MAX_RATES_LENGTH); in ipw_adhoc_create()
5878 memcpy(network->rates, priv->rates.supported_rates, network->rates_len); in ipw_adhoc_create()
5879 network->rates_ex_len = priv->rates.num_rates - network->rates_len; in ipw_adhoc_create()
5881 &priv->rates.supported_rates[network->rates_len], in ipw_adhoc_create()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dhif.c364 u8 rates_len = 0; in wilc_parse_join_bss_param() local
395 rates_len = rates_ie[1]; in wilc_parse_join_bss_param()
396 if (rates_len > WILC_MAX_RATES_SUPPORTED) in wilc_parse_join_bss_param()
397 rates_len = WILC_MAX_RATES_SUPPORTED; in wilc_parse_join_bss_param()
398 param->supp_rates[0] = rates_len; in wilc_parse_join_bss_param()
399 memcpy(&param->supp_rates[1], rates_ie + 2, rates_len); in wilc_parse_join_bss_param()
402 if (rates_len < WILC_MAX_RATES_SUPPORTED) { in wilc_parse_join_bss_param()
408 if (ext_rates > (WILC_MAX_RATES_SUPPORTED - rates_len)) in wilc_parse_join_bss_param()
413 memcpy(&param->supp_rates[rates_len + 1], in wilc_parse_join_bss_param()
415 (param->supp_rates[0] - rates_len)); in wilc_parse_join_bss_param()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_softmac.c28 return (net->rates_ex_len > 0) || (net->rates_len > 4); in rtllib_is_54g()
159 for (i = 0; i < ieee->current_network.rates_len; i++) { in MgntQuery_TxRateExcludeCCKRates()
825 int rate_len = ieee->current_network.rates_len+2; in rtllib_probe_resp()
1163 unsigned int rate_len = (beacon->rates_len ? in rtllib_association_req()
1164 (beacon->rates_len + 2) : 0) + in rtllib_association_req()
1268 if (beacon->rates_len) { in rtllib_association_req()
1270 *tag++ = beacon->rates_len; in rtllib_association_req()
1271 for (i = 0; i < beacon->rates_len; i++) in rtllib_association_req()
2624 ieee->current_network.rates_len = 4; in rtllib_start_ibss_wq()
2636 ieee->current_network.rates_len = 0; in rtllib_start_ibss_wq()
Drtllib_rx.c2091 network->rates_len = min(info_element->len, in rtllib_parse_info_param()
2093 for (i = 0; i < network->rates_len; i++) { in rtllib_parse_info_param()
2114 rates_str, network->rates_len); in rtllib_parse_info_param()
2327 network->rates_len = network->rates_ex_len = 0; in rtllib_network_init()
2429 memcpy(dst->rates, src->rates, src->rates_len); in update_network()
2430 dst->rates_len = src->rates_len; in update_network()
Drtllib_wx.c118 for (i = 0, j = 0; i < network->rates_len;) { in rtl819x_translate_scan()
Drtllib.h1118 u8 rates_len; member
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1590 network->rates_len = min(info_element->len, in ieee80211_parse_info_param()
1592 for (i = 0; i < network->rates_len; i++) { in ieee80211_parse_info_param()
1610 rates_str, network->rates_len); in ieee80211_parse_info_param()
2062 network->rates_len = network->rates_ex_len = 0; in ieee80211_network_init()
2160 memcpy(dst->rates, src->rates, src->rates_len); in update_network()
2161 dst->rates_len = src->rates_len; in update_network()
Dieee80211_softmac.c26 return (net->rates_ex_len > 0) || (net->rates_len > 4); in ieee80211_is_54g()
669 int rate_len = ieee->current_network.rates_len + 2; in ieee80211_probe_resp()
2261 ieee->current_network.rates_len = 4; in ieee80211_start_ibss_wq()
2268 ieee->current_network.rates_len = 0; in ieee80211_start_ibss_wq()
Dieee80211_wx.c113 for (i = 0, j = 0; i < network->rates_len; ) { in rtl819x_translate_scan()
Dieee80211.h1352 u8 rates_len; member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dtdls.c961 sta_ptr->tdls_cap.rates_len = ie_len; in mwifiex_process_tdls_action_frame()
969 basic = sta_ptr->tdls_cap.rates_len; in mwifiex_process_tdls_action_frame()
974 sta_ptr->tdls_cap.rates_len += ie_len; in mwifiex_process_tdls_action_frame()
Dmain.h770 u8 rates_len; member
/kernel/linux/linux-5.10/net/mac80211/
Dmlme.c708 int i, count, rates_len, supp_rates_len, shift; in ieee80211_send_assoc() local
743 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
753 rates_len = 0; in ieee80211_send_assoc()
756 rates_len++; in ieee80211_send_assoc()
763 4 + rates_len + /* (extended) rates */ in ieee80211_send_assoc()
833 supp_rates_len = rates_len; in ieee80211_send_assoc()
852 if (rates_len > count) { in ieee80211_send_assoc()
853 pos = skb_put(skb, rates_len - count + 2); in ieee80211_send_assoc()
855 *pos++ = rates_len - count; in ieee80211_send_assoc()
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
Datmel.c3122 u16 rates_len = ass_resp->length > 4 ? 4 : ass_resp->length; in associate() local
3126 if (frame_len < 8 + rates_len) in associate()
3138 PHY_MIB_RATE_SET_POS, ass_resp->rates, rates_len); in associate()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c564 for (i = 0; i < net->rates_len; i++) { in rtl92e_config_rate()
/kernel/linux/linux-5.10/net/wireless/
Dnl80211.c4416 u8 *rates, u8 rates_len) in rateset_to_mask() argument
4421 for (i = 0; i < rates_len; i++) { in rateset_to_mask()
4441 u8 *rates, u8 rates_len, in ht_rateset_to_mask() argument
4448 for (i = 0; i < rates_len; i++) { in ht_rateset_to_mask()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr8192U_core.c1023 for (i = 0; i < net->rates_len; i++) { in rtl8192_config_rate()