Search Linux Wireless

Re: [PATCH] Implementation of the IEEE80211_RADIOTAP_RATE option

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

 



On Sat, 2009-08-22 at 15:03 -0700, Rafael Laufer wrote:

> >> + * @IEEE80211_TX_CTL_RATE_RADIOTAP: completely internal to mac80211,
> >> + *	used to indicate that the rate was defined in the received radiotap
> >> + *	header and therefore the rate control algorithm should not change it.
> >>     
> >
> > This should be an internal flag, the driver doesn't care.
> >   
> 
> right, and where are those set?

It's just a naming thing really. Look at the other flags.

> >> +		/* Get the rate parameter from the radiotap header, 
> >> +		 * allowing rate selection on a per-packet basis 
> >> +		 */
> >>     
> >
> > coding style
> >   
> 
> I am a newbie, I am gonna look into the coding style, but I assume you 
> are talking about the missing blank line in the beginning

What Kalle said. Sorry to be a bit terse at times.

> This is a good point and now I see that Gábor pointed this out as well. 
> There are other fields in the radiotap header that define the RTS and 
> DATA retries. However, if those fields are not set, there must be a 
> default value in this case. Are there any?

Well there's the short and long retry counts, that could be used I
guess. It would make some sense to do that. And the RTS/CTS-to-self
determination should probably be made by the network in absence of
explicit configuration, but the tx_h_rate_ctrl function should do that
already I think, even if you skip the rate control algorithm. Same with
short preamble or not. If you want to support only the rate, I suspect
that leaving the flags and setting just the rate index/count will be
sufficient. Unfortunately, you'll have to take a closer look at the code
to determine it.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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