Search Linux Wireless

Re: [RFC 2/2] mac80211: Send the management frame at requested rate

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

 



On Thu, 2011-09-22 at 20:28 +0530, Rajkumar Manoharan wrote:

> +++ b/net/mac80211/tx.c
> @@ -639,6 +639,11 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx)
>  		txrc.rts = rts = true;
>  	}
>  
> +	if (ieee80211_is_probe_req(hdr->frame_control) &&
> +	    tx->sdata->local->scan_req &&
> +	    tx->sdata->local->scan_req->no_cck)
> +		info->flags |= IEEE80211_TX_CTL_NO_CCK_RATE;
> +

I think this would make more sense in ieee80211_send_probe_req() rather
than here where it'll be executed for every frame.

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