Lines Matching refs:mode
288 static int wpas_rrm_report_elem(struct wpabuf **buf, u8 token, u8 mode, u8 type, in wpas_rrm_report_elem() argument
297 wpabuf_put_u8(*buf, mode); in wpas_rrm_report_elem()
504 struct hostapd_hw_modes *mode, in wpas_add_channels() argument
534 enum chan_allowed res = verify_channel(mode, op->op_class, chan, in wpas_add_channels()
559 struct hostapd_hw_modes *mode) in wpas_op_class_freqs() argument
590 return wpas_add_channels(op, mode, channels, num_chan); in wpas_op_class_freqs()
605 struct hostapd_hw_modes *mode; in wpas_channel_report_freqs() local
627 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op->mode, in wpas_channel_report_freqs()
629 if (!mode) in wpas_channel_report_freqs()
642 new_freqs = wpas_add_channels(op, mode, pos, left); in wpas_channel_report_freqs()
661 struct hostapd_hw_modes *mode; in wpas_beacon_request_freqs() local
680 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op->mode, in wpas_beacon_request_freqs()
682 if (!mode) in wpas_beacon_request_freqs()
687 freqs = wpas_op_class_freqs(op, mode); in wpas_beacon_request_freqs()
695 freqs = wpas_add_channels(op, mode, &chan, 1); in wpas_beacon_request_freqs()
1214 if (req->mode != BEACON_REPORT_MODE_PASSIVE && in wpas_rm_handle_beacon_req()
1215 req->mode != BEACON_REPORT_MODE_ACTIVE && in wpas_rm_handle_beacon_req()
1216 req->mode != BEACON_REPORT_MODE_TABLE) in wpas_rm_handle_beacon_req()
1255 if (req->mode == BEACON_REPORT_MODE_TABLE) { in wpas_rm_handle_beacon_req()
1279 if (req->mode == BEACON_REPORT_MODE_ACTIVE) { in wpas_rm_handle_beacon_req()
1314 if (req->mode & MEASUREMENT_REQUEST_MODE_ENABLE) { in wpas_rrm_handle_msr_req_element()
1320 if ((req->mode & MEASUREMENT_REQUEST_MODE_PARALLEL) && in wpas_rrm_handle_msr_req_element()
1329 !!(req->mode & MEASUREMENT_REQUEST_MODE_DURATION_MANDATORY); in wpas_rrm_handle_msr_req_element()