• Home
  • Raw
  • Download

Lines Matching full:scan

2  * Marvell Wireless LAN device driver: scan ioctl and command handling
28 /* The maximum number of channels the firmware can scan per command */
33 /* Memory needed to store a max sized Channel List TLV for a firmware scan */
43 scan */
59 /* Scan configuration (variable length) */
448 * This function creates a channel list for the driver to scan, based
451 * This routine is used for any scan that is not provided with a
452 * specific channel list to scan.
575 /* This function appends rate TLV to scan config command. */
608 * This function constructs and sends multiple scan config commands to
611 * Previous routines in the code flow have created a scan command configuration
613 * channels supported per scan lists and sends the portion of the channel TLV,
635 "info: Scan: Null detect: %p, %p, %p\n", in mwifiex_scan_channel_list()
640 /* Check csa channel expiry before preparing scan list */ in mwifiex_scan_channel_list()
649 /* Loop through the desired channel list, sending a new firmware scan in mwifiex_scan_channel_list()
662 * Construct the Channel TLV for the scan command. Continue to in mwifiex_scan_channel_list()
664 * - the tlv_idx hits the maximum configured per scan command in mwifiex_scan_channel_list()
680 "info: Scan: Chan(%3d), Radio(%d),\t" in mwifiex_scan_channel_list()
721 /* Count the total scan time per command */ in mwifiex_scan_channel_list()
750 /* The total scan time should be less than scan command timeout in mwifiex_scan_channel_list()
754 "total scan time %dms\t" in mwifiex_scan_channel_list()
755 "is over limit (%dms), scan skipped\n", in mwifiex_scan_channel_list()
767 /* Send the scan command to the firmware with the specified in mwifiex_scan_channel_list()
777 /* rate IE is updated per scan command but same starting in mwifiex_scan_channel_list()
797 * This function constructs a scan command configuration structure to use
798 * in scan commands.
801 * with a scan configuration supplied in a user scan configuration structure.
802 * This structure is used as the basis of one or many scan command configuration
806 * This function creates a scan command configuration structure based on the
845 /* The tlv_buf_len is calculated for each scan command. The TLVs added in mwifiex_config_scan()
857 /* Initialize the scan as un-filtered; the flag is later set to TRUE in mwifiex_config_scan()
861 /* Initialize the scan as not being only on the current channel. If in mwifiex_config_scan()
871 of an SSID list before marking the scan as filtered */ in mwifiex_config_scan()
874 /* Set the BSS type scan filter, use Adapter setting if in mwifiex_config_scan()
919 * specific scan for the SSID filled, whereas in mwifiex_config_scan()
921 * wildcard scan. in mwifiex_config_scan()
940 "info: scan: ssid[%d]: %s, %d\n", in mwifiex_config_scan()
946 not treat the scan as in mwifiex_config_scan()
955 * truncate scan results. That is not an issue with an SSID in mwifiex_config_scan()
956 * or BSSID filter applied to the scan results in the firmware. in mwifiex_config_scan()
965 "info: scan: channel gap = %d\n", in mwifiex_config_scan()
999 * scan command will be increased to the absolute maximum. in mwifiex_config_scan()
1025 "info: scan: num_probes = %d\n", in mwifiex_config_scan()
1059 * Channel TLVs will be added past this for each scan command, in mwifiex_config_scan()
1068 "info: Scan: Using supplied channel list\n"); in mwifiex_config_scan()
1119 "info: Scan: Scanning current channel only\n"); in mwifiex_config_scan()
1123 "info: Scan: Creating full region channel list\n"); in mwifiex_config_scan()
1132 * This function inspects the scan response buffer for pointers to
1135 * TLVs can be included at the end of the scan response BSS information.
1473 * This function converts radio type scan parameter to a band configuration
1489 * This is an internal function used to start a scan based on an input
1492 * This uses the input user scan configuration information when provided in
1493 * order to send the appropriate scan commands to firmware to populate or
1494 * update the internal driver scan table.
1512 "cmd: Scan already in process...\n"); in mwifiex_scan_networks()
1518 "cmd: Scan is blocked during association...\n"); in mwifiex_scan_networks()
1525 "Ignore scan. Card removed or firmware in bad state\n"); in mwifiex_scan_networks()
1557 /* Get scan command from scan_pending_q and put to cmd_pending_q */ in mwifiex_scan_networks()
1569 /* Perform internal scan synchronously */ in mwifiex_scan_networks()
1572 "wait internal scan\n"); in mwifiex_scan_networks()
1593 * This function prepares a scan command to be sent to the firmware.
1595 * This uses the scan command configuration sent to the command processing
1596 * module in command preparation stage to configure a scan command structure
1609 struct host_cmd_ds_802_11_scan *scan_cmd = &cmd->params.scan; in mwifiex_cmd_802_11_scan()
1611 /* Set fixed field variables in scan command */ in mwifiex_cmd_802_11_scan()
1671 /* This function checks if any hidden SSID found in passive scan channels
1672 * and save those channels for specific SSID active scan
1805 /* First 5 fields are bssid, RSSI(for legacy scan only), in mwifiex_parse_single_response_buf()
1938 "complete internal scan\n"); in mwifiex_complete_scan()
1944 /* This function checks if any hidden SSID found in passive scan channels
1945 * and do specific SSID active scan for those channels
1991 dev_err(priv->adapter->dev, "scan failed: %d\n", ret); in mwifiex_active_scan_req_for_passive_chan()
2022 "info: notifying scan done\n"); in mwifiex_check_next_scan_command()
2029 "info: scan already aborted\n"); in mwifiex_check_next_scan_command()
2048 "info: aborting scan\n"); in mwifiex_check_next_scan_command()
2055 "info: scan already aborted\n"); in mwifiex_check_next_scan_command()
2059 /* Get scan command from scan_pending_q and put to in mwifiex_check_next_scan_command()
2094 "info: aborting scan\n"); in mwifiex_cancel_scan()
2104 * This function handles the command response of scan.
2106 * The response buffer for the scan command has the following
2159 /* Check csa channel expiry before parsing scan response */ in mwifiex_ret_802_11_scan()
2190 /* Search the TLV buffer space in the scan response for any valid in mwifiex_ret_802_11_scan()
2197 /* Search the TLV buffer space in the scan response for any valid in mwifiex_ret_802_11_scan()
2221 * If the TSF TLV was appended to the scan results, save this in mwifiex_ret_802_11_scan()
2264 * This function prepares an extended scan command to be sent to the firmware
2266 * This uses the scan command configuration sent to the command processing
2267 * module in command preparation stage to configure a extended scan command
2288 /* This function prepares an background scan config command to be sent
2321 /* stop sched scan */ in mwifiex_cmd_802_11_bg_scan_config()
2381 * specific scan for the SSID filled, whereas in mwifiex_cmd_802_11_bg_scan_config()
2383 * wildcard scan. in mwifiex_cmd_802_11_bg_scan_config()
2553 /* This function handles the command response of extended scan */
2568 mwifiex_dbg(adapter, INFO, "info: EXT scan returns successfully\n"); in mwifiex_ret_802_11_scan_ext()
2582 "error processing scan response TLVs"); in mwifiex_ret_802_11_scan_ext()
2609 "Scan pending in command pending list"); in mwifiex_ret_802_11_scan_ext()
2624 /* This function This function handles the event extended scan report. It
2625 * parses extended scan results and informs to cfg80211 stack.
2729 * scan buffer withut any change in mwifiex_handle_event_ext_scan_report()
2759 * This function prepares command for background scan query.
2763 * - Setting background scan flush parameter
2781 * This function inserts scan command node to the scan pending queue.
2798 * This function sends a scan command for all available channels to the
2810 "cmd: Scan already in process...\n"); in mwifiex_scan_specific_ssid()
2816 "cmd: Scan is blocked during association...\n"); in mwifiex_scan_specific_ssid()
2834 * Sends IOCTL request to start a scan.
2839 * Scan command can be issued for both normal scan and specific SSID
2840 * scan, depending upon whether an SSID is provided or not.
2857 /* Specific SSID scan */ in mwifiex_request_scan()
2860 /* Normal scan */ in mwifiex_request_scan()
2885 * the selected(scan/assoc/adhoc) IE as TLV to the command in mwifiex_cmd_append_vsie_tlv()
2921 * - The current ssid was not found somehow in the last scan.
2922 * - The current ssid was the last entry of the scan table and overloaded.