[PATCH] add quirk for cid and lac handling for Huawei

Jussi Kukkonen jku at linux.intel.com
Mon Jan 18 11:29:53 PST 2010


Hello,

My Eee-integrated Huawei E620 reports "local area code" and "cell id" as 
unquoted strings. Denis informed me on IRC that this is non-compliant 
and that I could add a quirk for it.

Attached is my attempt at that. The actual quirk is in 
drivers/atmodem/atutil.c, which means I needed to change the 
at_util_parse_reg*() definitions. Let me know if my approach seems wrong 
-- this was the first time I've even looked at ofono code, and I can't 
claim to understand it fully.

The huawei plugin seems to use OFONO_VENDOR_QUALCOMM_MSM for sms... 
Should that be updated so OFONO_VENDOR_HUAWEI (which I added) hits the 
same quirk(s) or do Huawei and Qualcomm really have something in common?

  - Jussi



More information about the ofono mailing list