diff options
Diffstat (limited to 'drivers/net/wimax/i2400m/netdev.c')
-rw-r--r-- | drivers/net/wimax/i2400m/netdev.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/wimax/i2400m/netdev.c b/drivers/net/wimax/i2400m/netdev.c index b811c2f1f5e9..94742e1eafe0 100644 --- a/drivers/net/wimax/i2400m/netdev.c +++ b/drivers/net/wimax/i2400m/netdev.c | |||
@@ -84,17 +84,15 @@ | |||
84 | 84 | ||
85 | enum { | 85 | enum { |
86 | /* netdev interface */ | 86 | /* netdev interface */ |
87 | /* | ||
88 | * Out of NWG spec (R1_v1.2.2), 3.3.3 ASN Bearer Plane MTU Size | ||
89 | * | ||
90 | * The MTU is 1400 or less | ||
91 | */ | ||
92 | I2400M_MAX_MTU = 1400, | ||
93 | /* 20 secs? yep, this is the maximum timeout that the device | 87 | /* 20 secs? yep, this is the maximum timeout that the device |
94 | * might take to get out of IDLE / negotiate it with the base | 88 | * might take to get out of IDLE / negotiate it with the base |
95 | * station. We add 1sec for good measure. */ | 89 | * station. We add 1sec for good measure. */ |
96 | I2400M_TX_TIMEOUT = 21 * HZ, | 90 | I2400M_TX_TIMEOUT = 21 * HZ, |
97 | I2400M_TX_QLEN = 5, | 91 | /* |
92 | * Experimentation has determined that, 20 to be a good value | ||
93 | * for minimizing the jitter in the throughput. | ||
94 | */ | ||
95 | I2400M_TX_QLEN = 20, | ||
98 | }; | 96 | }; |
99 | 97 | ||
100 | 98 | ||
@@ -255,7 +253,6 @@ void i2400m_net_wake_stop(struct i2400m *i2400m) | |||
255 | kfree_skb(wake_tx_skb); | 253 | kfree_skb(wake_tx_skb); |
256 | } | 254 | } |
257 | d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); | 255 | d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); |
258 | return; | ||
259 | } | 256 | } |
260 | 257 | ||
261 | 258 | ||
@@ -434,7 +431,6 @@ void i2400m_tx_timeout(struct net_device *net_dev) | |||
434 | * this, there might be data pending to be sent or not... | 431 | * this, there might be data pending to be sent or not... |
435 | */ | 432 | */ |
436 | net_dev->stats.tx_errors++; | 433 | net_dev->stats.tx_errors++; |
437 | return; | ||
438 | } | 434 | } |
439 | 435 | ||
440 | 436 | ||