Felix Fietkau 6054069a03 ath9k_hw: validate and fix broken eeprom chainmask settings
Some devices (e.g. Ubiquiti AirRouter) ship with broken EEPROM chainmask
data, which breaks the initial calibration after a hardware reset.
To fix this, mask the eeprom chainmask with the chainmask of the chip,
and use the chip chainmask if the result is zero.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-07-21 14:52:04 -04:00
..
2011-03-05 10:55:57 +01:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-13 16:50:49 -04:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-04-10 18:55:19 -07:00
2010-11-09 09:17:56 -08:00
2010-07-11 18:15:08 -07:00
2011-03-31 11:26:23 -03:00
2011-06-22 16:09:58 -04:00
2010-08-24 12:24:07 -07:00
2010-09-26 18:34:29 -07:00
2011-04-10 18:55:21 -07:00
2011-03-31 11:26:23 -03:00
2010-12-23 11:44:34 -08:00
2010-07-14 13:40:36 -07:00
2010-05-10 05:01:31 -07:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-04-18 22:59:04 -07:00
2011-04-18 14:19:32 -07:00
2011-05-07 03:08:38 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-15 15:50:41 -07:00
2011-04-15 15:50:41 -07:00
2011-04-17 17:47:36 -07:00
2011-04-17 17:47:36 -07:00
2011-05-07 22:31:35 -07:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:45 -07:00
2011-03-31 11:26:23 -03:00
2011-05-19 09:55:43 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-05-19 09:55:43 +01:00
2010-09-26 18:34:29 -07:00
2011-03-31 11:26:23 -03:00
2010-06-21 13:40:25 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-07-05 20:08:05 -07:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-04-06 14:35:23 -07:00
2011-03-31 11:26:23 -03:00
2010-09-15 22:06:05 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-09-21 18:04:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-07-15 20:46:22 -07:00
2010-05-10 05:01:31 -07:00
2011-04-26 10:22:59 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:42 -07:00
2010-10-24 16:25:39 -07:00
2011-05-09 11:53:07 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-25 17:55:32 -04:00
2011-03-31 11:26:23 -03:00
2010-06-03 03:18:23 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00