summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-06-24gprs: provision the authentication methodPhilip Paeps1-0/+2
2014-06-21gprs: Make the code a bit easier to readDenis Kenzior1-3/+6
2014-06-21gprs: make PPP authentication method configurablePhilip Paeps1-0/+84
Add a new "AuthenticationMethod" property to select between "pap" and "chap" PPP authentication, defaulting to "chap" (i.e.: previous behaviour).
2014-04-22handsfree: correct crash on connect of hfpAndrew Earl1-1/+2
2014-04-10handsfree: Rename variableDenis Kenzior1-6/+6
2014-04-10handsfree: Reflow logicDenis Kenzior1-7/+8
2014-04-10handsfree: Remove functionDenis Kenzior1-6/+1
No need for one line functions that are only used once
2014-04-10handsfree: Rename functionDenis Kenzior1-2/+2
No need for the ofono_ prefix here
2014-04-10handsfree: Remove unneeded variableDenis Kenzior1-2/+1
2014-04-10handsfree: Remove unneeded variable iDenis Kenzior1-2/+1
2014-04-10handsfree: style fixes for previous commitDenis Kenzior1-6/+7
2014-04-10hfp: Add subscriber number to handsfree propertiesAndrew Earl1-3/+121
2014-03-19handsfree: Fixup variable namesDenis Kenzior1-10/+11
2014-03-19hfp: extend Features to three way calling and CHLDKrzysztof Wilk1-3/+31
2014-03-19hfp: Define hfp_ag_chld_featureKrzysztof Wilk1-0/+11
2014-03-14simutil: Fix EF_PNN accessAlfonso Sanchez-Beato1-7/+16
EF_PNN was not being read properly (see TS 24.008, section 10.5.3.5a, for network names format), which affected the displayed PLMN name for some MVNOs. Some modems already read the file and return the right string: these do not show the problem.
2014-03-05idmap: use UL for bitshift literalsTony Espy1-4/+4
The current bitshift logic in idmap incorrectly uses the literal 1 for the value to shift in idmap_alloc(), idmap_take(), and idmap_alloc_next(). This causes the resulting value to be an int instead of a long, which results in the wrong bit being set once the number of bits to shift operand exceeds sizeof(int). Also on some platforms, the behavior of the left bitshift operator is undefined when this overflow occurs.
2014-01-13include: Be more const-correct in ofono_dbus_*Slava Monich1-9/+11
2013-12-21git: Fixup messed up permissionsDenis Kenzior2-0/+0
2013-12-18siri: Add atom implementationKrzysztof Wilk2-0/+334
2013-09-12handsfree-audio: Don't listen() if no defer_setupVinicius Costa Gomes1-0/+3
As we won't allow any card to be registered when the kernel doesn't support defer_setup, we don't need to have the listening SCO socket open in this case.
2013-09-12handsfree-audio: Don't register if no defer_setupVinicius Costa Gomes1-0/+3
If the kernel doesn't support defer_setup for SCO, we shouldn't allow cards to be registered, because in that case we won't be able to properly send the file descriptor to the Agent.
2013-09-12handsfree-audio: Set socket parametersVinicius Costa Gomes1-0/+5
In the AG case, the voice setting needs to be set before we can use Transparent SCO mode, which is necessary for Wideband speech support.
2013-09-12handsfree-audio: Detect transparent SCO in kernelVinicius Costa Gomes1-4/+14
Deferred SCO setup is not enough for HFP 1.6 wideband codec support. Wideband speech also requires Transparent SCO to be enabled in the kernel.
2013-09-12handsfree-audio: Tweak logic a bitDenis Kenzior1-4/+4
2013-09-12handsfree-audio: Add setting SCO air modeVinicius Costa Gomes1-0/+32
2013-09-12voicecall: Implement ofono_voicecall_mpty_hintDenis Kenzior1-0/+40
2013-09-03smsutil: Make sure to return 1/0Denis Kenzior1-1/+1
So the value might be used directly for D-Bus property emission. Otherwise D-Bus asserts and screws itself with: ofonod[7427]: src/sms.c:handle_mwi() process 7427: arguments to dbus_message_iter_append_basic() were incorrect, assertion "*bool_p == 0 || *bool_p == 1" failed in file ../../dbus/dbus-message.c line 2549.
2013-08-19bluetooth: Add define for SCO voice settingsVinicius Costa Gomes1-0/+9
Add defines for SCO voice setting (Air Coding). Air mode "Transparent Data" shall be supported if wide band speech is supported.
2013-08-07handsfree-audio: Make sure to reset has_widebandDenis Kenzior1-0/+4
When Agent is unregistered we do not know whether the wideband speech is supported. Default to false.
2013-05-22common: Fix parsing SS control stringLucas De Marchi1-1/+1
It's not possible to be both greater than '9' and less than '0'. This would lead to accepting things like "#$33#" as activation and "*$33#" as deactivation, even though the string makes no sense.
2013-05-22stk: Fix sizeof on memcpyLucas De Marchi1-1/+1
src/stk.c: In function ‘__ofono_cbs_sim_download’: src/stk.c:283:45: error: argument to ‘sizeof’ in ‘memcpy’ call is the same expression as the source; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memcpy(&e.cbs_pp_download.page, msg, sizeof(msg)); ^
2013-05-03handsfree-audio: Fix replying to an empty D-Bus messageVinicius Costa Gomes1-2/+7
In the case that ofono_handsfree_card_connect_sco() is called outside the context of a .Connect() call, there's no message we need to reply. This happens, for example, when the HFP AG plugin initiates a SCO connection when it receives an AT+BCC command from the HF.
2013-04-25handsfree-audio: Implement ofono_handsfree_audio_has_defer_setup()Vinicius Costa Gomes1-0/+5
2013-04-25hfp: Add defines for HFP SDP feature bitsVinicius Costa Gomes1-0/+18
2013-04-23core: Add SetProperty for EchoCancelingNoiseReductionClaudio Takahasi1-9/+45
This patch extends SetProperty method of the Handsfree interface allowing to disable echo canceling and noise reduction feature in the audio gateway through a D-Bus method call. Once disabled, it is not allowed to enable it using this procedure.
2013-04-23core: Set EchoCancelingNoiseReduction to TRUE by defaultClaudio Takahasi1-0/+1
According to Bluetooth HFP spec: By default, if the AG supports its own embedded echo canceling and/or noise reduction functions, it shall have them activated until the AT+NREC command is received. The configuration set by the HF shall by used by the AG while the Service Level Connection is active. Since there isn't a command to query the current value, it is being assumed that Echo Canceling and Noise Reduction is enabled when the connection is established and the gateway supports this feature.
2013-04-23core: Add EchoCancelingNoiseReduction to GetPropertiesClaudio Takahasi1-0/+5
This patch adds EchoCancelingNoiseReduction property to GetProperties method of Handsfree interface.
2013-04-23core: Add "echo-canceling-and-noise-reduction"Claudio Takahasi1-0/+3
This patch adds "echo-canceling-and-noise-reduction" to "Features" property of the Handsfree interface.
2013-04-18hfp: Move HFP versions definitions to hfp.hPaulo Borges1-0/+6
hfp.h should store all HFP related definitions.
2013-04-16handsfree-audio: Add debug loggingJoão Paulo Rechi Vita1-1/+9
Print debug messages when Handsfree Audio Agent registers or unregisters itself.
2013-04-15emulator: Change feature check to attend HFP 1.6Paulo Borges1-1/+1
HFP 1.6 adds a new feature called Codec Negotitation. For the HF Role, this feature is stored in bit 8 of the supported features bitmap. This patch changes the range of valid HF feature bitmaps to 2^8-1.
2013-04-15handsfree-audio: Toggle wideband support when the agent registersVinicius Costa Gomes1-2/+9
Each time an agent registers itself, we check if we support deferred setup and if the agent has mSBC as a codec, if both checks are true, we enable wideband speech support.
2013-04-15handsfree-audio: Keep track whether defer_setup is enabledVinicius Costa Gomes1-2/+5
'defer_setup' will be one of the inputs when enabling or disabling support for wideband speech codecs, we will only enable wideband speech support if the kernel supports deferred setup. So, we have to have this information available, in this case it means a global variable.
2013-04-15handsfree-audio: Send the selected codecClaudio Takahasi1-4/+3
This patch removes the hard-coded CVSD codec, and adds the selected codec in the NewConnection method call, notifying the agent the codec previously selected for the audio connection.
2013-04-15handsfree-audio: Implement ofono_handsfree_card_set_codec()Vinicius Costa Gomes1-0/+20
2013-04-09handsfree-audio: Move codec enums to hfp.hDenis Kenzior2-6/+7
2013-04-09core: Include hfp.hDenis Kenzior2-0/+2
2013-04-09core: Add hfp.hDenis Kenzior1-0/+46
This will serve as a collection point for all HFP related definitions.
2013-04-09handsfree-audio: Remove unused 'codecs' field from agentVinicius Costa Gomes1-5/+0
Now that we only keep track whether we support wideband speech or not, we don't have to keep track of the list of codecs supported by the Agent.