I'm trying to adapt a patch (for specifying the transmission rate for
injected frames) to the latest changes in compat-wireless.
I saw that the signature of this function changed:
ieee80211_parse_tx_radiotap(struct sk_buff *skb)
While before it was:
__ieee80211_parse_tx_radiotap(struct ieee80211_tx_data *tx, struct
sk_buff *skb)
is there a way to obtain info to translate the rate as specified into
the radiotap header to the rate index require by the driver. The
previous code was:
sband = info->local->hw.wiphy->bands[info->channel->band];
and then:
for (i = 0; i < sband->n_bitrates; i++)
if (sband->bitrates[i].bitrate == rate)
{
idx = i;
break;
}
Thanks
R.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html