linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Radiotap injected rates
@ 2013-03-17 21:55 Karl Beldan
  2013-03-18 19:26 ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Karl Beldan @ 2013-03-17 21:55 UTC (permalink / raw)
  To: Johannes Berg, linux-wireless; +Cc: Sam Leffler

Hi,

Some time ago the rate selection for radiotap injected frames did not
make it essentially for mac80211 getting short in IEEE80211_TX_CTL_*s.

Would it be acceptable to replace the originally proposed:


-	if (!(tx->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL))
+	if (!(tx->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL) &&
+	    !(info->flags & IEEE80211_TX_CTL_NO_RC))
 		CALL_TXH(ieee80211_tx_h_rate_ctrl);

with something like :

-	if (!(tx->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL))
+	if (!(tx->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL) &&
+	    !(info->flags & IEEE80211_TX_CTL_INJECTED && info->control.rates[i]))
		CALL_TXH(ieee80211_tx_h_rate_ctrl);

?

 
Karl

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-03-22 14:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 21:55 Radiotap injected rates Karl Beldan
2013-03-18 19:26 ` Johannes Berg
2013-03-18 19:54   ` Karl Beldan
2013-03-22 12:24     ` Johannes Berg
2013-03-22 13:27       ` Karl Beldan
2013-03-22 13:32         ` Johannes Berg
2013-03-22 13:53           ` Karl Beldan
2013-03-22 14:00             ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).