adrian 5ab9e66230 When assembling the descriptor list, make sure that the "first" descriptor
is marked correctly.

The existing logic assumed that the first descriptor is i == 0, which
doesn't hold for EDMA TX.  In this instance, the first time filltxdesc()
is called can be up to i == 3.

So for a two-buffer descriptor:

* firstSeg is set to 0;
* lastSeg is set to 1;
* the ath_hal_filltxdesc() code will treat it as the last segment in
  a descriptor chain and blank some of the descriptor fields, causing
  the TX to stop.

When firstSeg is set to 1 (regardless of lastSeg), it overrides the
lastSeg setting.  Thus, ath_hal_filltxdesc() won't blank out these
fields.

Tested: AR9380, STA mode.  With this, association is successful.
2012-08-19 02:16:22 +00:00
..
2012-08-17 02:47:16 +00:00
2012-08-16 20:54:52 +00:00
2012-08-18 16:13:16 +00:00
2012-06-11 17:42:39 +00:00
2012-08-16 00:53:23 +00:00
2012-02-28 15:07:05 +00:00
2012-08-03 12:55:31 +00:00
2012-08-16 19:22:34 +00:00
2012-08-16 13:01:56 +00:00
2012-04-16 10:33:46 +00:00
2012-08-05 22:03:13 +00:00
2012-08-17 02:47:16 +00:00