Lines Matching refs:neg_freq
491 if (!wpa_s->dpp_listen_on_tx_expire || !auth || !auth->neg_freq)
495 "DPP: Start listen on neg_freq %u MHz based on timeout for TX wait expiration",
496 auth->neg_freq);
497 wpas_dpp_listen_start(wpa_s, auth->neg_freq);
609 if (!wpa_s->dpp_auth_ok_on_ack && wpa_s->dpp_auth->neg_freq > 0 &&
610 wpa_s->dpp_auth->curr_freq != wpa_s->dpp_auth->neg_freq) {
612 "DPP: Move from curr_freq %u MHz to neg_freq %u MHz for response",
614 wpa_s->dpp_auth->neg_freq);
679 if (auth->neg_freq > 0)
680 freq = auth->neg_freq;
814 if (auth->neg_freq > 0 && freq != auth->neg_freq) {
816 "DPP: Initiate on %u MHz and move to neg_freq %u MHz for response",
817 freq, auth->neg_freq);
837 unsigned int neg_freq = 0;
933 pos = os_strstr(cmd, " neg_freq=");
935 neg_freq = atoi(pos + 10);
954 neg_freq, wpa_s->hw.modes, wpa_s->hw.num_modes);
963 auth->neg_freq = neg_freq;
1203 if (wpa_s->dpp_auth->neg_freq > 0)
1204 new_freq = wpa_s->dpp_auth->neg_freq;
1335 if (wpa_s->dpp_listen_on_tx_expire && auth && auth->neg_freq) {
1337 "DPP: Start listen on neg_freq %u MHz based on TX wait expiration on the previous channel",
1338 auth->neg_freq);
1340 wpas_dpp_listen_start(wpa_s, auth->neg_freq);
1358 freq = auth->neg_freq > 0 ? auth->neg_freq : auth->curr_freq;
1373 "DPP: Starting GAS server (curr_freq=%d neg_freq=%d dpp_listen_freq=%d dpp_listen_work=%d)",
1374 auth->curr_freq, auth->neg_freq, wpa_s->dpp_listen_freq,
2091 if (auth->curr_freq != freq && auth->neg_freq == freq) {
2279 freq = auth->neg_freq ? auth->neg_freq : auth->curr_freq;
2457 auth->neg_freq = freq;