* mac80211 TX frame alignment
@ 2009-08-04 17:05 Ivo van Doorn
2009-08-04 17:37 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Ivo van Doorn @ 2009-08-04 17:05 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
Hi Johannes,
Do you know if for outgoing frames the header should always
be 4-byte aligned?
I have a bugreport from users claiming that master mode
is failing for rt2500pci because the beacons passed to the
driver are not 4-byte aligned which causes the device not
to send out the beacons correctly.
I'm just wondering if this is something that should be fixed
in the driver or in mac80211.
Thanks,
Ivo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mac80211 TX frame alignment
2009-08-04 17:05 mac80211 TX frame alignment Ivo van Doorn
@ 2009-08-04 17:37 ` Johannes Berg
2009-08-05 18:57 ` Ivo van Doorn
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2009-08-04 17:37 UTC (permalink / raw)
To: Ivo van Doorn; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
Hi Ivo,
> Do you know if for outgoing frames the header should always
> be 4-byte aligned?
I know that there's no alignment guarantee.
> I have a bugreport from users claiming that master mode
> is failing for rt2500pci because the beacons passed to the
> driver are not 4-byte aligned which causes the device not
> to send out the beacons correctly.
>
> I'm just wondering if this is something that should be fixed
> in the driver or in mac80211.
I don't think we can fix that in mac80211, since we don't know whether
or not any alignment is required. We could align beacon frames, I
suppose, since those are created on the fly, but not data frames.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mac80211 TX frame alignment
2009-08-04 17:37 ` Johannes Berg
@ 2009-08-05 18:57 ` Ivo van Doorn
0 siblings, 0 replies; 3+ messages in thread
From: Ivo van Doorn @ 2009-08-05 18:57 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
Hi,
> > Do you know if for outgoing frames the header should always
> > be 4-byte aligned?
>
> I know that there's no alignment guarantee.
>
> > I have a bugreport from users claiming that master mode
> > is failing for rt2500pci because the beacons passed to the
> > driver are not 4-byte aligned which causes the device not
> > to send out the beacons correctly.
> >
> > I'm just wondering if this is something that should be fixed
> > in the driver or in mac80211.
>
> I don't think we can fix that in mac80211, since we don't know whether
> or not any alignment is required. We could align beacon frames, I
> suppose, since those are created on the fly, but not data frames.
Ok, I'll look into a patch for making sure rt2x00 aligns all frames
correctly before mapping the DMA.
Thanks,
Ivo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-05 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 17:05 mac80211 TX frame alignment Ivo van Doorn
2009-08-04 17:37 ` Johannes Berg
2009-08-05 18:57 ` Ivo van Doorn
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).