Search Linux Wireless

Re: RFC: Store premable and g-mode flags in ieee80211_tx_info

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

 



On Tue, 2010-09-28 at 10:25 -0700, Ben Greear wrote:
> This way, you don't need to pass vif to ieee80211_rts_duration.


> --- a/net/mac80211/tx.c
> +++ b/net/mac80211/tx.c
> @@ -1264,6 +1264,14 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata,
>          }
>          info->flags |= IEEE80211_TX_CTL_FIRST_FRAGMENT;
> 
> +       /* Set this here so drivers don't need to reference vif
> +        * when calling ieee80211_rts_duration
> +        */
> +       if (sdata->vif.bss_conf.use_short_preamble)
> +               tx.flags |= IEEE80211_TX_SHORT_PREABLE;
> +       if (sdata->flags & IEEE80211_SDATA_OPERATING_GMODE)
> +               tx.flags |= IEEE80211_TX_GMODE

Don't understand -- tx.flags? Drivers don't reference that? How would a
driver use this?

johannes

--
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