Alessandro Erta
Jason Weber
Przemyslaw Bruski
+Perry Lorier
Apologies to anyone whose name was unintentionally left off.
Please let us know if you think your name should be mentioned here!
* Compex Systems Pte Ltd, Singapore - http://www.compex.com.sg
two donations with a total of 7 MiniPCI cards
-* IndraNet Technologies Ltd, New Zealand - http://www.indranet.com.nz
+* IndraNet Technologies Ltd, New Zealand - http://www.indranet.co.nz
Minstrel rate control module
* Linux-Consulting, USA - http://www.linux-consulting.com
* the first or second antenna port.
* If the user has set the txantenna, use it for multicast frames too. */
if (ismcast && !sc->sc_txantenna) {
- antenna = sc->sc_mcastantenna + 1;
- sc->sc_mcastantenna = (sc->sc_mcastantenna + 1) & 0x1;
+ /* Alternating antenna might be the wrong thing to do if we
+ * have one antenna that's significantly better than the other
+ *
+ * Use antenna in the ratio of the successfully sent unicast packets.
+ */
+ if (sc->sc_mcastantenna > 0) {
+ sc->sc_mcastantenna -= sc->sc_ant_tx[1] + 1;
+ antenna = 2;
+ } else {
+ sc->sc_mcastantenna += sc->sc_ant_tx[2] + 1;
+ antenna = 1;
+ }
} else
antenna = sc->sc_txantenna;