diff options
author | Luciano Coelho <luciano.coelho@nokia.com> | 2009-12-11 08:40:41 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-28 16:31:29 -0500 |
commit | 76c0f8d396bd306111d349cfe770e1c4fcf70248 (patch) | |
tree | a675cc99b67a747ded6498ebd29c7b0e364f477b /drivers/net/wireless/wl12xx/wl1271_conf.h | |
parent | 937a67e75a93b63f0b5d33612901906b8eb2a688 (diff) |
wl1271: updated general parameters structure for newer firmwares
In revision 6.1.0.0.288 the general parameters structure has changed. This
patch updates the driver code accordingly.
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_conf.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_conf.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_conf.h b/drivers/net/wireless/wl12xx/wl1271_conf.h index 565373ede265..5e36cd90d0c6 100644 --- a/drivers/net/wireless/wl12xx/wl1271_conf.h +++ b/drivers/net/wireless/wl12xx/wl1271_conf.h | |||
@@ -759,6 +759,9 @@ enum single_dual_band_enum { | |||
759 | CONF_DUAL_BAND | 759 | CONF_DUAL_BAND |
760 | }; | 760 | }; |
761 | 761 | ||
762 | |||
763 | #define CONF_MAX_SMART_REFLEX_PARAMS 16 | ||
764 | |||
762 | struct conf_general_parms { | 765 | struct conf_general_parms { |
763 | /* | 766 | /* |
764 | * RF Reference Clock type / speed | 767 | * RF Reference Clock type / speed |
@@ -815,6 +818,20 @@ struct conf_general_parms { | |||
815 | * Range: Unknown | 818 | * Range: Unknown |
816 | */ | 819 | */ |
817 | u8 settings; | 820 | u8 settings; |
821 | |||
822 | /* Smart reflex settings */ | ||
823 | u8 sr_state; | ||
824 | |||
825 | s8 srf1[CONF_MAX_SMART_REFLEX_PARAMS]; | ||
826 | s8 srf2[CONF_MAX_SMART_REFLEX_PARAMS]; | ||
827 | s8 srf3[CONF_MAX_SMART_REFLEX_PARAMS]; | ||
828 | |||
829 | s8 sr_debug_table[CONF_MAX_SMART_REFLEX_PARAMS]; | ||
830 | |||
831 | u8 sr_sen_n_p; | ||
832 | u8 sr_sen_n_p_gain; | ||
833 | u8 sr_sen_nrn; | ||
834 | u8 sr_sen_prn; | ||
818 | }; | 835 | }; |
819 | 836 | ||
820 | #define CONF_RSSI_AND_PROCESS_COMPENSATION_SIZE 15 | 837 | #define CONF_RSSI_AND_PROCESS_COMPENSATION_SIZE 15 |