Lines Matching refs:dhd_state
333 dhd_attach_states_t dhd_state; member
1250 if (dhd->dhd_state & DHD_ATTACH_STATE_CFG80211) in dhd_op_if()
1264 if (ap_fw_loaded && !(dhd->dhd_state & DHD_ATTACH_STATE_CFG80211)) { in dhd_op_if()
1289 if (dhd->dhd_state & DHD_ATTACH_STATE_CFG80211) { in dhd_op_if()
1296 if (dhd->dhd_state & DHD_ATTACH_STATE_CFG80211) { in dhd_op_if()
2857 if ((dhd->dhd_state & DHD_ATTACH_STATE_ADD_IF) &&
2858 (dhd->dhd_state & DHD_ATTACH_STATE_CFG80211)) {
3155 dhd_attach_states_t dhd_state = DHD_ATTACH_STATE_INIT; local
3173 dhd_state |= DHD_ATTACH_STATE_NET_ALLOC;
3196 dhd_state |= DHD_ATTACH_STATE_DHD_ALLOC;
3224 dhd_state |= DHD_ATTACH_STATE_ADD_IF;
3281 dhd_state |= DHD_ATTACH_STATE_WAKELOCKS_INIT;
3288 dhd_state |= DHD_ATTACH_STATE_PROT_ATTACH;
3298 dhd_state |= DHD_ATTACH_STATE_CFG80211;
3302 if (!(dhd_state & DHD_ATTACH_STATE_CFG80211)) {
3307 dhd_state |= DHD_ATTACH_STATE_WL_ATTACH;
3361 dhd_state |= DHD_ATTACH_STATE_THREADS_CREATED;
3382 dhd_state |= DHD_ATTACH_STATE_EARLYSUSPEND_DONE;
3396 dhd_state |= DHD_ATTACH_STATE_DONE;
3397 dhd->dhd_state = dhd_state;
3401 if (dhd_state < DHD_ATTACH_STATE_DHD_ALLOC) {
3405 __FUNCTION__, dhd_state, &dhd->pub));
3406 dhd->dhd_state = dhd_state;
4609 DHD_TRACE(("%s: Enter state 0x%x\n", __FUNCTION__, dhd->dhd_state));
4616 if (!(dhd->dhd_state & DHD_ATTACH_STATE_DONE)) {
4623 if (dhd->dhd_state & DHD_ATTACH_STATE_PROT_ATTACH) {
4630 if (dhd->dhd_state & DHD_ATTACH_STATE_EARLYSUSPEND_DONE) {
4641 if (dhd->dhd_state & DHD_ATTACH_STATE_WL_ATTACH) {
4652 if (dhd->dhd_state & DHD_ATTACH_STATE_ADD_IF) {
4695 if (dhd->dhd_state & DHD_ATTACH_STATE_THREADS_CREATED) {
4714 if (dhd->dhd_state & DHD_ATTACH_STATE_CFG80211) {
4729 if (dhd->dhd_state & DHD_ATTACH_STATE_WAKELOCKS_INIT) {