The driver manually queries the noise values anyway.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
resp->hdr.len = sizeof(struct carl9170_rf_init_result);
resp->rf_init_res.ret = cpu_to_le32(ret);
-
- resp->rf_init_res.regs[0] = get(AR9170_PHY_REG_CCA);
- resp->rf_init_res.regs[3] = get(AR9170_PHY_REG_EXT_CCA);
-
- resp->rf_init_res.regs[1] = get(AR9170_PHY_REG_CH1_CCA);
- resp->rf_init_res.regs[4] = get(AR9170_PHY_REG_CH1_EXT_CCA);
-
- resp->rf_init_res.regs[2] = get(AR9170_PHY_REG_CH2_CCA);
- resp->rf_init_res.regs[5] = get(AR9170_PHY_REG_CH2_EXT_CCA);
}
#ifdef CONFIG_CARL9170FW_PSM
struct carl9170_rf_init_result {
__le32 ret; /* AR9170_PHY_REG_AGC_CONTROL */
- __le32 regs[6];
} __packed;
-#define CARL9170_RF_INIT_RESULT_SIZE 28
+#define CARL9170_RF_INIT_RESULT_SIZE 4
#define CARL9170_USB_WATCHDOG_INACTIVE 0
#define CARL9170_USB_WATCHDOG_ON_DUTY 1