Lines Matching full:scan

3  * NXP Wireless LAN device driver: scan ioctl and command handling
16 /* The maximum number of channels the firmware can scan per command */
21 /* Memory needed to store a max sized Channel List TLV for a firmware scan */
31 scan */
47 /* Scan configuration (variable length) */
436 * This function creates a channel list for the driver to scan, based
439 * This routine is used for any scan that is not provided with a
440 * specific channel list to scan.
563 /* This function appends rate TLV to scan config command. */
596 * This function constructs and sends multiple scan config commands to
599 * Previous routines in the code flow have created a scan command configuration
601 * channels supported per scan lists and sends the portion of the channel TLV,
623 "info: Scan: Null detect: %p, %p, %p\n", in mwifiex_scan_channel_list()
628 /* Check csa channel expiry before preparing scan list */ in mwifiex_scan_channel_list()
637 /* Loop through the desired channel list, sending a new firmware scan in mwifiex_scan_channel_list()
650 * Construct the Channel TLV for the scan command. Continue to in mwifiex_scan_channel_list()
652 * - the tlv_idx hits the maximum configured per scan command in mwifiex_scan_channel_list()
668 "info: Scan: Chan(%3d), Radio(%d),\t" in mwifiex_scan_channel_list()
709 /* Count the total scan time per command */ in mwifiex_scan_channel_list()
738 /* The total scan time should be less than scan command timeout in mwifiex_scan_channel_list()
742 "total scan time %dms\t" in mwifiex_scan_channel_list()
743 "is over limit (%dms), scan skipped\n", in mwifiex_scan_channel_list()
755 /* Send the scan command to the firmware with the specified in mwifiex_scan_channel_list()
765 /* rate IE is updated per scan command but same starting in mwifiex_scan_channel_list()
785 * This function constructs a scan command configuration structure to use
786 * in scan commands.
789 * with a scan configuration supplied in a user scan configuration structure.
790 * This structure is used as the basis of one or many scan command configuration
794 * This function creates a scan command configuration structure based on the
833 /* The tlv_buf_len is calculated for each scan command. The TLVs added in mwifiex_config_scan()
845 /* Initialize the scan as un-filtered; the flag is later set to TRUE in mwifiex_config_scan()
849 /* Initialize the scan as not being only on the current channel. If in mwifiex_config_scan()
859 of an SSID list before marking the scan as filtered */ in mwifiex_config_scan()
862 /* Set the BSS type scan filter, use Adapter setting if in mwifiex_config_scan()
907 * specific scan for the SSID filled, whereas in mwifiex_config_scan()
909 * wildcard scan. in mwifiex_config_scan()
928 "info: scan: ssid[%d]: %s, %d\n", in mwifiex_config_scan()
934 not treat the scan as in mwifiex_config_scan()
943 * truncate scan results. That is not an issue with an SSID in mwifiex_config_scan()
944 * or BSSID filter applied to the scan results in the firmware. in mwifiex_config_scan()
953 "info: scan: channel gap = %d\n", in mwifiex_config_scan()
987 * scan command will be increased to the absolute maximum. in mwifiex_config_scan()
1013 "info: scan: num_probes = %d\n", in mwifiex_config_scan()
1047 * Channel TLVs will be added past this for each scan command, in mwifiex_config_scan()
1056 "info: Scan: Using supplied channel list\n"); in mwifiex_config_scan()
1107 "info: Scan: Scanning current channel only\n"); in mwifiex_config_scan()
1111 "info: Scan: Creating full region channel list\n"); in mwifiex_config_scan()
1120 * This function inspects the scan response buffer for pointers to
1123 * TLVs can be included at the end of the scan response BSS information.
1458 * This function converts radio type scan parameter to a band configuration
1474 * This is an internal function used to start a scan based on an input
1477 * This uses the input user scan configuration information when provided in
1478 * order to send the appropriate scan commands to firmware to populate or
1479 * update the internal driver scan table.
1496 "cmd: Scan already in process...\n"); in mwifiex_scan_networks()
1502 "cmd: Scan is blocked during association...\n"); in mwifiex_scan_networks()
1509 "Ignore scan. Card removed or firmware in bad state\n"); in mwifiex_scan_networks()
1541 /* Get scan command from scan_pending_q and put to cmd_pending_q */ in mwifiex_scan_networks()
1552 /* Perform internal scan synchronously */ in mwifiex_scan_networks()
1555 "wait internal scan\n"); in mwifiex_scan_networks()
1575 * This function prepares a scan command to be sent to the firmware.
1577 * This uses the scan command configuration sent to the command processing
1578 * module in command preparation stage to configure a scan command structure
1591 struct host_cmd_ds_802_11_scan *scan_cmd = &cmd->params.scan; in mwifiex_cmd_802_11_scan()
1593 /* Set fixed field variables in scan command */ in mwifiex_cmd_802_11_scan()
1653 /* This function checks if any hidden SSID found in passive scan channels
1654 * and save those channels for specific SSID active scan
1786 /* First 5 fields are bssid, RSSI(for legacy scan only), in mwifiex_parse_single_response_buf()
1919 "complete internal scan\n"); in mwifiex_complete_scan()
1925 /* This function checks if any hidden SSID found in passive scan channels
1926 * and do specific SSID active scan for those channels
1972 dev_err(priv->adapter->dev, "scan failed: %d\n", ret); in mwifiex_active_scan_req_for_passive_chan()
2002 "info: notifying scan done\n"); in mwifiex_check_next_scan_command()
2009 "info: scan already aborted\n"); in mwifiex_check_next_scan_command()
2028 "info: aborting scan\n"); in mwifiex_check_next_scan_command()
2035 "info: scan already aborted\n"); in mwifiex_check_next_scan_command()
2039 /* Get scan command from scan_pending_q and put to in mwifiex_check_next_scan_command()
2073 "info: aborting scan\n"); in mwifiex_cancel_scan()
2083 * This function handles the command response of scan.
2085 * The response buffer for the scan command has the following
2138 /* Check csa channel expiry before parsing scan response */ in mwifiex_ret_802_11_scan()
2169 /* Search the TLV buffer space in the scan response for any valid in mwifiex_ret_802_11_scan()
2176 /* Search the TLV buffer space in the scan response for any valid in mwifiex_ret_802_11_scan()
2200 * If the TSF TLV was appended to the scan results, save this in mwifiex_ret_802_11_scan()
2243 * This function prepares an extended scan command to be sent to the firmware
2245 * This uses the scan command configuration sent to the command processing
2246 * module in command preparation stage to configure a extended scan command
2267 /* This function prepares an background scan config command to be sent
2300 /* stop sched scan */ in mwifiex_cmd_802_11_bg_scan_config()
2360 * specific scan for the SSID filled, whereas in mwifiex_cmd_802_11_bg_scan_config()
2362 * wildcard scan. in mwifiex_cmd_802_11_bg_scan_config()
2532 /* This function handles the command response of extended scan */
2546 mwifiex_dbg(adapter, INFO, "info: EXT scan returns successfully\n"); in mwifiex_ret_802_11_scan_ext()
2560 "error processing scan response TLVs"); in mwifiex_ret_802_11_scan_ext()
2587 "Scan pending in command pending list"); in mwifiex_ret_802_11_scan_ext()
2602 /* This function This function handles the event extended scan report. It
2603 * parses extended scan results and informs to cfg80211 stack.
2707 * scan buffer withut any change in mwifiex_handle_event_ext_scan_report()
2737 * This function prepares command for background scan query.
2741 * - Setting background scan flush parameter
2759 * This function inserts scan command node to the scan pending queue.
2775 * This function sends a scan command for all available channels to the
2787 "cmd: Scan already in process...\n"); in mwifiex_scan_specific_ssid()
2793 "cmd: Scan is blocked during association...\n"); in mwifiex_scan_specific_ssid()
2811 * Sends IOCTL request to start a scan.
2816 * Scan command can be issued for both normal scan and specific SSID
2817 * scan, depending upon whether an SSID is provided or not.
2834 /* Specific SSID scan */ in mwifiex_request_scan()
2837 /* Normal scan */ in mwifiex_request_scan()
2862 * the selected(scan/assoc/adhoc) IE as TLV to the command in mwifiex_cmd_append_vsie_tlv()
2898 * - The current ssid was not found somehow in the last scan.
2899 * - The current ssid was the last entry of the scan table and overloaded.