Lines Matching defs:state

106 static const char * p2p_state_txt(int state)
108 switch (state) {
143 return p2p_state_txt(p2p->state);
191 p2p_state_txt(p2p->state), p2p_state_txt(new_state));
192 p2p->state = new_state;
206 p2p_dbg(p2p, "Set timeout (state=%s): %u.%06u sec",
207 p2p_state_txt(p2p->state), sec, usec);
215 p2p_dbg(p2p, "Clear timeout (state=%s)", p2p_state_txt(p2p->state));
229 if (p2p->state != P2P_SEARCH) {
259 p2p_dbg(p2p, "Starting short listen state (state=%s)",
260 p2p_state_txt(p2p->state));
286 p2p_dbg(p2p, "Skip listen state since duration was 0 TU");
313 p2p_dbg(p2p, "Going to listen(only) state");
335 p2p_dbg(p2p, "p2p_scan running - delay start of listen state");
1010 p2p_dbg(p2p, "Driver is still in Listen state - wait for it to end before continuing");
1077 p2p_dbg(p2p, "Start previously requested Listen state");
1304 if (p2p->state == P2P_SEARCH || p2p->state == P2P_SD_DURING_FIND)
1336 * variable that is tracking driver state.
1347 if (p2p->state != P2P_LISTEN_ONLY) {
1348 p2p_dbg(p2p, "Skip stop_listen since not in listen_only state.");
1632 if (p2p->state != P2P_IDLE)
2390 p2p_dbg(p2p, "Do not reply to Probe Request frame that was received on %u MHz while waiting to start Listen state on %u MHz",
2417 /* not in Listen state - ignore Probe Request */
2418 p2p_dbg(p2p, "Not in Listen state (in_listen=%d drv_in_listen=%d) - ignore Probe Request",
2450 p2p_dbg(p2p, "Reply to P2P Probe Request in Listen state");
2513 if ((p2p->state == P2P_CONNECT || p2p->state == P2P_CONNECT_LISTEN) &&
2525 if ((p2p->state == P2P_INVITE || p2p->state == P2P_INVITE_LISTEN) &&
2757 adv_data->state = svc_state;
3295 if (p2p->state != P2P_IDLE)
3302 if (p2p->state != P2P_IDLE)
3327 * p2p_retry_pd - Retry any pending provision disc requests in IDLE state
3364 * Postpone resetting the pending action state till after we actually
3369 * LISTEN_ONLY state, which are the only allowed states to issue a PD
3377 (p2p->state == P2P_SEARCH || p2p->state == P2P_LISTEN_ONLY))
3382 } else if (p2p->state != P2P_IDLE)
3438 if (p2p->state == P2P_SEARCH)
3505 if (p2p->state == P2P_SEARCH)
3638 if (!p2p->go_neg_peer && p2p->state == P2P_PROVISIONING) {
3668 if (p2p->state == P2P_SEARCH || p2p->state == P2P_SD_DURING_FIND)
3742 enum p2p_pending_action_state state;
3745 p2p_dbg(p2p, "Action frame TX callback (state=%d freq=%u dst=" MACSTR
3748 MAC2STR(bssid), result, p2p_state_txt(p2p->state));
3750 state = p2p->pending_action_state;
3752 switch (state) {
3835 p2p_dbg(p2p, "Driver ended Listen state (freq=%u)", freq);
3840 if (p2p->state == P2P_WAIT_PEER_CONNECT && p2p->go_neg_peer &&
3845 * P2P_WAIT_PEER_(IDLE/CONNECT) state transitions.
3853 if (p2p->state == P2P_CONNECT_LISTEN && p2p->go_neg_peer) {
3863 } else if (p2p->state == P2P_SEARCH) {
3932 p2p_dbg(p2p, "Driver is still in Listen state; wait for it to complete");
3970 p2p_dbg(p2p, "Go to Listen state while waiting for the peer to become ready for GO Negotiation");
4004 * for while in IDLE state, we retry them a couple of times before
4086 p2p_dbg(p2p, "Timeout (state=%s)", p2p_state_txt(p2p->state));
4090 p2p_dbg(p2p, "Driver is still in listen state - stop it");
4094 switch (p2p->state) {
4590 p2p_state_txt(p2p->state));
4594 if (p2p->state == P2P_LISTEN_ONLY && p2p->ext_listen_only) {
4606 if (p2p->state != P2P_IDLE) {
4607 p2p_dbg(p2p, "Skip Extended Listen timeout in active state (%s)", p2p_state_txt(p2p->state));
4614 p2p_dbg(p2p, "Failed to start Listen state for Extended Listen Timing");
4743 if (p2p->state == P2P_IDLE) {
5005 if (p2p->state == P2P_SEARCH)
5007 return p2p->state != P2P_IDLE && p2p->state != P2P_PROVISIONING;