Home
last modified time | relevance | path

Searched refs:n_rates (Results 1 – 2 of 2) sorted by relevance

/external/iw/
Dibss.c28 int n_rates = 0; in join_ibss() local
138 while (value && n_rates < NL80211_MAX_SUPP_RATES) { in join_ibss()
140 rates[n_rates] = rate * 2; in join_ibss()
143 if (*end != '\0' || !rates[n_rates] || in join_ibss()
144 rate*2 != rates[n_rates]) in join_ibss()
147 n_rates++; in join_ibss()
151 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); in join_ibss()
Dmesh.c442 int bintval, dtim_period, i, n_rates = 0; in join_mesh() local
521 while (value && n_rates < NL80211_MAX_SUPP_RATES) { in join_mesh()
523 rates[n_rates] = rate * 2; in join_mesh()
526 if (*end != '\0' || !rates[n_rates] || in join_mesh()
527 rate*2 != rates[n_rates]) in join_mesh()
530 n_rates++; in join_mesh()
534 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); in join_mesh()