Commit Graph

22 Commits

Author SHA1 Message Date
Ayaz Ahmad
b69202b622 radio: iris: Fix the set station issue at boundary
Seek frequency at lower/upper limit is not working
if selected country is in Europe band with channel
 spacing 50Khz

Use the correct upper limit for Europe band

Change-Id: Icdcb116c24ae9840cc66b1dc2da5fa739a2f89c8
CRs-Fixed: 338137
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
2012-02-24 16:52:47 +05:30
Sunny Kapdi
0f69eb4005 radio: iris: Add support for FM Subsystem Restart
Inject FM Disable event when WCNSS resets.

1. When WCNSS crashes, SMD will close the FM port
2. Schedule a work queue to send RADIO_DISABLED event to upper layer.

Change-Id: I10e4834df507fe39ce58b92e650c1a39ccbf66f7
Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org>
2012-02-13 23:12:13 -08:00
Srinivasa Rao Uppala
d3184a4f6a radio: iris: Add signal detection threshold IOCTL's
Add the IOCTL's to get the signal detection parameters like
SINR, SINR samples, Low detection threshold and high
detection threshold

Change-Id: I0b8f8d978bd25990098b20073fd664e649af3b49
CRs-Fixed: 322688
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-23 21:16:19 +05:30
Srinivasa Rao Uppala
6983984c30 radio: iris: Increase the RT buffer to fit the RT header
Increase the RDS Radio text buffer size to fit the RT header.
And also limit the Radio text to maximum allowed length

Change-Id: Ib38b4bfaae83d5f381a831c2e202c7f3a52698b4
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-17 11:17:19 +05:30
Srinivasa Rao Uppala
acdebccd13 radio: iris: Incorporate changes in tune status event
SINR and interference detection threshold parameters are added to the
tune status event. Update the driver to incorporate the changes.

CRs-Fixed: 322478
Change-Id: Ia883c85469ba4d4025d518b6ddba371c755f3763
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-16 12:28:02 +05:30
Anantha Krishnan
61dc15eae1 radio-iris: Add place holder for TAVARUA specific commands.
Change-Id: I83226f1d6dce998dab0bde990c6855b0763ac0f3
CRs-Fixed: 314648
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2011-12-09 15:39:19 +05:30
Srinivasa Rao Uppala
c5320c2e36 radio: iris: Fix the FM FTM Tx configuration failure
FM configuration failure is due to two issues. Since the calibration
will take around 6 seconds to complete, any commands sent to SOC
during that time will fail.Added a state machine to prevent the
execution of another command while FM calibration is in progress.

The other issues is with the Get tuner command.FM kernel driver is
sending the Rx specific command to get the Tx configuration.
Send the proper command to get the TX configuration parameters.

CRs-Fixed: 317658
Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-12-08 12:37:34 -07:00
Venkateshwarlu Domakonda
3a0b75d0af radio: iris: Fix the calibration issue.
Fix the preset issue after the calibration

Change-Id: I5c0c694304b70be48462feaf64f688109596e781
CRs-Fixed: 318867
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
2011-11-29 17:05:32 +05:30
Srinivasa Rao Uppala
f856ae6f14 radio: iris: Implemen low power IOCTL's
This patch adds the support for low power mode related IOCTL's

Change-Id: Icbfb21c24b82d9dc40203bcaf37049160285cc4e
CRs-Fixed: 312921
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-11-02 11:00:49 +05:30
Srinivasa Rao Uppala
cb48ee6908 radio: iris: Added IOCTL's for FM calibration
This patch adds support for FM Calibration IOCTL's
to perform the FM calibration during the bootup
and on every enable

Change-Id: If1c9e1d131d67df1434e86debd214b52379cad61
CRs-Fixed: 313588
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-11-01 14:14:36 +05:30
Venkateshwarlu Domakonda
787af69e5f radio: iris: Added missing radio IOCTLs.
Added IOCTLs for Read/Write default data commands

CRs-fixed: 312337
Change-Id: I1012840bb94352041f1e5134054588cb0976eb62
Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
2011-10-18 12:08:21 +05:30
Srinivasa Rao Uppala
3c7a8eb9d8 radio: iris: Added missing radio Events & IOCTLs.
Added support for events rds availability, service availability,
alternate frequency list and RDS group complete.

Added IOCTLs for search on, radio state, search Program Type,
search Program Identification, alternate frequency jump,
stop Program Service name transmission and stop radio text transmission.

CRs-fixed: 307369
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 16:20:00 -07:00
Srinivasa Rao Uppala
0f4098f5b4 radio: iris: Added support for FTM commands
This patch adds support for  RDS group counters,
Set HLsi and Set notch filter FTM commands.

Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 16:19:33 -07:00
Ankur Nandwani
d928d54d59 radio: iris: adding support for TX functionality
This patch adds the functionality for FM enable, disable,
tuning, configuration and RDS functionality for FM TX

Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>
2011-10-03 16:14:50 -07:00
Srinivasa Rao Uppala
58273f8b07 radio: iris: Fixed the issue with RDS configuration
This patch configures the rds registers properly

CRs-fixed: 298431
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 16:14:44 -07:00
Srinivasa Rao Uppala
4b92e4bd0c radio: iris:Fixed the search station list issue
This patch adds the changes for search station list responce,
corresponding to the firmware change

Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 16:14:07 -07:00
Srinivasa Rao Uppala
abc8efa597 radio:iris:Adding support for FM debug commands
This patch adds new debug commands for FM driver

Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 10:28:48 -07:00
Ankur Nandwani
4246251a69 radio: iris: updating the values for RDS PID and PTYPE
Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>
2011-10-03 10:25:42 -07:00
Srinivasa Rao Uppala
18fb80ef71 radio: iris: Added code for search station list response
This patch adds support to handle  the search station list
response event

Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 10:25:38 -07:00
Srinivasa Rao Uppala
7bb2210232 radio-iris: Adding offset to the search mode for RDS search command
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 09:59:06 -07:00
Ankur Nandwani
78a782be53 radio: iris: adding support for RDS program service and radio text
This patch adds support for RDS program service and radio text
so that RDS data is displayed in the UI

Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>
2011-10-03 09:59:05 -07:00
Bryan Huntsman
3f2bc4d6eb Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-10-03 09:57:10 -07:00