Resuming from mem state automatically resumes wifi module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Resuming from mem state automatically resumes wifi module

1,065 Views
pratyushtomar
Contributor IV

We have a custom board with imx6UL processor and we are using WF111 wifi module which connected on ushdc2. We power off the wifi module by using WF111 provided tools and similarly power it on. The problem we are facing is that suppose we power off the wifi module and make our board go to mem state (echo mem > /sys/power/state). When we come out of this state the wifi is automatically powered on which we don't want. We want to  control wifi module powering on and off. Is there any solution for this? We don't want wifi to power on when we come out of mem state automatically. 

Labels (3)
0 Kudos
3 Replies

875 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pratyush

one can try to remove in dts :

- keep-power-in-suspend: Preserves card power during a suspend/resume cycle

more dts properties description can be found in sect.32.2.3 Devicetree Binding attached Linux Manual

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

875 Views
pratyushtomar
Contributor IV

Hi igor,

Removing keep-power-in-suspend didn't resolved my problem. The wifi still automatically resumes and thus slowing down wake up from sleep process. Is there any other way to control it?

Thanks

Pratyush Tomar

0 Kudos

875 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pratyush

suggest to apply to wifi module vendor for assistance.

Best regards
igor

0 Kudos