<div dir="ltr">Hi Johannes,<div><br></div><div>We need to use both interfaces simultaneously. So even if driver were to change interface type dynamically, we still need to have a way to figure out interface type. Supported interface types (advertised by cfg80211) would still not help here.</div><div><br></div><div>Thanks,</div><div>Avinash.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 18, 2014 at 2:24 PM, Johannes Berg <span dir="ltr">&lt;<a href="mailto:johannes@sipsolutions.net" target="_blank">johannes@sipsolutions.net</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2014-12-18 at 13:59 +0530, Avinash Patil wrote:<br>
<br>
<br>
&gt; Simultaneous AP/STA operations are expected using wpa_supplicant.<br>
&gt; Since mlan0 is interface with smaller ifindex, connman tries to start<br>
&gt; AP operation on mlan0 interface and fails because it cannot change<br>
&gt; iftype.<br>
<br>
</span>The cfg80211 API makes no allowance for this - I think you should fix<br>
the driver to be more dynamic.<br>
<br>
IOW - the cfg80211 API has a way to say &quot;I support AP, station or IBSS&quot;<br>
but not &quot;I support station on mlan0 and AP or IBSS on a secondary<br>
interface&quot;<br>
<span class="HOEnZb"><font color="#888888"><br>
johannes<br>
<br>
<br>
</font></span></blockquote></div></div>