2012-12-13 13:19:21

by Chaitanya

[permalink] [raw]
Subject: [Query] Operation Mode Change on the Fly (AP-STA/STA-AP)

Hi,

While trying to run hostapd in ubuntu i am seeing a error with regards "an operation already in progress" while registering mgmt_frame (208-action).
After some debugging found that the same action frame is registered by the STA (wpa_supplicant service was running by default) causing the AP mode to fail?

Is this expected behavior? (or) in order to support on the fly mode change, do we need purge the old state when starting a new mode and continue.
For Eg. in case of AP mode from hostapd, do we need to purge all entries registered by STA (from wpa_supplicant)?

For now disabled the wpa_supplicant service, but curious to know the design here.

Regards,
Chaitanya T K.