Lines Matching refs:go

553 static void p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go,  in p2p_check_pref_chan_no_recv()  argument
600 static void p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_recv() argument
643 void p2p_check_pref_chan(struct p2p_data *p2p, int go, in p2p_check_pref_chan() argument
663 if (p2p->cfg->get_pref_freq_list(p2p->cfg->cb_ctx, go, &size, in p2p_check_pref_chan()
673 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, in p2p_check_pref_chan()
677 freq_list[i], go); in p2p_check_pref_chan()
729 p2p_check_pref_chan_no_recv(p2p, go, dev, msg, freq_list, size); in p2p_check_pref_chan()
731 p2p_check_pref_chan_recv(p2p, go, dev, msg, freq_list, size); in p2p_check_pref_chan()
868 int go; in p2p_process_go_neg_req() local
910 go = p2p_go_det(p2p->go_intent, *msg.go_intent); in p2p_process_go_neg_req()
911 if (go < 0) { in p2p_process_go_neg_req()
991 if (go && p2p_go_select_channel(p2p, dev, &status) < 0) in p2p_process_go_neg_req()
994 dev->go_state = go ? LOCAL_GO : REMOTE_GO; in p2p_process_go_neg_req()
1004 p2p_check_pref_chan(p2p, go, dev, &msg); in p2p_process_go_neg_req()
1072 const u8 *resp_chan, int go) in p2p_build_go_neg_conf() argument
1114 if (go || resp_chan == NULL) in p2p_build_go_neg_conf()
1123 if (go) { in p2p_build_go_neg_conf()
1145 int go = -1; in p2p_process_go_neg_resp() local
1240 go = p2p_go_det(p2p->go_intent, *msg.go_intent); in p2p_process_go_neg_resp()
1241 if (go < 0) { in p2p_process_go_neg_resp()
1247 if (!go && msg.group_id) { in p2p_process_go_neg_resp()
1251 } else if (!go) { in p2p_process_go_neg_resp()
1274 if (!msg.operating_channel && !go) { in p2p_process_go_neg_resp()
1359 if (go && p2p_go_select_channel(p2p, dev, &status) < 0) in p2p_process_go_neg_resp()
1366 if (go) in p2p_process_go_neg_resp()
1367 p2p_check_pref_chan(p2p, go, dev, &msg); in p2p_process_go_neg_resp()
1380 go); in p2p_process_go_neg_resp()
1387 dev->go_state = go ? LOCAL_GO : REMOTE_GO; in p2p_process_go_neg_resp()