Jonas Bonn
3beeff758d
treewide: Remove superfluous use of _GNU_SOURCE
...
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag. This patch
removes all these definitions in one fell swoop...
2018-10-17 10:01:57 -05:00
Jonas Bonn
67701b1c40
drivers: constify vtables
...
The driver vtables are read-only structures. This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section. RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
2018-10-17 09:56:27 -05:00
Kuba Pawlak
318d313fc9
hfpmodem: hfpmodem.c make sure to use none_prefix
2015-03-24 11:04:48 -05:00
Denis Kenzior
eef67018b6
hfp: Implement +BIND notifications
2014-10-20 13:40:28 -05:00
Denis Kenzior
299ffc9620
hfp: Notify core of HF indicators supported by AG
...
This information was obtained from SLC negotiation
2014-10-20 13:40:28 -05:00
Denis Kenzior
e176a9019f
hfp: Add implementation of +BIEV
2014-10-20 13:40:28 -05:00
Denis Kenzior
516165c311
handsfree: Rename driver function
...
To be more consistent with others in the same file
2014-04-10 10:04:36 -05:00
Denis Kenzior
b37f5e842d
handsfree: Simplify logic
2014-04-10 10:04:12 -05:00
Andrew Earl
e7f055385f
hfp: Add CNUM query to handsfree interface for subscriber number
2014-04-10 09:52:11 -05:00
Denis Kenzior
65e6df8e50
hfp: Fixup variable names
2014-03-19 10:20:28 -05:00
Krzysztof Wilk
8a7b8b0521
hfp: Add CHLD features to drver data
2014-03-19 10:19:53 -05:00
Claudio Takahasi
cf6dce3445
hfpmodem: Add EchoCancelingNoiseReduction
...
This patch adds echo canceling and noise reduction implementation to
hfpmodem. It adds the implementation to send the command "AT+NREC=0"
to the AG.
2013-04-23 10:28:46 -05:00
Denis Kenzior
b18963af33
drivers: Include hfp.h
2013-04-09 14:33:41 -05:00
Denis Kenzior
fb1d1c3426
hfp: use ofono_handsfree_battchg_notify
2012-12-17 09:50:22 -06:00
Mikel Astiz
3f41ebe5c7
hfpmodem: Report features supported by AG
2011-10-21 13:56:43 -05:00
Mikel Astiz
7100435142
hfpmodem: Avoid segfault in handsfree
...
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:40 -05:00
Mikel Astiz
bb0bcef256
hfpmodem: Support for AT+BVRA
2011-10-21 13:14:19 -05:00
Mikel Astiz
813405500b
hfpmodem: Support for +BSIR unsolicited responses
2011-10-20 12:53:34 -05:00
Marcel Holtmann
48190bdc11
drivers: Some more copyright fixes
2011-10-15 12:21:30 -07:00
Denis Kenzior
066690b17f
handsfree: Pass the error information to the core
...
if available. This is the preferred way, so that the core can take into
account the error information in the future if required.
2011-10-13 13:47:56 -05:00
Mikel Astiz
86cb93d410
hfpmodem: Support of number requests (AT+BINP=1)
2011-10-13 13:37:12 -05:00
Denis Kenzior
9a53aca0ab
handsfree: Set in-band ringing before registering
...
Avoid an extra signal emission
2011-10-13 13:06:35 -05:00
Mikel Astiz
f05a78a450
hfpmodem: Set initial state for inband ringing
...
According to the HFP specification, inband ringing will be enabled by
default if the AG supports it. This setting could later be changed by
the unsolicited result code +BSIR.
2011-10-13 13:01:14 -05:00
Mikel Astiz
eb361d874c
hfpmodem: Copyright statement correction
2011-10-13 12:27:27 -05:00
Marcel Holtmann
4e77afffb3
drivers: Update copyright information
2011-10-10 13:39:48 -07:00
Mikel Astiz
7d5b57e47c
hfpmodem: Add skeleton driver implemenetation
2011-09-09 00:30:14 -05:00