Search Linux Wireless

[PATCH] ath9k: remove fragmentation workaround again

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

 



Looking at the RC algorithm this is no longer necessary.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
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 {


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