Lines Matching defs:idx
178 u8 idx;
1754 info->status.rates[0].idx = -1;
1802 stream->idx = i;
1997 txpriority = (BA_QUEUE + stream->idx) %
1999 if (stream->idx <= 1)
2000 index = stream->idx +
3086 int band, ch, idx = 0;
3093 for (ch = 0; ch < sband->n_channels; ch++, idx++)
3099 return idx;
3106 s8 nf = 0, idx;
3109 idx = freq_to_idx(priv, priv->acs_chan->center_freq);
3110 if (idx >= MWL8K_NUM_CHANS) {
3115 survey = &priv->survey[idx];
3816 u8 idx);
3987 cmd->create_params.queue_id = stream->idx;
4022 cmd->create_params.queue_id = stream->idx;
4049 u8 idx)
4061 cmd->destroy_params.ba_context = cpu_to_le32(idx);
4064 wiphy_debug(hw->wiphy, "Deleted BA stream index %d\n", idx);
4163 u8 idx;
4173 idx = s->idx;
4175 mwl8k_destroy_ba(hw, idx);
4339 u8 idx;
4350 idx = key->keyidx;
4360 if (!mwl8k_vif->wep_key_conf[idx].enabled) {
4361 memcpy(mwl8k_vif->wep_key_conf[idx].key, key,
4363 mwl8k_vif->wep_key_conf[idx].enabled = 1;
5055 int idx;
5060 idx = ffs(vif->bss_conf.basic_rates);
5061 if (idx)
5062 idx--;
5066 rate = mwl8k_rates_24[idx].hw_value;
5068 rate = mwl8k_rates_50[idx].hw_value;
5127 int idx;
5135 idx = ffs(vif->bss_conf.basic_rates);
5136 if (idx)
5137 idx--;
5140 rate = mwl8k_rates_24[idx].hw_value;
5142 rate = mwl8k_rates_50[idx].hw_value;
5404 static int mwl8k_get_survey(struct ieee80211_hw *hw, int idx,
5414 if (sband && idx >= sband->n_channels) {
5415 idx -= sband->n_channels;
5422 if (!sband || idx >= sband->n_channels)
5425 memcpy(survey, &priv->survey[idx], sizeof(*survey));
5426 survey->channel = &sband->channels[idx];
5431 if (idx != 0)
5455 u8 *addr = sta->addr, idx;
5538 idx = stream->idx;
5540 mwl8k_destroy_ba(hw, idx);
5556 idx = stream->idx;
5558 mwl8k_destroy_ba(hw, idx);