Lines Matching refs:scan
2167 /** Set scan control flags */
2257 ath12k_warn(ar->ab, "discard large size %d bytes extraie for scan start\n",
2417 /* stop the scan with the corresponding scan_id */
2425 /* Cancelling specific scan */
2428 ath12k_warn(ar->ab, "invalid scan cancel req_type %d",
2540 "WMI chan scan list chan[%d] = %u, chan_info->info %8x\n",
3529 "WMI spectral scan config cmd vdev_id 0x%x\n",
3536 "failed to send spectral scan config wmi cmd\n");
4978 switch (ar->scan.state) {
4982 ath12k_warn(ar->ab, "received scan started event in an invalid scan state: %s (%d)\n",
4983 ath12k_scan_state_str(ar->scan.state),
4984 ar->scan.state);
4987 ar->scan.state = ATH12K_SCAN_RUNNING;
4988 complete(&ar->scan.started);
4997 switch (ar->scan.state) {
5001 ath12k_warn(ar->ab, "received scan start failed event in an invalid scan state: %s (%d)\n",
5002 ath12k_scan_state_str(ar->scan.state),
5003 ar->scan.state);
5006 complete(&ar->scan.started);
5016 switch (ar->scan.state) {
5019 /* One suspected reason scan can be completed while starting is
5020 * if firmware fails to deliver all scan events to the host,
5022 * with spectral scan phyerr events starving wmi transport
5023 * pipe. In such case the "scan completed" event should be (and
5024 * is) ignored by the host as it may be just firmware's scan
5027 ath12k_warn(ar->ab, "received scan completed event in an invalid scan state: %s (%d)\n",
5028 ath12k_scan_state_str(ar->scan.state),
5029 ar->scan.state);
5042 switch (ar->scan.state) {
5045 ath12k_warn(ar->ab, "received scan bss chan event in an invalid scan state: %s (%d)\n",
5046 ath12k_scan_state_str(ar->scan.state),
5047 ar->scan.state);
5060 switch (ar->scan.state) {
5063 ath12k_warn(ar->ab, "received scan foreign chan event in an invalid scan state: %s (%d)\n",
5064 ath12k_scan_state_str(ar->scan.state),
5065 ar->scan.state);
5132 ath12k_warn(ab, "failed to fetch scan ev");
5889 if (ar->scan.state == ATH12K_SCAN_ABORTING &&
5890 ar->scan.vdev_id == vdev_id) {
5906 ath12k_warn(ab, "failed to extract scan event");
5912 /* In case the scan was cancelled, ex. during interface teardown,
5915 * search 'ar' if the corresponding 'ar' scan is ABORTING and the
5916 * aborting scan's vdev id matches this event info.
5925 ath12k_warn(ab, "Received scan event for unknown vdev");
5933 "scan event %s type %d reason %d freq %d req_id %d scan_id %d vdev_id %d state %s (%d)\n",
5942 ath12k_scan_state_str(ar->scan.state), ar->scan.state);
5958 ath12k_warn(ab, "received scan start failure event\n");
6107 switch (ar->scan.state) {
6110 ath12k_warn(ab, "received chan info event without a scan request, ignoring\n");