* [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
@ 2006-05-06 9:16 Daniel Drake
2006-05-19 18:08 ` John W. Linville
0 siblings, 1 reply; 11+ messages in thread
From: Daniel Drake @ 2006-05-06 9:16 UTC (permalink / raw)
To: netdev
Can a bcm43xx user please test this. It uses the new txrate stuff found in
the wireless-dev tree.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Index: linux/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
===================================================================
--- linux.orig/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
+++ linux/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
@@ -296,11 +296,14 @@ void bcm43xx_generate_txhdr(struct bcm43
u16 control = 0;
u16 wsec_rate = 0;
u16 encrypt_frame;
+ u16 ftype = WLAN_FC_GET_TYPE(le16_to_cpu(wireless_header->frame_ctl));
+ int is_mgt = (ftype == IEEE80211_FTYPE_MGMT) != 0;
/* Now construct the TX header. */
memset(txhdr, 0, sizeof(*txhdr));
- bitrate = bcm->softmac->txrates.default_rate;
+ bitrate = ieee80211softmac_suggest_txrate(bcm->softmac,
+ is_multicast_ether_addr(wireless_header->addr1), is_mgt);
ofdm_modulation = !(ieee80211_is_cck_rate(bitrate));
fallback_bitrate = bcm43xx_calc_fallback_rate(bitrate);
fallback_ofdm_modulation = !(ieee80211_is_cck_rate(fallback_bitrate));
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-05-06 9:16 [PATCH,RFT] bcm43xx: use softmac-suggested TX rate Daniel Drake
@ 2006-05-19 18:08 ` John W. Linville
2006-05-19 18:44 ` Daniel Drake
0 siblings, 1 reply; 11+ messages in thread
From: John W. Linville @ 2006-05-19 18:08 UTC (permalink / raw)
To: Daniel Drake; +Cc: netdev
On Sat, May 06, 2006 at 10:16:51AM +0100, Daniel Drake wrote:
> Can a bcm43xx user please test this. It uses the new txrate stuff found in
> the wireless-dev tree.
Daniel,
Do you intend for this to be merged? Given recent miscommunication,
I figured I should ask... :-)
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-05-19 18:44 ` Daniel Drake
@ 2006-05-19 18:32 ` Michael Buesch
2006-06-05 18:51 ` John W. Linville
0 siblings, 1 reply; 11+ messages in thread
From: Michael Buesch @ 2006-05-19 18:32 UTC (permalink / raw)
To: Daniel Drake; +Cc: netdev, linville
On Friday 19 May 2006 20:44, you wrote:
> John W. Linville wrote:
> > Do you intend for this to be merged? Given recent miscommunication,
> > I figured I should ask... :-)
>
> Nobody has tested it yet, so no, but thanks for asking.
>
> I figure it will be easier to find testers once the base patch (softmac
> suggest txrate) has been pushed by you into 2.6.18-rc1 ;)
Next time, please CC the maintainers, so they don't accidentally delete
important mail. ;)
Can you resend that patch to me in private and I will see if it
is good.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-05-19 18:08 ` John W. Linville
@ 2006-05-19 18:44 ` Daniel Drake
2006-05-19 18:32 ` Michael Buesch
0 siblings, 1 reply; 11+ messages in thread
From: Daniel Drake @ 2006-05-19 18:44 UTC (permalink / raw)
To: linville; +Cc: netdev
John W. Linville wrote:
> Do you intend for this to be merged? Given recent miscommunication,
> I figured I should ask... :-)
Nobody has tested it yet, so no, but thanks for asking.
I figure it will be easier to find testers once the base patch (softmac
suggest txrate) has been pushed by you into 2.6.18-rc1 ;)
Daniel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-05-19 18:32 ` Michael Buesch
@ 2006-06-05 18:51 ` John W. Linville
2006-06-05 19:15 ` Michael Buesch
0 siblings, 1 reply; 11+ messages in thread
From: John W. Linville @ 2006-06-05 18:51 UTC (permalink / raw)
To: Michael Buesch; +Cc: Daniel Drake, netdev
On Fri, May 19, 2006 at 08:32:46PM +0200, Michael Buesch wrote:
> On Friday 19 May 2006 20:44, you wrote:
> > John W. Linville wrote:
> > > Do you intend for this to be merged? Given recent miscommunication,
> > > I figured I should ask... :-)
> >
> > Nobody has tested it yet, so no, but thanks for asking.
> >
> > I figure it will be easier to find testers once the base patch (softmac
> > suggest txrate) has been pushed by you into 2.6.18-rc1 ;)
>
> Next time, please CC the maintainers, so they don't accidentally delete
> important mail. ;)
> Can you resend that patch to me in private and I will see if it
> is good.
Any more input on this patch? Do we want it, or not?
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-06-05 18:51 ` John W. Linville
@ 2006-06-05 19:15 ` Michael Buesch
2006-06-05 19:17 ` John W. Linville
0 siblings, 1 reply; 11+ messages in thread
From: Michael Buesch @ 2006-06-05 19:15 UTC (permalink / raw)
To: John W. Linville; +Cc: Daniel Drake, netdev
On Monday 05 June 2006 20:51, John W. Linville wrote:
> On Fri, May 19, 2006 at 08:32:46PM +0200, Michael Buesch wrote:
> > On Friday 19 May 2006 20:44, you wrote:
> > > John W. Linville wrote:
> > > > Do you intend for this to be merged? Given recent miscommunication,
> > > > I figured I should ask... :-)
> > >
> > > Nobody has tested it yet, so no, but thanks for asking.
> > >
> > > I figure it will be easier to find testers once the base patch (softmac
> > > suggest txrate) has been pushed by you into 2.6.18-rc1 ;)
> >
> > Next time, please CC the maintainers, so they don't accidentally delete
> > important mail. ;)
> > Can you resend that patch to me in private and I will see if it
> > is good.
>
> Any more input on this patch? Do we want it, or not?
I will test it now and send it to you afterwards.
--
Greetings Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-06-05 19:15 ` Michael Buesch
@ 2006-06-05 19:17 ` John W. Linville
2006-06-05 19:28 ` Michael Buesch
0 siblings, 1 reply; 11+ messages in thread
From: John W. Linville @ 2006-06-05 19:17 UTC (permalink / raw)
To: Michael Buesch; +Cc: Daniel Drake, netdev
On Mon, Jun 05, 2006 at 09:15:54PM +0200, Michael Buesch wrote:
> On Monday 05 June 2006 20:51, John W. Linville wrote:
> > On Fri, May 19, 2006 at 08:32:46PM +0200, Michael Buesch wrote:
> > > On Friday 19 May 2006 20:44, you wrote:
> > > > John W. Linville wrote:
> > > > > Do you intend for this to be merged? Given recent miscommunication,
> > > > > I figured I should ask... :-)
> > > >
> > > > Nobody has tested it yet, so no, but thanks for asking.
> > > >
> > > > I figure it will be easier to find testers once the base patch (softmac
> > > > suggest txrate) has been pushed by you into 2.6.18-rc1 ;)
> > >
> > > Next time, please CC the maintainers, so they don't accidentally delete
> > > important mail. ;)
> > > Can you resend that patch to me in private and I will see if it
> > > is good.
> >
> > Any more input on this patch? Do we want it, or not?
>
> I will test it now and send it to you afterwards.
OK, I will now 'officially' forget about this patch, and wait for you
to endorse it by re-sending it to me. :-)
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-06-05 19:17 ` John W. Linville
@ 2006-06-05 19:28 ` Michael Buesch
2006-06-05 19:42 ` John W. Linville
2006-06-05 19:48 ` Daniel Drake
0 siblings, 2 replies; 11+ messages in thread
From: Michael Buesch @ 2006-06-05 19:28 UTC (permalink / raw)
To: John W. Linville; +Cc: Daniel Drake, netdev
On Monday 05 June 2006 21:17, John W. Linville wrote:
> OK, I will now 'officially' forget about this patch, and wait for you
> to endorse it by re-sending it to me. :-)
Ok, but it depends on this patch, which does not seem to be in your tree, yet.
http://marc.theaimsgroup.com/?l=linux-netdev&m=114651996213569&q=raw
I am not sure where it went, though... .
--
Greetings Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-06-05 19:28 ` Michael Buesch
@ 2006-06-05 19:42 ` John W. Linville
2006-06-05 19:48 ` Daniel Drake
1 sibling, 0 replies; 11+ messages in thread
From: John W. Linville @ 2006-06-05 19:42 UTC (permalink / raw)
To: Michael Buesch; +Cc: Daniel Drake, netdev
On Mon, Jun 05, 2006 at 09:28:55PM +0200, Michael Buesch wrote:
> On Monday 05 June 2006 21:17, John W. Linville wrote:
> > OK, I will now 'officially' forget about this patch, and wait for you
> > to endorse it by re-sending it to me. :-)
>
> Ok, but it depends on this patch, which does not seem to be in your tree, yet.
> http://marc.theaimsgroup.com/?l=linux-netdev&m=114651996213569&q=raw
>
> I am not sure where it went, though... .
That is in the 'upstream' branch (stuff queued for 2.6.18) of wireless-2.6.
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-06-05 19:28 ` Michael Buesch
2006-06-05 19:42 ` John W. Linville
@ 2006-06-05 19:48 ` Daniel Drake
2006-06-05 20:00 ` John W. Linville
1 sibling, 1 reply; 11+ messages in thread
From: Daniel Drake @ 2006-06-05 19:48 UTC (permalink / raw)
To: Michael Buesch; +Cc: John W. Linville, netdev
Michael Buesch wrote:
> On Monday 05 June 2006 21:17, John W. Linville wrote:
>> OK, I will now 'officially' forget about this patch, and wait for you
>> to endorse it by re-sending it to me. :-)
>
> Ok, but it depends on this patch, which does not seem to be in your tree, yet.
> http://marc.theaimsgroup.com/?l=linux-netdev&m=114651996213569&q=raw
>
> I am not sure where it went, though... .
It's in the master branch.
Daniel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH,RFT] bcm43xx: use softmac-suggested TX rate
2006-06-05 19:48 ` Daniel Drake
@ 2006-06-05 20:00 ` John W. Linville
0 siblings, 0 replies; 11+ messages in thread
From: John W. Linville @ 2006-06-05 20:00 UTC (permalink / raw)
To: Daniel Drake; +Cc: Michael Buesch, netdev
On Mon, Jun 05, 2006 at 08:48:39PM +0100, Daniel Drake wrote:
> Michael Buesch wrote:
> >On Monday 05 June 2006 21:17, John W. Linville wrote:
> >>OK, I will now 'officially' forget about this patch, and wait for you
> >>to endorse it by re-sending it to me. :-)
> >
> >Ok, but it depends on this patch, which does not seem to be in your tree,
> >yet.
> >http://marc.theaimsgroup.com/?l=linux-netdev&m=114651996213569&q=raw
> >
> >I am not sure where it went, though... .
>
> It's in the master branch.
There too... :-)
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-06-05 20:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-06 9:16 [PATCH,RFT] bcm43xx: use softmac-suggested TX rate Daniel Drake
2006-05-19 18:08 ` John W. Linville
2006-05-19 18:44 ` Daniel Drake
2006-05-19 18:32 ` Michael Buesch
2006-06-05 18:51 ` John W. Linville
2006-06-05 19:15 ` Michael Buesch
2006-06-05 19:17 ` John W. Linville
2006-06-05 19:28 ` Michael Buesch
2006-06-05 19:42 ` John W. Linville
2006-06-05 19:48 ` Daniel Drake
2006-06-05 20:00 ` John W. Linville
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).