Adrian Chadd e2137b86d6 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-16 20:54:52 +00:00
2012-06-06 09:07:50 +00:00
2012-03-12 20:31:58 +00:00
2012-04-04 21:09:02 +00:00
2012-06-07 03:22:20 +00:00
2011-12-17 10:23:17 +00:00
2012-07-28 21:56:24 +00:00
2012-03-27 15:13:12 +00:00
2012-08-06 08:58:54 +00:00
2012-01-10 20:52:02 +00:00
2012-01-15 13:23:18 +00:00
2012-08-15 18:37:01 +00:00
2012-01-31 13:00:40 +00:00
2012-01-15 13:23:43 +00:00
2012-04-13 18:21:56 +00:00
2012-07-26 13:58:43 +00:00
2012-07-05 20:51:44 +00:00
2011-12-17 10:23:17 +00:00
2012-08-15 04:07:18 +00:00
2012-08-15 04:03:55 +00:00
2011-05-15 13:17:08 +00:00
2012-08-03 00:11:13 +00:00
2012-08-15 06:31:32 +00:00
2012-07-28 21:56:24 +00:00
2012-01-11 15:00:16 +00:00
2012-02-27 08:57:02 +00:00
2012-01-15 13:23:18 +00:00
2012-08-13 16:03:30 +00:00
2012-07-30 08:56:56 +00:00
2012-05-11 03:17:32 +00:00
2012-06-10 11:17:14 +00:00
2012-06-28 07:28:39 +00:00
2012-08-01 01:18:36 +00:00
2011-12-15 05:07:16 +00:00
2012-08-15 05:37:10 +00:00
2012-08-17 16:27:11 +00:00
2012-02-11 08:12:52 +00:00
2012-07-11 02:57:19 +00:00
2011-10-18 08:09:44 +00:00
2011-11-23 05:34:01 +00:00
2012-06-01 04:23:20 +00:00