On Fri, Apr 5, 2013 at 5:48 PM, Bing Zhao <bzhao@xxxxxxxxxxx> wrote: > Normally TX is blocked until resume handler is called and host sleep handshake between driver and firmware is done. Where is the code that makes such synchronization happen? > Does the TX happen before "hs_deactivated" event? hard_start_xmit is called approximately 1ms after hs_deactivated arrives. > I'm thinking of releasing IRQ in driver suspend handler and re-claim the IRQ in resume. Of course it needs some changes in sdio_release_irq to skip SDIO_CCCR_IENx disabling, otherwise host may not be woken up by SDIO DAT1. > > Attached is the sample code, not tested. That patch breaks wake-on-LAN, the suspended system simply doesn't respond to incoming packets. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html