Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1132 network->rates_len = min(info_element->len, in libipw_parse_info_param()
1134 for (i = 0; i < network->rates_len; i++) { in libipw_parse_info_param()
1152 rates_str, network->rates_len); in libipw_parse_info_param()
1317 network->rates_len = network->rates_ex_len = 0; in libipw_handle_assoc_resp()
1375 network->rates_len = network->rates_ex_len = 0; in libipw_network_init()
1450 memcpy(dst->rates, src->rates, src->rates_len); in update_network()
1451 dst->rates_len = src->rates_len; in update_network()
Dlibipw.h625 u8 rates_len; member
Dlibipw_wx.c116 for (i = 0, j = 0; i < network->rates_len;) { in libipw_translate_scan()
Dipw2200.c5305 num_rates = min(network->rates_len, (u8) IPW_MAX_RATES); in ipw_compatible_rates()
5831 network->rates_len = min(priv->rates.num_rates, MAX_RATES_LENGTH); in ipw_adhoc_create()
5832 memcpy(network->rates, priv->rates.supported_rates, network->rates_len); in ipw_adhoc_create()
5833 network->rates_ex_len = priv->rates.num_rates - network->rates_len; in ipw_adhoc_create()
5835 &priv->rates.supported_rates[network->rates_len], in ipw_adhoc_create()
/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dhif.c379 u8 rates_len = 0; in wilc_parse_join_bss_param() local
410 rates_len = rates_ie[1]; in wilc_parse_join_bss_param()
411 if (rates_len > WILC_MAX_RATES_SUPPORTED) in wilc_parse_join_bss_param()
412 rates_len = WILC_MAX_RATES_SUPPORTED; in wilc_parse_join_bss_param()
413 param->supp_rates[0] = rates_len; in wilc_parse_join_bss_param()
414 memcpy(&param->supp_rates[1], rates_ie + 2, rates_len); in wilc_parse_join_bss_param()
417 if (rates_len < WILC_MAX_RATES_SUPPORTED) { in wilc_parse_join_bss_param()
423 if (ext_rates > (WILC_MAX_RATES_SUPPORTED - rates_len)) in wilc_parse_join_bss_param()
428 memcpy(&param->supp_rates[rates_len + 1], in wilc_parse_join_bss_param()
430 (param->supp_rates[0] - rates_len)); in wilc_parse_join_bss_param()
/Linux-v6.6/drivers/staging/rtl8192e/
Drtllib_softmac.c27 return (net->rates_ex_len > 0) || (net->rates_len > 4); in rtllib_is_54g()
147 for (i = 0; i < ieee->current_network.rates_len; i++) { in MgntQuery_TxRateExcludeCCKRates()
777 int rate_len = ieee->current_network.rates_len + 2; in rtllib_probe_resp()
1004 unsigned int rate_len = (beacon->rates_len ? in rtllib_association_req()
1005 (beacon->rates_len + 2) : 0) + in rtllib_association_req()
1106 if (beacon->rates_len) { in rtllib_association_req()
1108 *tag++ = beacon->rates_len; in rtllib_association_req()
1109 for (i = 0; i < beacon->rates_len; i++) in rtllib_association_req()
2326 ieee->current_network.rates_len = 4; in rtllib_start_ibss_wq()
Drtllib_rx.c2026 network->rates_len = min(info_element->len, in rtllib_parse_info_param()
2028 for (i = 0; i < network->rates_len; i++) { in rtllib_parse_info_param()
2049 rates_str, network->rates_len); in rtllib_parse_info_param()
2258 network->rates_len = network->rates_ex_len = 0; in rtllib_network_init()
2350 memcpy(dst->rates, src->rates, src->rates_len); in update_network()
2351 dst->rates_len = src->rates_len; in update_network()
Drtllib_wx.c101 for (i = 0, j = 0; i < network->rates_len;) { in rtl819x_translate_scan()
Drtllib.h1073 u8 rates_len; member
/Linux-v6.6/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1565 network->rates_len = min(info_element->len, in ieee80211_parse_info_param()
1567 for (i = 0; i < network->rates_len; i++) { in ieee80211_parse_info_param()
1585 rates_str, network->rates_len); in ieee80211_parse_info_param()
2000 network->rates_len = network->rates_ex_len = 0; in ieee80211_network_init()
2097 memcpy(dst->rates, src->rates, src->rates_len); in update_network()
2098 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()
2271 ieee->current_network.rates_len = 4; in ieee80211_start_ibss_wq()
2278 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.h1289 u8 rates_len; member
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dtdls.c964 sta_ptr->tdls_cap.rates_len = ie_len; in mwifiex_process_tdls_action_frame()
972 basic = sta_ptr->tdls_cap.rates_len; in mwifiex_process_tdls_action_frame()
977 sta_ptr->tdls_cap.rates_len += ie_len; in mwifiex_process_tdls_action_frame()
Dmain.h751 u8 rates_len; member
/Linux-v6.6/net/mac80211/
Dmlme.c834 unsigned int rates_len, supp_rates_len; in ieee80211_assoc_add_rates() local
846 rates_len = ieee80211_parse_bitrates(width, sband, in ieee80211_assoc_add_rates()
856 rates_len = sband->n_bitrates; in ieee80211_assoc_add_rates()
861 supp_rates_len = rates_len; in ieee80211_assoc_add_rates()
880 if (rates_len > count) { in ieee80211_assoc_add_rates()
881 pos = skb_put(skb, rates_len - count + 2); in ieee80211_assoc_add_rates()
883 *pos++ = rates_len - count; in ieee80211_assoc_add_rates()
/Linux-v6.6/drivers/net/wireless/atmel/
Datmel.c3117 u16 rates_len = ass_resp->length > 4 ? 4 : ass_resp->length; in associate() local
3121 if (frame_len < 8 + rates_len) in associate()
3133 PHY_MIB_RATE_SET_POS, ass_resp->rates, rates_len); in associate()
/Linux-v6.6/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c492 for (i = 0; i < net->rates_len; i++) { in rtl92e_config_rate()
/Linux-v6.6/drivers/staging/rtl8192u/
Dr8192U_core.c845 for (i = 0; i < net->rates_len; i++) { in rtl8192_config_rate()
/Linux-v6.6/net/wireless/
Dnl80211.c4930 u8 *rates, u8 rates_len) in rateset_to_mask() argument
4935 for (i = 0; i < rates_len; i++) { in rateset_to_mask()
4955 u8 *rates, u8 rates_len, in ht_rateset_to_mask() argument
4962 for (i = 0; i < rates_len; i++) { in ht_rateset_to_mask()