Commit 53838e4b authored by Uri Shkolnik's avatar Uri Shkolnik Committed by Mauro Carvalho Chehab

V4L/DVB (11556): Siano: core header - indentation

Some more indentation for the smscoreapi.h
There are no implementation changes in this patch.
Signed-off-by: default avatarUri Shkolnik <uris@siano-ms.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7c57333d
...@@ -117,7 +117,6 @@ struct smsclient_params_t { ...@@ -117,7 +117,6 @@ struct smsclient_params_t {
int data_type; int data_type;
onresponse_t onresponse_handler; onresponse_t onresponse_handler;
onremove_t onremove_handler; onremove_t onremove_handler;
void *context; void *context;
}; };
...@@ -253,13 +252,14 @@ struct smscore_device_t { ...@@ -253,13 +252,14 @@ struct smscore_device_t {
#define MSG_SMS_SIGNAL_DETECTED_IND 827 #define MSG_SMS_SIGNAL_DETECTED_IND 827
#define MSG_SMS_NO_SIGNAL_IND 828 #define MSG_SMS_NO_SIGNAL_IND 828
#define SMS_INIT_MSG_EX(ptr, type, src, dst, len) do { \ #define SMS_INIT_MSG_EX(ptr, type, src, dst, len) do { \
(ptr)->msgType = type; (ptr)->msgSrcId = src; (ptr)->msgDstId = dst; \ (ptr)->msgType = type; (ptr)->msgSrcId = src; (ptr)->msgDstId = dst; \
(ptr)->msgLength = len; (ptr)->msgFlags = 0; \ (ptr)->msgLength = len; (ptr)->msgFlags = 0; \
} while (0) } while (0)
#define SMS_INIT_MSG(ptr, type, len) \ #define SMS_INIT_MSG(ptr, type, len) \
SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len) SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len)
enum SMS_DVB3_EVENTS { enum SMS_DVB3_EVENTS {
DVB3_EVENT_INIT = 0, DVB3_EVENT_INIT = 0,
DVB3_EVENT_SLEEP, DVB3_EVENT_SLEEP,
...@@ -315,11 +315,12 @@ struct SmsVersionRes_ST { ...@@ -315,11 +315,12 @@ struct SmsVersionRes_ST {
u8 Step; /* 0 - Step A */ u8 Step; /* 0 - Step A */
u8 MetalFix; /* 0 - Metal 0 */ u8 MetalFix; /* 0 - Metal 0 */
u8 FirmwareId; /* 0xFF � ROM, otherwise the /* FirmwareId 0xFF if ROM, otherwise the
* value indicated by * value indicated by SMSHOSTLIB_DEVICE_MODES_E */
* SMSHOSTLIB_DEVICE_MODES_E */ u8 FirmwareId;
u8 SupportedProtocols; /* Bitwise OR combination of /* SupportedProtocols Bitwise OR combination of
* supported protocols */ * supported protocols */
u8 SupportedProtocols;
u8 VersionMajor; u8 VersionMajor;
u8 VersionMinor; u8 VersionMinor;
...@@ -353,10 +354,12 @@ struct SMSHOSTLIB_STATISTICS_ST { ...@@ -353,10 +354,12 @@ struct SMSHOSTLIB_STATISTICS_ST {
s32 SNR; /* dB */ s32 SNR; /* dB */
u32 BER; /* Post Viterbi BER [1E-5] */ u32 BER; /* Post Viterbi BER [1E-5] */
u32 FIB_CRC; /* CRC errors percentage, valid only for DAB */ u32 FIB_CRC; /* CRC errors percentage, valid only for DAB */
u32 TS_PER; /* Transport stream PER, 0xFFFFFFFF indicate N/A, /* Transport stream PER, 0xFFFFFFFF indicate N/A,
* valid only for DVB-T/H */ * valid only for DVB-T/H */
u32 MFER; /* DVB-H frame error rate in percentage, u32 TS_PER;
/* DVB-H frame error rate in percentage,
* 0xFFFFFFFF indicate N/A, valid only for DVB-H */ * 0xFFFFFFFF indicate N/A, valid only for DVB-H */
u32 MFER;
s32 RSSI; /* dBm */ s32 RSSI; /* dBm */
s32 InBandPwr; /* In band power in dBM */ s32 InBandPwr; /* In band power in dBM */
s32 CarrierOffset; /* Carrier Offset in bin/1024 */ s32 CarrierOffset; /* Carrier Offset in bin/1024 */
...@@ -364,8 +367,9 @@ struct SMSHOSTLIB_STATISTICS_ST { ...@@ -364,8 +367,9 @@ struct SMSHOSTLIB_STATISTICS_ST {
/* Transmission parameters, valid only for DVB-T/H */ /* Transmission parameters, valid only for DVB-T/H */
u32 Frequency; /* Frequency in Hz */ u32 Frequency; /* Frequency in Hz */
u32 Bandwidth; /* Bandwidth in MHz */ u32 Bandwidth; /* Bandwidth in MHz */
u32 TransmissionMode; /* Transmission Mode, for DAB modes 1-4, /* Transmission Mode, for DAB modes 1-4,
* for DVB-T/H FFT mode carriers in Kilos */ * for DVB-T/H FFT mode carriers in Kilos */
u32 TransmissionMode;
u32 ModemState; /* from SMS_DvbModemState_ET */ u32 ModemState; /* from SMS_DvbModemState_ET */
u32 GuardInterval; /* Guard Interval, 1 divided by value */ u32 GuardInterval; /* Guard Interval, 1 divided by value */
u32 CodeRate; /* Code Rate from SMS_DvbModemState_ET */ u32 CodeRate; /* Code Rate from SMS_DvbModemState_ET */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment