Hi,

As part of the AR9380 support that's hopefully appearing soon, I
finally found the motivation to tidy up how the chainmask handling is
done.

The summary:

* introduce a new HAL method that changes the currently configured
TX/RX chainmask;
* leave the TX chainmask as 1 for non-HT and the hardware default for HT;
* leave the RX chainmask as the hardware default for HT;
* push the chainmask decision making into the driver - and have it
done before each call to ath_hal_reset()

TODO:

* upon a channel reset, I need to absolutely make sure that anything
that's in the hardware queue gets dequeued and requeued with whatever
the new rate control information is. This includes channel width
changes and chainmask changes.

I'd appreciate it if people running ath(4) on -HEAD would try this
out. It shouldn't break non-11n NICs but I should test those out too.

http://people.freebsd.org/~adrian/ath/20130222-ath-chainmask-ctrl-1.diff

Thanks,


Adrian
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to