From: Jiri Benc <jbenc@suse.cz>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: netdev@vger.kernel.org
Subject: [PATCH 2/3] bcm43xx-d80211: fix sending of fragments
Date: Fri, 23 Jun 2006 15:09:34 +0200 (CEST) [thread overview]
Message-ID: <20060623130934.895A8483AC@silver.suse.cz> (raw)
In-Reply-To: <20060623150913.986994000.midnight@suse.cz>
This makes fragmentation work with bcm43xx.
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
---
drivers/net/wireless/d80211/bcm43xx/bcm43xx_dma.c | 2 +-
drivers/net/wireless/d80211/bcm43xx/bcm43xx_pio.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- dscape.orig/drivers/net/wireless/d80211/bcm43xx/bcm43xx_dma.c
+++ dscape/drivers/net/wireless/d80211/bcm43xx/bcm43xx_dma.c
@@ -703,7 +703,7 @@ static int dma_tx_fragment(struct bcm43x
bcm43xx_generate_txhdr(ring->bcm,
(struct bcm43xx_txhdr *)hdr_skb->data,
skb->data, skb->len,
- 1,//FIXME
+ ctl->first_fragment,
generate_cookie(ring, slot),
ctl);
--- dscape.orig/drivers/net/wireless/d80211/bcm43xx/bcm43xx_pio.c
+++ dscape/drivers/net/wireless/d80211/bcm43xx/bcm43xx_pio.c
@@ -186,7 +186,7 @@ static void pio_tx_write_fragment(struct
assert(skb_shinfo(skb)->nr_frags == 0);
bcm43xx_generate_txhdr(queue->bcm,
&txhdr, skb->data, skb->len,
- 1,//FIXME
+ packet->txstat.control.first_fragment,
generate_cookie(queue, packet),
&packet->txstat.control);
next prev parent reply other threads:[~2006-06-23 13:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-23 13:09 [PATCH 0/3] d80211 drivers: fixes for last d80211 patches Jiri Benc
2006-06-23 13:09 ` [PATCH 1/3] rt2x00: per-queue TX flow control Jiri Benc
2006-06-23 13:09 ` Jiri Benc [this message]
2006-06-23 13:09 ` [incomplete 3/3] bcm43xx-d80211: " Jiri Benc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060623130934.895A8483AC@silver.suse.cz \
--to=jbenc@suse.cz \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox