Search Linux Wireless

Changes in the radiotap parsing method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux