[PATCH] Retreive shared frequency when a singly "phy" is shared between multiple interfaces
Johannes Berg
johannes
Thu Nov 10 02:15:16 PST 2011
On Thu, 2011-11-10 at 02:08 -0800, Jithu Jance wrote:
> Hi Johannes,
>
> Thanks for your reply. Please correct me, if my understanding is
> wrong. I am talking about a concurrent scenario where we have a legacy
> STA on wlan0 interface(primary MAC address) already in connected
> state. Then we are starting an Autonomous GO by issuing p2p_group_add
> on wlan1(p2p_device_address) interface.
>
> In wpas_p2p_init_go_params, I could see that the wpa_supplicant
> invokes wpa_drv_shared_freq to get the shared freq. Since this handler
> wasn't present, I implemented it to retrieve the freq. Without the
> below patch, the p2p_group_add was always resulting in a GO on freq
> 2412. Freq 2412 would be set when there is no known preference as per
> "wpas_p2p_init_go_params" function. Did I miss something??
Probably not, but now I'm totally confused -- how are you managing to
have a p2p device interface "wlan1" with nl80211? That would seem to
require major nl80211 changes and isn't really how it's working there
today.
johannes
More information about the Hostap
mailing list