Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 03/28/2006 00:48:10
Module Name:	src
Committed By:	dyoung
Date:		Tue Mar 28 00:48:10 UTC 2006

Modified Files:
	src/sys/dev/ic: atw.c rtw.c
	src/sys/net80211: ieee80211_node.c ieee80211_var.h

Log Message:
Revamp ieee80211_get_rate.  Now it does not use the rateset in the
ic->ic_bss, but it uses the rateset in its new ieee80211_node
argument, instead.  If the rate is fixed by ic->ic_fixed_rate, but
the fixed rate is not in the node's rateset, choose a reasonable
default: prefer the lowest basic rate or, if there is no basic
rate, prefer the lowest rate, period.

Change a printf complaint to a debug message.

Adapt drivers to suit new ieee80211_get_rate calling convention.

XXX I really need to replace ieee80211_get_rate with a bitrate
XXX adaptation algorithm.  Soon, soon....


To generate a diff of this commit:
cvs rdiff -r1.114 -r1.115 src/sys/dev/ic/atw.c
cvs rdiff -r1.71 -r1.72 src/sys/dev/ic/rtw.c
cvs rdiff -r1.54 -r1.55 src/sys/net80211/ieee80211_node.c
cvs rdiff -r1.23 -r1.24 src/sys/net80211/ieee80211_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.