<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
@@ -0,0 +1,172 @@<br>
+/*<br>
+ *<br>
+ *  oFono - Open Source Telephony<br>
+ *<br>
+ *  Copyright (C) 2008-2009  Intel Corporation. All rights reserved.<br>
+ *  Copyright (C) 2009 ProFUSION embedded systems. All rights reserved.<br>
+ *<br>
+ *  This program is free software; you can redistribute it and/or modify<br>
+ *  it under the terms of the GNU General Public License version 2 as<br>
+ *  published by the Free Software Foundation.<br>
+ *<br>
+ *  This program is distributed in the hope that it will be useful,<br>
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
+ *  GNU General Public License for more details.<br>
+ *<br>
+ *  You should have received a copy of the GNU General Public License<br>
+ *  along with this program; if not, write to the Free Software<br>
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<br>
+ *<br>
+ */<br>
+<br>
+#ifdef HAVE_CONFIG_H<br>
+#include &lt;config.h&gt;<br>
+#endif<br>
+<br>
+#define _GNU_SOURCE<br>
+#include &lt;string.h&gt;<br>
+#include &lt;stdlib.h&gt;<br>
+#include &lt;stdio.h&gt;<br>
+<br>
+#include &lt;glib.h&gt;<br>
+<br>
+#include &lt;ofono/log.h&gt;<br>
+#include &lt;ofono/modem.h&gt;<br>
+#include &lt;ofono/netreg.h&gt;<br>
+<br>
+#include &quot;gatchat.h&quot;<br>
+#include &quot;gatresult.h&quot;<br>
+<br>
+#include &quot;hfpmodem.h&quot;<br>
+<br>
+#define OFONO_MAX_HFP_OPERATOR_NAME_LENGTH 16<br>
+<br>
+static const char *cops_prefix[] = { &quot;+COPS:&quot;, NULL };<br>
+<br>
+struct netreg_data {<br>
+       GAtChat *chat;<br>
+       unsigned char cind_pos[HFP_INDICATOR_LAST];<br>
+       int cind_val[HFP_INDICATOR_LAST];<br>
+       char operator[16];<br></blockquote><div><br>-- Should we use above #define for operator name length?<br> -Br<br>Naveen<br><br></div></div><br>