X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Fcarl9170.h;h=b57993d2d7e70abafc582aa86f64fee80564416e;hb=6476369c2c6d4ba487408cb5daff8df0480d6b4a;hp=b61189bb2bf0530867cb7e661d23dc2c5ed6c893;hpb=10280c74bd62f63b1483bf1b17d40b0eeb35845e;p=carl9170fw.git diff --git a/carlfw/include/carl9170.h b/carlfw/include/carl9170.h index b61189b..b57993d 100644 --- a/carlfw/include/carl9170.h +++ b/carlfw/include/carl9170.h @@ -63,6 +63,12 @@ enum carl9170_mac_reset_state { CARL9170_MAC_RESET_FORCE, }; +enum carl9170_suspend_mode { + CARL9170_HOST_AWAKE = 0, + CARL9170_HOST_SUSPENDED, + CARL9170_AWAKE_HOST, +}; + /* * This platform - being an odd 32-bit architecture - prefers to * have 32-Bit variables. @@ -76,6 +82,7 @@ struct firmware_context_struct { /* misc */ unsigned int watchdog_enable; unsigned int reboot; + unsigned int suspend_mode; struct { /* Host Interface DMA queues */ @@ -139,7 +146,8 @@ struct firmware_context_struct { struct { unsigned int config, interface_setting, - alternate_interface_setting; + alternate_interface_setting, + device_feature; enum carl9170_ep0_action ep0_action; void *ep0_txrx_buffer;