summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-07-08smsutil: Fix valgrind complaintDenis Kenzior1-3/+3
SMS cannot be split over GSM extension chars, however on the last segment this code was causing us to overflow the buffer and resulted in valgrind complaining.
2010-07-02stkutil: Move scaddr field to gsm_smsAndrzej Zaborowski2-16/+43
2010-06-25sms: Tweak the Bearer APIDenis Kenzior1-8/+8
2010-06-25sms: Add support for SMS Bearer settingsDenis Kenzior1-2/+132
2010-06-25gprs: Fix to attachment race conditionDenis Kenzior1-6/+4
Sometimes we get unsolicited attachment status before our query finishes. If the client is fast enough they can attempt to attach and get the AttachInProgress error
2010-06-24sms: minor style fixDenis Kenzior1-1/+2
2010-06-24sms: Don't bother setting SCA if we can't queryDenis Kenzior1-1/+2
2010-06-23stkutil: Alpha Id is optional for Select Item.Andrzej Zaborowski1-2/+1
2010-06-23stkutil: Refactor command parser error handlingAndrzej Zaborowski2-555/+408
When parsing the full command fails but Command Details has been parsed, return a struct stk_command containing this information and the type of parsing problem found. We need the command details to be able to even respond to the command. This patch also makes the parser skip over unknown data objects found in the BER-TLV, if they don't have Comprehension Required set.
2010-06-22Check sanity the MNC length value from the SIM cardMarcel Holtmann1-0/+4
In case the SIM entry is wrong or we force reading of it, nasty things like this can happen: ofonod[12456]: Control:> AT+CRSM=176,28589,0,0,4\r ofonod[12456]: Control:< +CRSM: 144,0,"00FFFF"\r\n\r\nOK\r\n *** buffer overflow detected ***: ./src/ofonod terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x3e42efb417] /lib64/libc.so.6[0x3e42ef9310] /lib64/libc.so.6(__strncpy_chk+0x17b)[0x3e42ef85cb]
2010-06-21storage: whitespace issueDenis Kenzior1-1/+1
2010-06-21smsutil: Fix up some comment styleDenis Kenzior1-18/+36
2010-06-21stkutil: Remove obsolete comment.Andrzej Zaborowski1-3/+0
2010-06-21sms: Only emit property if value actually differsDenis Kenzior1-3/+4
2010-06-21smsutil: Take ton_npi into account in sr assemblyDenis Kenzior1-14/+7
2010-06-21smsutil: More code cleanupDenis Kenzior1-47/+54
- Change the flow of the code a bit, in the case that all fragments have been sent and an udelivered sr arrives, we can simply remove the node and signal undelivered up - We ignore temporary and temporary final status reports
2010-06-21smsutil: Make code flow easier to understandDenis Kenzior1-52/+53
2010-06-21smsutil: multiline comments to preferred styleDenis Kenzior1-3/+7
2010-06-21smsutil: Minor code style & indentation fixesDenis Kenzior1-10/+9
2010-06-21sms: Fixup minor style issues with status reportsDenis Kenzior1-15/+7
2010-06-21sms: Status report notifyPasi Miettinen1-1/+70
2010-06-21smsutil: memcpy is preferable to struct assignmentDenis Kenzior1-1/+1
2010-06-21smsutil: Streamline flow of sr add_fragmentDenis Kenzior1-22/+7
2010-06-21Fix: Make distcheck passDenis Kenzior1-2/+0
No need to include history.h anyway
2010-06-21smsutil: Status report assemblyPasi Miettinen2-0/+214
2010-06-18stkutil: Add More Time terminal response builderAndrzej Zaborowski2-0/+2
2010-06-18stkutil: USSD max len is 160Denis Kenzior1-1/+1
2010-06-18stk: Add parser for timing advance objectsYang Gu2-12/+40
2010-06-18smsutil: Add a decoder for ussd pdusYang Gu2-0/+46
2010-06-18stk: Add parser for send ussd commandsYang Gu2-0/+70
2010-06-16stkutil: Make sure bc_repeat is used properlyDenis Kenzior1-2/+7
The wrong structure was being used in the function & the has_bc_repeat variable was not being set properly.
2010-06-16stkutil: Merge two versions of bcch_channel_listDenis Kenzior2-11/+11
2010-06-16stk: Add parser for UTRAN meas qualifier objectsYang Gu2-0/+11
2010-06-16stk: Add parser for PDP activation param objectsYang Gu2-0/+29
2010-06-16stk: Add parser for bcch channel list objectsYang Gu2-0/+39
2010-06-16stk: Add parser for cell broadcast page objectsYang Gu2-0/+30
2010-06-16Add several proactive command parsersYang Gu2-0/+566
2010-06-16stk: Add parser for send ss commandsYang Gu2-0/+85
2010-06-16Fix previous commit that broke reference to PDU string bufferMarcel Holtmann1-8/+11
2010-06-16Fix memory allocation handling for STK Proactive command debugMarcel Holtmann1-7/+8
2010-06-15stkutil: Minor style cleanups in stkutilDenis Kenzior2-106/+114
2010-06-15stkutil: Add Terminal Applications envelope builderAndrzej Zaborowski2-0/+64
This is not a terribly useful function as the user still needs to split the list in separate envelopes. The .type field could be an enum.
2010-06-15stkutil: Add MMS Notification DL envelope builderAndrzej Zaborowski2-0/+44
2010-06-15stkutil: Add MMS Transfer Status envelope builderAndrzej Zaborowski2-0/+95
2010-06-15stkutil: Add the USSD Download envelope builderAndrzej Zaborowski2-0/+15
2010-06-15stkutil: Add the Timer Expiration envelope builderAndrzej Zaborowski2-0/+19
2010-06-15stkutil: Add the Event Download envelope builderAndrzej Zaborowski2-0/+728
2010-06-15stkutil: Refactor struct stk_frames_infoAndrzej Zaborowski2-3/+12
2010-06-15stkutil: Refactor struct stk_other_addressAndrzej Zaborowski3-3/+8
2010-06-15stkutil: Add the Call Control envelope builderAndrzej Zaborowski2-0/+242