[ath_hal] migrate the shared HAL_RESET_* pieces out into ath_hal.

I'm in the process of reworking how the reset path works with an eye
to better recovery when the chips hang and/or go RF/PHY deaf.
This is the first step in a lot of unification and API changes.
This commit is contained in:
Adrian Chadd 2018-05-25 01:27:39 +00:00
parent fc16061f19
commit a861b06b97
3 changed files with 6 additions and 12 deletions

View File

@ -100,12 +100,6 @@ enum GAIN_PARAMS_2133 {
GP_PWD_130,
};
enum {
HAL_RESET_POWER_ON,
HAL_RESET_WARM,
HAL_RESET_COLD,
};
typedef struct _gain_opt_step {
int16_t paramVal[NUM_CORNER_FIX_BITS_2133];
int32_t stepGain;

View File

@ -763,6 +763,12 @@ typedef enum {
HAL_RESET_FORCE_COLD = 2, /* Force full reset */
} HAL_RESET_TYPE;
enum {
HAL_RESET_POWER_ON,
HAL_RESET_WARM,
HAL_RESET_COLD
};
typedef struct {
uint8_t kv_type; /* one of HAL_CIPHER */
uint8_t kv_apsd; /* Mask for APSD enabled ACs */

View File

@ -27,12 +27,6 @@
#define AR5416_MAGIC 0x20065416
enum {
HAL_RESET_POWER_ON,
HAL_RESET_WARM,
HAL_RESET_COLD,
};
typedef struct {
uint16_t synth_center;
uint16_t ctl_center;