Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] ath9k: remove fragmentation workaround again
@ 2008-12-09 11:26 Johannes Berg
  2008-12-09 16:39 ` Jouni Malinen
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-12-09 11:26 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Sujith Manoharan

Looking at the RC algorithm this is no longer necessary.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
Untested, but the error that used to happen will no longer happen since
now the sub-structure is assigned by the driver, in rate_driver_data,
per fragment.

 drivers/net/wireless/ath9k/main.c |    6 ------
 1 file changed, 6 deletions(-)

--- everything.orig/drivers/net/wireless/ath9k/main.c	2008-12-08 21:54:08.000000000 +0100
+++ everything/drivers/net/wireless/ath9k/main.c	2008-12-08 21:54:20.000000000 +0100
@@ -2423,11 +2423,6 @@ static int ath9k_ampdu_action(struct iee
 	return ret;
 }
 
-static int ath9k_no_fragmentation(struct ieee80211_hw *hw, u32 value)
-{
-	return -EOPNOTSUPP;
-}
-
 static struct ieee80211_ops ath9k_ops = {
 	.tx 		    = ath9k_tx,
 	.start 		    = ath9k_start,
@@ -2444,7 +2439,6 @@ static struct ieee80211_ops ath9k_ops = 
 	.get_tsf 	    = ath9k_get_tsf,
 	.reset_tsf 	    = ath9k_reset_tsf,
 	.ampdu_action       = ath9k_ampdu_action,
-	.set_frag_threshold = ath9k_no_fragmentation,
 };
 
 static struct {



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

end of thread, other threads:[~2008-12-09 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 11:26 [PATCH] ath9k: remove fragmentation workaround again Johannes Berg
2008-12-09 16:39 ` Jouni Malinen
2008-12-09 16:51   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox