Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1048643e authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville
Browse files

ath5k: Clean up eeprom parsing and add missing calibration data



This patch brings the ath5k eeprom parsing code in sync with the work
done on ath_info by Nick Kossifidis and integrates the missing parts
based on the code of the Atheros Legacy HAL release.

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 7ac47010
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -821,13 +821,6 @@ struct ath5k_athchan_2ghz {
		return (false);			\
} while (0)

enum ath5k_ant_setting {
	AR5K_ANT_VARIABLE	= 0,	/* variable by programming */
	AR5K_ANT_FIXED_A	= 1,	/* fixed to 11a frequencies */
	AR5K_ANT_FIXED_B	= 2,	/* fixed to 11b frequencies */
	AR5K_ANT_MAX		= 3,
};

/*
 * Hardware interrupt abstraction
 */