Method and apparatus for access point selection
By giving higher weight to SAE-PK-enabled APs in wireless communications, the problem that SAE-PK-disabled APs are vulnerable to attacks is solved, the security of network connections is improved, and the risk of malicious twin AP attacks is reduced.
Patent Information
- Application Number
- CN202280088697.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-19
- Publication Date
- 2024-08-23
AI Technical Summary
In wireless communications, it is difficult for existing technologies to effectively avoid malicious twin AP attacks. Especially when selecting between APs, an AP with SAE-PK disabled may be selected for connection, leading to the existence of security vulnerabilities.
By giving higher weight to SAE-PK-enabled APs in the AP selection process, ensuring that SAE-PK-enabled APs are preferred even if SAE-PK is disabled reduces the risk of malicious twin AP attacks.
Increases the possibility of selecting an AP with SAE-PK enabled, reduces the risk of malicious twin AP attacks, and enhances the security of network connections.
Smart Images

Figure CN118541997A
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to systems and techniques for wireless communications. For example, aspects of the present disclosure relate to systems and techniques for selecting an access point (AP) for network connection. Background Art
[0002] A wireless local area network (WLAN) may be formed by one or more wireless access points (APs) that provide a shared wireless communication medium for use by multiple client devices, also referred to as wireless stations (STAs). The basic building block of a WLAN that complies with the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards is a basic service set (BSS) managed by an AP. Each BSS is identified by a basic service set identifier (BSSID) announced by the AP. The AP periodically broadcasts beacon frames to enable any STA within the wireless range of the AP to establish or maintain a communication link with the WLAN. Summary of the invention
[0003] Certain aspects relate to a method for wireless communication. The method generally includes: selecting an AP from a plurality of candidate access points (APs) based on a plurality of factors associated with each of the APs, the plurality of factors including at least a congestion factor and a security factor, wherein a weight associated with the security factor for selecting the AP is greater than a weight associated with the congestion factor; and connecting to a network via the AP based on the selection.
[0004] Certain aspects relate to a method for wireless communication. The method generally includes: receiving an indication of an access point (AP) from a security management component of a device; determining whether the AP has a security protocol enabled; if the AP has a security protocol enabled, selecting the AP for connection to a network; and connecting to the network via the AP based on the selection.
[0005] Certain aspects relate to an apparatus for wireless communication. The apparatus generally includes a memory and one or more processors coupled to the memory, the one or more processors configured to: select an AP from a plurality of candidate access points (APs) based on a plurality of factors associated with each of the candidate APs, the plurality of factors including at least a congestion factor and a security factor, wherein a weight associated with the security factor for selecting the AP is greater than a weight associated with the congestion factor; and connect to a network via the AP based on the selection.
[0006] Certain aspects relate to an apparatus for wireless communication. The apparatus generally includes a memory and one or more processors coupled to the memory, the one or more processors configured to: receive an indication of an access point (AP) from a security management component of the apparatus; determine whether the AP has a security protocol enabled; if the AP has a security protocol enabled, select the AP for connection to a network; and connect to the network via the AP based on the selection.
[0007] This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by reference to appropriate portions of the entire specification of this patent, any or all drawings, and each claim.
[0008] The foregoing and other features and embodiments will become more apparent upon reference to the following description, claims and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Details of one or more aspects of the subject matter described in the present disclosure are set forth in the accompanying drawings and the following description. However, the accompanying drawings illustrate only some typical aspects of the present disclosure and are therefore not to be considered as limiting its scope. Other features, aspects, and advantages will become apparent from the specification, drawings, and claims.
[0010] Figure 1 A pictorial diagram of an example wireless communication network is shown.
[0011] Figure 2 A block diagram of an example wireless communication device is shown.
[0012] Figure 3A A block diagram of an example access point (AP) is shown.
[0013] Figure 3B A block diagram of an example station (STA) is shown.
[0014] Figure 4 A STA selecting between APs in accordance with certain aspects of the present disclosure is illustrated.
[0015] Figure 5 A framework for STAs for wireless communication, in accordance with certain aspects of the present disclosure, is illustrated.
[0016] Figure 6 is a call flow diagram illustrating example operations performed by a station for AP selection in accordance with certain aspects of the present disclosure.
[0017] Figure 7 is a diagram illustrating weights associated with various factors used to score AP in accordance with certain aspects of the present disclosure.
[0018] Figure 8 is a flow chart illustrating an example of a process for wireless communication in accordance with certain aspects of the present disclosure.
[0019] Fig. 9 is a call flow diagram illustrating example operations for AP selection with priority for security protocol-enabled APs in accordance with certain aspects of the present disclosure.
[0020] Fig.10 Example operations for selecting a target AP with a security protocol enabled are illustrated in accordance with certain aspects of the present disclosure.
[0021] Fig.11 is a flow chart illustrating an example of a process for wireless communication in accordance with certain aspects of the present disclosure.
[0022] Fig.12 is a diagram illustrating an example of a system for implementing certain aspects of the disclosed technology.
[0023] Like reference numbers and designations in different drawings indicate like elements. DETAILED DESCRIPTION
[0024] The following description is directed to certain specific examples in order to describe the innovative aspects of the present disclosure. However, one of ordinary skill in the art will readily recognize that the teachings herein can be applied in a variety of different ways. Some or all of the examples described may be implemented in a manner that is capable of being implemented in accordance with the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard, the IEEE 802.15 standard, the Bluetooth Special Interest Group (SIG), or the like. The described implementations may be implemented in any device, system, or network capable of transmitting and receiving radio frequency (RF) signals in accordance with one or more of the Long Term Evolution (LTE), 3G, 4G, or 5G (New Radio (NR)) standards, or the like released by the Third Generation Partnership Project (3GPP). The described implementations may be implemented in any device, system, or network capable of transmitting and receiving RF signals in accordance with one or more of the following technologies or techniques: Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal FDMA (OFDMA), Single Carrier FDMA (SC-FDMA), Single User (SU) Multiple Input Multiple Output (MIMO), and Multi-User (MU)-MIMO. The described implementations may also be implemented using other wireless communication protocols or RF signals suitable for use in one or more of a wireless personal area network (WPAN), a wireless local area network (WLAN), a wireless wide area network (WWAN), or an Internet of Things (IOT) network.
[0025] Various aspects are generally related to systems and techniques for selecting a network device (e.g., an access point (AP) or other network device) for connection to a network in a manner that avoids security vulnerabilities. Although for illustrative purposes, an AP is used as an example of a network device herein, the various aspects described herein can be used to select other types of network devices, such as a base station, a server, or other network devices. In some scenarios, an attacker may implement an AP that mimics the configuration of another AP in the hope of connecting to a station (STA), thereby allowing the attacker to inspect, modify, and forge any data exchanged with the STA. In order to avoid such attacks (e.g., known as malicious twin AP attacks), some APs may implement security protocols such as simultaneous authentication of peers (SAE) public key (SAE-PK) authentication protocols. However, when selecting between APs, one candidate AP may enable SAE-PK and another candidate AP may disable SAE-PK. If an AP with SAE-PK disabled is selected for connection, the STA may be vulnerable to a malicious twin AP attack. For example, the STA may score different factors associated with each candidate AP and select the one with the highest score among the APs. An AP with SAE-PK disabled may have a high score for the congestion factor and thus may be selected for connection.
[0026] Certain aspects of the present disclosure provide systems and techniques for increasing the likelihood of selecting an AP with SAE-PK enabled. For example, when scoring different factors, factors associated with whether an AP has SAE-PK enabled may be given greater weight than congestion factors. In this way, even though an AP with SAE-PK disabled may have a higher score for congestion factors, an AP with SAE-PK enabled will be more likely to be selected by a STA.
[0027] In some implementations, a security management component (e.g., a supplicant of a hardware abstraction layer of a station) can recommend to a driver of a station to select an AP that has SAE-PK enabled. In some aspects, the driver can prioritize the recommendations from the security management component and select an AP that has SAE-PK enabled as recommended (e.g., without performing scoring of factors as described). If the target AP recommended by the security management component has SAE-PK disabled, the driver can only perform scoring as described.
[0028] Other aspects of the systems and techniques described herein will be described with respect to the accompanying figures.
[0029] Figure 1A block diagram of an example wireless communication network 100 is shown. According to some aspects, the wireless communication network 100 may be an example of a wireless local area network (WLAN) such as a Wi-Fi network (and will be referred to as WLAN 100 hereinafter). For example, the WLAN 100 may be a network that implements at least one of the IEEE 802.11 series of wireless communication protocol standards, such as the standards defined by the IEEE 802.11-2016 specification or its revisions, including but not limited to 802.11ay, 802.11ax, 802.11az, 802.11ba, and 802.11be. The WLAN 100 may include numerous wireless communication devices, such as an access point (AP) 102 and a plurality of stations (STAs) 104. Although only one AP 102 is shown, the WLAN network 100 may also include a plurality of APs 102.
[0030] Each STA 104 may also be referred to as a mobile station (MS), a mobile device, a mobile phone, a wireless phone, an access terminal (AT), a user equipment (UE), a subscriber station (SS), or a subscriber unit, among other examples. STA 104 may represent a variety of devices, such as mobile phones, personal digital assistants (PDAs), other handheld devices, netbooks, notebook computers, tablet computers, laptops, display devices (e.g., TVs, computer monitors, navigation systems, etc.), music or other audio or stereo equipment, remote control devices (“remote controls”), printers, kitchen or other home appliances, remote control keys (e.g., for passive keyless entry and start (PKES) systems), and the like.
[0031] A single AP 102 and the associated set of STAs 104 may be referred to as a basic service set (BSS), which is managed by the corresponding AP 102 . Figure 1Additionally shown is an example coverage area 106 of the AP 102, which may represent a basic service area (BSA) of the WLAN 100. The BSS may be identified to users by a service set identifier (SSID) and may also be identified to other devices by a basic service set identifier (BSSID), which may be a medium access control (MAC) address of the AP 102. The AP 102 periodically broadcasts a beacon frame (“beacon”) including the BSSID to enable any STA 104 within the wireless range of the AP 102 to “associate” or reassociate with the AP 102 to establish or maintain a corresponding communication link 108 (hereinafter also referred to as a “Wi-Fi link”) with the AP 102. For example, the beacon may include an identification of a primary channel used by the corresponding AP 102 and a timing synchronization function for establishing or maintaining timing synchronization with the AP 102. The AP 102 may provide access to external networks to the various STAs 104 in the WLAN via respective communication links 108 .
[0032] To establish a communication link 108 with the AP 102, each STA 104 is configured to perform passive or active scanning operations ("scanning") on frequency channels in one or more frequency bands (eg, 2.4 GHz, 5 GHz, 6 GHz, or 60 GHz bands). To perform passive scanning, the STA 104 listens to beacons transmitted by the corresponding AP 102 at periodic time intervals (referred to as target beacon transmission time (TBTT)) (measured in time units (TUs), where one TU may be equal to 1024 microseconds (μs)). To perform active scanning, the STA 104 generates and sequentially transmits probe requests on each channel to be scanned, and listens for probe responses from the AP 102. Each STA 104 may be configured to identify or select an AP 102 to associate with based on the scanning information obtained through passive or active scanning, and perform authentication and association operations to establish a communication link 108 with the selected AP 102. The AP 102 assigns an association identifier (AID) to the STA 104 at the end of the association operation, and the AP 102 uses the association identifier (AID) to track the STA 104.
[0033] As wireless networks become more and more common, STA 104 may have the opportunity to select one of many BSSs within the range of the STA or to select among multiple APs 102 that together form an extended service set (ESS) (including multiple connected BSSs). Extended network stations associated with WLAN 100 may be connected to a wired or wireless distribution system that allows multiple APs 102 to be connected in such ESS. In this way, STA 104 may be covered by more than one AP 102 and may be associated with different APs 102 at different times for different transmissions. Additionally, after associating with AP 102, STA 104 may also be configured to periodically scan its surroundings to find a more appropriate AP 102 to associate with. For example, a STA 104 that is moving relative to its associated AP 102 may perform a "roaming" scan to find another AP 102 with more suitable network characteristics (such as a larger received signal strength indicator (RSSI) or a reduced traffic load).
[0034] In some cases, STA 104 may form a network without AP 102 or other equipment other than STA 104 itself. An example of such a network is a self-organizing (ad hoc) network (or wireless self-organizing network). A self-organizing network may alternatively be referred to as a mesh network or a peer-to-peer (P2P) network. In some cases, a self-organizing network may be implemented within a larger wireless network (such as WLAN 100). In such a specific implementation, although STA 104 may be able to communicate with each other through AP 102 using communication link 108, STA 104 may also communicate directly with each other via direct wireless link 110. Additionally, two STA 104 may communicate via direct communication link 110, regardless of whether the two STA 104 are associated with the same AP 102 and served by the same AP. In such a self-organizing system, one or more STA 104 may assume the role played by AP 102 in the BSS. Such STA 104 may be referred to as a group owner (GO) and may coordinate the transmission within the self-organizing network. Examples of direct wireless link 110 include a Wi-Fi Direct connection, a connection established by using a Wi-Fi Tunneled Direct Link Setup (TDLS) link, and other P2P group connections.
[0035] The AP 102 and the STA 104 may function and communicate (via corresponding communication links 108) in accordance with the IEEE 802.11 family of wireless communication protocol standards, such as those defined by the IEEE 802.11-2016 specification or its revisions, including but not limited to 802.11ay, 802.11ax, 802.11az, 802.11ba, and 802.11be. These standards define WLAN radio components and baseband protocols for the PHY and medium access control (MAC) layers. The AP 102 and the STA 104 send and receive wireless communications (hereinafter also referred to as "Wi-Fi communications") to and from each other in the form of PHY protocol data units (PPDUs) (or physical layer convergence protocol (PLCP) PDUs). The AP 102 and STA 104 in the WLAN 100 may send PPDUs on an unlicensed spectrum, which may be a portion of a spectrum that includes frequency bands traditionally used by Wi-Fi technology, such as the 2.4 GHz band, the 5 GHz band, the 60 GHz band, the 3.6 GHz band, and the 900 MHz band. Some implementations of the AP 102 and STA 104 described herein may also communicate in other frequency bands, such as the 6 GHz band, that may support both licensed and unlicensed communications. The AP 102 and STA 104 may also be configured to communicate on other frequency bands, such as shared licensed frequency bands, where multiple operators may have licenses to operate in one or more of the same or overlapping frequency bands.
[0036] Each of the frequency bands may include multiple sub-bands or frequency channels. For example, PPDUs that comply with IEEE 802.11n, 802.11ac, 802.11ax, and 802.11be standard revisions may be sent on 2.4 GHz, 5 GHz, or 6 GHz frequency bands, where each frequency band is divided into multiple 20 MHz channels. In this way, these PPDUs are sent on a physical channel with a minimum bandwidth of 20 MHz, but larger channels may be formed through channel bonding. For example, a PPDU may be sent on a physical channel with a bandwidth of 40 MHz, 80 MHz, 160 MHz, or CCC20 MHz by bonding multiple 20 MHz channels together.
[0037] Each PPDU is a composite structure including a PHY preamble and a payload in the form of a PHY service data unit (PSDU). The information provided in the preamble can be used by the receiving device to decode subsequent data in the PSDU. In an instance where the PPDU is sent over a bonded channel, the preamble field can be copied and sent in each of a plurality of component channels. The PHY preamble may include both a legacy part (or "legacy preamble") and a non-legacy part (or "non-legacy preamble"). Legacy preambles can be used for packet detection, automatic gain control, and channel estimation, as well as other purposes. Legacy preambles can also generally be used to maintain compatibility with legacy devices. The format, decoding, and information provided therein of the non-legacy part of the preamble are based on the specific IEEE 802.11 protocol to be used to send the payload.
[0038] Figure 2 2 shows a block diagram of an example wireless communication device 200. In some implementations, the wireless communication device 200 may be a wireless communication device for a STA (such as the one described above). Figure 1 In some implementations, the wireless communication device 200 may be an example of a device in an AP (such as one of the STAs 104 described above). Figure 1 The wireless communication device 200 is capable of sending and receiving wireless communications, for example, in the form of wireless packets. For example, the wireless communication device can be configured to send and receive packets in the form of physical layer convergence protocol (PLCP) protocol data units (PPDUs) and medium access control (MAC) protocol data units (MPDUs) that comply with IEEE 802.11 wireless communication protocol standards (such as those defined by the IEEE 802.11-2016 specification or its amendments, including but not limited to 802.11ay, 802.11ax, 802.11az, 802.11ba, and 802.11be).
[0039] The wireless communication device 200 may be or may include a chip, system on chip (SoC), chipset, package, or device including one or more modems 202 (e.g., Wi-Fi (IEEE 802.11 compatible) modems). In some implementations, one or more modems (collectively referred to as “modems 202”) additionally include a WWAN modem (e.g., a 3GPP 4GLTE or 5G compatible modem). In some implementations, the wireless communication device 200 also includes one or more processors, processing blocks, or processing elements (collectively referred to as “processors 204”) coupled to the modem 202. In some implementations, the wireless communication device 200 additionally includes one or more radio components (collectively referred to as “radio components 206”) coupled to the modem 202. In some implementations, the wireless communication device 200 also includes one or more memory blocks or elements (collectively referred to as “memory 208”) coupled to the processor 204 or the modem 202.
[0040] The modem 202 may include an intelligent hardware block or device (such as, for example, an application specific integrated circuit (ASIC) or the like). The modem 202 is generally configured to implement the PHY layer, and in some specific implementations, also implements a portion of the MAC layer (e.g., a hardware portion of the MAC layer). For example, the modem 202 is configured to modulate packets and output the modulated packets to the radio component 206 for transmission on the wireless medium. Similarly, the modem 202 is configured to obtain modulated packets received by the radio component 206 and demodulate the packets to provide demodulated packets. In addition to the modulator and demodulator, the modem 202 may also include digital signal processing (DSP) circuitry, automatic gain control (AGC) circuitry, a decoder, a decoder, a multiplexer, and a demultiplexer. For example, when in a transmit mode, data obtained from the processor 204 may be provided to an encoder, which encodes the data to provide decoded bits. The decoded bits may then be mapped to a number (N SS ) spatial streams for spatial multiplexing or several (N STSThe decoded bits in each stream may then be mapped to points in the modulation constellation (using the selected MCS) to provide modulated symbols. The modulated symbols in the corresponding spatial stream or space-time stream may be multiplexed, transformed via an inverse fast Fourier transform (IFFT) block, and then provided to a DSP circuit (e.g., for Tx windowing and filtering). The digital signal may then be provided to a digital-to-analog converter (DAC). The resulting analog signal may then be provided to an upconverter and ultimately to the radio component 206. In a specific implementation involving beamforming, the modulated symbols in the corresponding spatial stream are pre-decoded via a steering matrix before being provided to the IFFT block.
[0041] When in receive mode, the DSP circuit is configured to acquire a signal including modulated symbols received from the radio component 206, for example, by detecting the presence of the signal and estimating initial timing and frequency offset. The DSP circuit is further configured to digitally condition the signal, for example using channel (narrowband) filtering and analog impairment conditioning (such as correcting I / Q imbalance) and by applying digital gain to ultimately obtain a narrowband signal. The output of the DSP circuit can then be fed to the AGC, which is configured to use information extracted from the digital signal (e.g., in one or more received training fields) to determine the appropriate gain. The output of the DSP circuit is also coupled to a demultiplexer that demultiplexes the modulated symbols when multiple spatial streams or space-time streams are received. The demultiplexed symbols can be provided to a demodulator that is configured to extract the symbols from the signal and, for example, calculate a log-likelihood ratio (LLR) for each bit position of each subcarrier in each spatial stream. The demodulator is coupled to a decoder that can be configured to process the LLRs to provide decoded bits. The decoded bits may then be descrambled and provided to the MAC layer (processor 204) for processing, evaluation, or interpretation.
[0042] The radio 206 generally includes at least one radio frequency (RF) transmitter (or "transmitter chain") and at least one RF receiver (or "receiver chain"), which can be combined into one or more transceivers. For example, each of the RF transmitter and receiver may include various analog circuits, including at least one power amplifier (PA) and at least one low noise amplifier (LNA), respectively. The RF transmitter and receiver may in turn be coupled to one or more antennas. For example, in some specific implementations, the wireless communication device 200 may include or be coupled to multiple transmit antennas (each transmit antenna having a corresponding transmit chain) and multiple receive antennas (each receive antenna having a corresponding receive chain). The codewords output from the modem 202 are provided to the radio 206, which then transmits the codewords via the coupled antennas. Similarly, the codewords received via the antennas are obtained by the radio 206, which then provides the codewords to the modem 202.
[0043] The processor 204 may include an intelligent hardware block or device designed to perform the functions described herein, such as, for example, a processing core, a processing block, a central processing unit (CPU), a microprocessor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device (PLD) (such as a field programmable gate array (FPGA)), discrete gate or transistor logic, discrete hardware components, or any combination thereof. The processor 204 processes information received through the radio component 206 and the modem 202, and processes information to be output by the modem 202 and the radio component 206 to be sent through the wireless medium. For example, the processor 204 may implement at least a portion of the control plane and the MAC layer, which is configured to perform various operations related to the generation, transmission, reception, and processing of MPDUs, frames, or packets. In some specific implementations, the MAC layer is configured to generate MPDUs to provide to the PHY layer for decoding, and receive decoded information bits from the PHY layer for processing as MPDUs. The MAC layer may be further configured to allocate time and frequency resources, such as for OFDMA and other operations or technologies. In some implementations, the processor 204 can generally control the modem 202 to cause the modem to perform the various operations described above.
[0044] The memory 208 may include a tangible storage medium, such as a random access memory (RAM) or a read-only memory (ROM) or a combination thereof. The memory 208 may also store non-transitory processor or computer executable software (SW) code containing instructions that, when executed by the processor 204, cause the processor to perform various operations described herein for wireless communication, including generation, transmission, reception, and interpretation of MPDUs, frames, or packets. For example, various functions of the components disclosed herein or various blocks or steps of the methods, operations, processes, or algorithms disclosed herein may be implemented as one or more modules of one or more computer programs.
[0045] Figure 3A 302 is a block diagram of an example AP 302. For example, AP 302 may be a reference Figure 1 The AP 102 is described as an example implementation. The AP 302 includes a wireless communication device (WCD) 310 (although the AP 302 itself may also be generally referred to as a wireless communication device, as used herein). For example, the wireless communication device 310 may be a wireless communication device. Figure 2 The example implementation of the wireless communication device 200 described. The AP 302 also includes a plurality of antennas 320 coupled to the wireless communication device 310 to send and receive wireless communications. In some implementations, the AP 302 additionally includes an application processor 330 coupled to the wireless communication device 310 and a memory 340 coupled to the application processor 330. The AP 302 also includes at least one external network interface 350 that enables the AP 302 to communicate with a core network or a backhaul network to gain access to an external network including the Internet. For example, the external network interface 350 may include one or both of a wired (e.g., Ethernet) network interface and a wireless network interface (such as a WWAN interface). Some of the above components may communicate directly or indirectly with other components of the components through at least one bus. The AP 302 also includes a housing that surrounds the wireless communication device 310, the application processor 330, the memory 340, and at least a portion of the antenna 320 and the external network interface 350.
[0046] Figure 3B 304. For example, STA 304 may be a reference Figure 1 The example implementation of STA 104 is described. STA 304 includes a wireless communication device 315 (although STA 304 itself may also be generally referred to as a wireless communication device as used herein). For example, wireless communication device 315 may be a reference Figure 2An example implementation of the wireless communication device 200 described. The STA 304 also includes one or more antennas 325 coupled to the wireless communication device 315 to send and receive wireless communications. The STA 304 additionally includes an application processor 335 coupled to the wireless communication device 315, and a memory 345 coupled to the application processor 335. In some implementations, the STA 304 also includes a user interface (UI) 355 (such as a touch screen or keyboard) and a display 365, which can be integrated with the UI 355 to form a touch screen display. In some implementations, the STA 304 may also include one or more sensors 375 (such as, for example, one or more inertial sensors, accelerometers, temperature sensors, pressure sensors, or altitude sensors). Some of the above components can communicate directly or indirectly with other components of the components through at least one bus. The STA 304 also includes a housing that surrounds the wireless communication device 315, the application processor 335, the memory 345, at least a portion of the antenna 325, the UI 355, and the display 365.
[0047] Some public Wi-Fi networks use group-level passwords for link layer authentication. The passwords can be distributed to a group of users. The passwords provide a simple means of controlling access to the network. The size of the group of users to which the passwords are distributed can be large. Therefore, in many of these deployments, it is not difficult for a potential attacker to gain knowledge of the passwords to perform a "malicious twin AP" attack. For example, an attacker who knows the password can launch an attack against a client STA by impersonating an AP. Once a client STA is connected to the attacker's AP, the attacker is able to inspect, modify, and forge any data exchanged with the client STA.
[0048] Simultaneous Authentication of Peers (SAE) Public Key (SAE-PK) authentication is an extension of SAE that is intended for use in authentication based on the use of a password that may be distributed to or obtained by a potential attacker. With SAE-PK, APs in an infrastructure network are also authenticated based on static public / private key pairs to provide protection against impersonation attacks as described above. However, not all APs support (or have enabled) the SAE-PK security protocol. Although various aspects are described herein with respect to the SAE-PK security protocol, the systems and techniques described herein may also be applied to other security protocols.
[0049] Figure 4 406 according to certain aspects of the present disclosure. STA 402 may correspond to a STA 402 that selects between APs 404 and 406. Figure 1 STA 104 described or relative to Figure 3BSTA 304 is depicted in FIG. 4. As shown, AP 404 may support and have enabled the SAE-PK security protocol, while AP 406 may have disabled SAE-PK. AP 406 may be a malicious twin AP. In other words, an attacker may set up AP 406 to mimic AP 404 in an attempt to connect STA 402 to AP 406 to inspect, modify, or forge data exchanged with the STA. For example, AP 404 and AP 406 may be configured with the same identifier (e.g., service set identifier (SSID)). If STA 402 selects AP 406 for connection, STA 402 may become a victim of a malicious twin AP attack.
[0050] Certain aspects relate to techniques for increasing the likelihood of selecting an AP that has the SAE-PK security protocol enabled. For example, when a STA has SAE-PK enabled for a network and is selecting (selecting what it deems a suitable candidate to associate with) among discovered APs in the network (e.g., in a service set associated with an SSID), the STA may attempt to authenticate with an AP that claims to support SAE-PK before attempting to authenticate with any AP that does not claim to support SAE-PK.
[0051] Figure 5 A framework 500 (e.g., a protocol stack) for a station (e.g., STA 402) for wireless communication is illustrated. As shown, the framework 500 includes a driver 502, a hardware abstraction layer 504, and an upper layer 506 (e.g., including an application framework 510 and a wireless service 508, such as a Wi-Fi service or other wireless service). The framework 500 includes support for various Wi-Fi protocols and modes, including Wi-Fi infrastructure (STA), Wi-Fi hotspots, Wi-Fi direct connections (e.g., peer-to-peer), Wi-Fi awareness, and Wi-Fi round-trip time (RTT) as implemented by a wireless service 508 (e.g., a Wi-Fi service). An application (e.g., included in an application framework of the upper layer 506) can use various wireless services 508 (e.g., Wi-Fi services) and communicate with various wireless services. The wireless service 508 (e.g., Wi-Fi service) can communicate with the hardware abstraction layer 504 via a hardware abstraction layer interface description language (HIDL) interface. The hardware abstraction layer 504 may implement a security management component, which in some implementations may be referred to as a supplicant 512. The supplicant 512 may be a component for controlling the WiFi driver 502 (e.g., controlling scanning for and connecting to APs). The supplicant 512 may be a WPA supplicant for managing WiFi Protected Access (WPA). For example, the WPA supplicant may determine whether the AP supports a particular security protocol (e.g., SAE-PK) and instruct the driver to connect to the AP accordingly, as described in more detail herein.
[0052] Figure 6 6 is a call flow diagram illustrating example operations performed by a station for AP selection according to certain aspects of the present disclosure. As shown, the upper layer may transmit a command (CMD) 604 to connect to the AP, the command including a service set identifier (SSID) and an authentication type (AuthType). The authentication type indicates an authentication method used to associate with the AP. The upper layer 602 may be a WiFi Alliance (WFA) test tool (e.g., sigma_dut for WFA certification testing) or an application framework on the wireless station. In response to the command, the security management component of the STA 402 (e.g., the supplicant 512) may transmit a request 606 to obtain a scan result. For example, the driver 502 may scan for APs available for connection in response to the request 606, and provide the supplicant 512 with a scan result 608 (e.g., available APs). At box 610, the supplicant 512 may sort the scan results (e.g., available APs) to determine one of the APs for connection. For example, the supplicant 512 may select one of the APs with SAE_PK enabled. This document is relative to Fig.10 The AP selection process of supplicant 512 is described in more detail.
[0053] The supplicant 512 may then transmit a command 612 to the driver 502 to connect to the target AP (e.g., the AP selected at block 610). The command 612 may include an SSID associated with the WLAN and a BSSID associated with the selected AP of the WLAN. The SSID identifies the WLAN, and the BSSID may be a MAC address of an AP that is part of the WLAN. At block 614, the driver 502 may make a candidate list of APs based on the SSID and the authentication type, and at block 616, sort the candidate list to select one of the APs. For example, the driver 502 may score various factors to select an AP. Based on the scores of the different factors, the driver may select an AP (e.g., AP 404) with SAE-PK enabled (e.g., as suggested by the supplicant 512), or select another AP (e.g., AP 406) with SAE-PK disabled, making the STA vulnerable to a malicious twin attack as described herein. These factors may include at least one factor associated with congestion and one factor associated with whether SAE-PK is enabled. A driver may connect to an SAE-PK disabled AP with a superior scoring factor (e.g., compared to the scoring factor of another AP that may have SAE-PK enabled). As a result, the driver's scoring results conflict with the supplicant's selection of an SAE-PK enabled AP. This may be due to the driver giving a greater score weight to the congestion factor, but giving too low a score to the SAE-PK factor. Some aspects of the present disclosure relate to a scoring technique that increases the likelihood of selecting an SAE-PK enabled AP, thereby reducing the likelihood of selecting a malicious twin AP. Figure 7 The scoring techniques used for AP selection are described in more detail.
[0054] Figure 7700 is a diagram illustrating weights associated with various factors for scoring an AP in accordance with certain aspects of the present disclosure. As shown, the various factors may include a received signal strength indicator (RSSI) associated with the AP, whether the AP supports a high throughput (HT) protocol (e.g., associated with IEEE 802.11n), whether the AP supports a very high throughput (VHT) protocol (e.g., associated with IEEE 802.11ac), whether the AP has high efficiency (HE) capabilities (e.g., associated with IEEE 802.11ax), a bandwidth associated with the AP, a number of spatial streams (NSS) used by the AP, a frequency band associated with the AP (e.g., 2G, 5G, or 6G), a quality of service (QoS) enhanced basic service set (QBSS) (also referred to herein as a congestion factor), whether the AP supports beamforming, a preferred channel list (PCL) associated with the AP, an optimized connectivity experience (OCE) wide area network (WAN) associated with the AP, an OCE transmit (TX) power, an OCE subnet identifier, or whether SAE-PK is enabled (also referred to herein as a security factor). Other factors may also be considered, such as whether the AP supports Extremely High Throughput (EHT). For QBSS, each AP may send an information element (IE) indicating the channel load information of the AP (referred to as the QBSS IE), thereby allowing the STA to assess congestion. As shown, each factor may be associated with a weight as a percentage. For example, the maximum score available for each factor may be set based on the associated weight as a percentage of a reference score of 10,000. For QBSS, as an example, the weight may be set to 25%, and therefore, the maximum score that may be given for the QBSS factor may be 2,500. For RSSI, the weight may be set to 20%, and therefore, the maximum score that may be given for the RSSI factor may be 2,000.
[0055] Typically, the weight associated with SAE-PK can be less than the weight associated with congestion (e.g., QBSS). For example, as shown, the weight associated with SAE-PK can be 3%, while the weight associated with congestion can be 25%. Therefore, due to receiving a high score for the congestion factor, an AP with SAE-PK disabled can be selected for association. In some aspects of the present disclosure, in order to increase the likelihood of selecting an AP with SAE-PK enabled for connection, the weight associated with SAE-PK can be set to be higher than the weight associated with the congestion factor. For example, the weight associated with SAE-PK can be set to 30%, as shown. The higher score weight of the SAE-PK factor can suppress the impact of congestion, which may otherwise cause the STA to select an AP with SAE-PK disabled.
[0056] As an example, the first AP may enable SAE-PK and the second AP may disable SAE-PK. The first AP may receive a score of 2000 for RSSI, 0 for PCL, 0 for HT, 0 for VHT, 0 for HE, 0 for beamforming, 0 for band, 144 for bandwidth, 0 for band, 1250 for congestion, 400 for NSS, 100 for OCE WAN, 244 for OCE AP TX power, 0 for OCE subnet ID, 3000 for SAE-PK, and 0 for EHT, providing a total score of 7138 for the first AP. The second AP may receive a score of 2000 for RSSI, 0 for PCL, 0 for HT, 0 for VHT, 0 for HE, 0 for beamforming, 0 for band, 144 for bandwidth, 0 for band, 2500 for congestion, 400 for NSS, 100 for OCE WAN, 244 for OCE AP TX power, 0 for OCE subnet ID, 0 for SAE-PK, and 0 for EHT, providing a total score of 5388. Thus, by providing a score of 3000 for the SAE-PK factor, the first AP with SAE-PK enabled may be selected for connection. On the other hand, if SAE-PK only has a weight of 3% (e.g., a maximum score of 300), the first AP will only have a score of 4438, and the second AP with SAE-PK disabled will be selected (e.g., because the second AP will have a higher score than the first AP).
[0057] Figure 8 8 is a flow diagram illustrating an example of a process 800 for wireless communication. Process 800 may be performed by a connection management system, such as processor 204 or processor 1210 and memory 208 or storage device 1230.
[0058] At block 802, a connection management system determines a connection based on a plurality of factors associated with each of a plurality of candidate access points (APs) (e.g., relative to Figure 7 The multiple factors may include congestion factors and security factors (eg, SAE-PK factors). The security factor may be a factor associated with whether the SAE-PK protocol is enabled.
[0059] In some aspects of the present disclosure, the weight associated with the security factor for selecting an AP may be greater than the weight associated with the congestion factor. Figure 7As described, the weight associated with the congestion factor may be 25%, while the weight associated with the security factor may be 30%. In some aspects, selecting the AP may include performing a weighted sum of the scores associated with each of the multiple factors for each candidate AP in the plurality of candidate APs to generate a total score for each candidate AP in the plurality of candidate APs, and selecting the AP from the plurality of candidate APs based on the total score of the AP being the highest score among the plurality of candidate APs.
[0060] To select an AP, the connection management system may assign a score (e.g., a score of 2500) to a congestion factor, where the maximum value of the score to be assigned to the congestion factor is equal to a reference score (e.g., 10,000) multiplied by a weight associated with the congestion factor (e.g., 25%), and assign a score to a security factor, where the maximum value of the score to be assigned to the security factor is equal to the reference score multiplied by the weight associated with the security factor. The connection management system may then select an AP based on a total score that includes the sum of the score assigned to the congestion factor and the score assigned to the security factor. In some aspects, the connection management system may scan the medium for multiple candidate APs.
[0061] The connection management system may receive an indication at the driver and from a security management component of the device that the AP supports the SAE-PK protocol, and select the AP based on the indication. The security management component may be a supplicant in a hardware abstraction layer of the device (e.g., supplicant 512). At block 804, the connection management system connects to the network via the AP based on the selection.
[0062] In some aspects of the present disclosure, the priority of an identifier (ID) (e.g., BSSID) associated with an AP recommended by a supplicant may be upgraded so that the driver selects an AP with SAE-PK enabled (e.g., as recommended by the supplicant). The supplicant correctly selects an AP with SAE-PK enabled, however, due to the scoring mechanism described herein, the driver overrules the supplicant's selection. It may not be possible to simply disable the WLAN driver policy to let the supplicant decide which AP to select. Setting the weight associated with SAE-PK to 30% (or to the highest weight among various factors) allows the SAE-PK factor to suppress the influence of any other single factor (e.g., including the second highest score weight associated with the congestion factor), causing the driver to select an AP with SAE-PK enabled. However, the driver may still be vulnerable when a malicious AP with SAE-PK disabled has multiple superior scoring factors (e.g., a score weight of QBSS+RSSI+PCL=2500+2000+1000=5500 will be greater than a score weight of SAE-PK alone=3000). Therefore, in certain scenarios where an AP with SAE-PK disabled has an overwhelming physical advantage over the described factors, a STA may be a victim of an attack. Therefore, in some aspects of the present disclosure, priority may be given to APs (eg, BSSIDs) recommended by a supplicant.
[0063] Fig. 9 is a call flow diagram illustrating example operations for AP selection with priority for SAE-PK enabled APs in accordance with certain aspects of the present disclosure. As illustrated, once the supplicant 512 provides a command 612 indicating a target AP, the driver 502 may determine at block 902 whether the target AP is SAE-PK enabled. If so, the driver connects to the SAE-PK enabled target AP (e.g., using the BSSID indicated by the supplicant via command 612). If not, the driver performs the scoring techniques described herein (e.g., at blocks 614, 616) to select one of the candidate APs for connection. Thus, the driver may be configured to select an SAE-PK enabled AP without modifying the driver's scoring policy, and may cause the driver to select an SAE-PK enabled AP regardless of the scoring factors considered.
[0064] Fig.10Example operations performed by a supplicant for selecting a target AP with SAE-PK enabled are illustrated. As shown, once the supplicant 512 receives the scan results 608 indicating candidate APs, the supplicant sorts the APs by security strength and signal strength. For example, at block 1004, the supplicant 512 determines whether one AP (e.g., AP A) has stronger security than another AP (e.g., AP B). If so, AP A is placed at the top of the AP list. If the security is equal, at block 1006, the supplicant determines which AP has a stronger signal strength and places the AP with the stronger signal strength at the top of the list. Once the sorting is complete (e.g., as determined at block 1002), the supplicant 512 returns the sorted list. In this manner, the supplicant generates a list of APs sorted by security strength and signal strength. The supplicant then selects the APs with the SSID associated with the WLAN from the sorted list for connection, and for each AP, determines at block 1008 whether the AP is SAE-PK enabled, and if so, places the AP in the list (e.g., at the top of the list). Thus, the supplicant generates a list with SAE-PK enabled APs at the top of the list and sorted by security strength and signal strength. At block 1010, the supplicant selects an AP from the top of the list and indicates the AP as a target AP for connection to the driver via command 612, as described herein.
[0065] Fig.11 is a flow chart illustrating an example of a process 1100 for wireless communication. Process 800 may be performed by a connection management system, such as processor 204 or processor 1210 and memory 208 or storage device 1230.
[0066] At block 1102, the connection management system receives a request for an AP (eg, with respect to Fig. 9 At block 1104, the connection management system determines whether the AP has a security protocol (eg, SAE-PK) enabled, and at block 1106, if the AP has a security protocol enabled, selects the AP for connection to the network.
[0067] At block 1108, the connection management system connects to the network via the AP based on the selection. In some aspects, the AP is one of a plurality of candidate APs. If the AP indicated by the security management component is not SAE-PK enabled, the connection management system selects one of the plurality of candidate APs for connection to the network based on factors associated with each of the plurality of candidate APs.
[0068] Fig.12is a diagram illustrating an example of a system for implementing certain aspects of the disclosed technology. Specifically, Fig.12 An example of a computing system 1200 is illustrated, which may be any computing device, for example, constituting an internal computing system, a remote computing system, a camera, or any components thereof, wherein the components of the system communicate with each other using a connection 1205. The connection 1205 may be a physical connection using a bus, or a direct connection into the processor 1210, such as in a chipset architecture. The connection 1205 may also be a virtual connection, a networked connection, or a logical connection.
[0069] In some aspects, computing system 1200 is a distributed system in which the functionality described in the present disclosure can be distributed within a data center, multiple data centers, a peer-to-peer network, etc. In some aspects, one or more of the described system components represent a number of such components that each perform some or all of the functionality for which the component is described. In some aspects, each component can be a physical or virtual device.
[0070] The example system 1200 includes at least one processing unit (CPU or processor) 1210 and connections 1205 that couple various system components including system memory 1215, such as read-only memory (ROM) 1220 and random access memory (RAM) 1225, to the processor 1210. The computing system 1200 may include a cache 1212 of high-speed memory directly connected to, in close proximity to, or integrated as part of the processor 1210.
[0071] The processor 1210 may include any general purpose processor and hardware services or software services. In some aspects, the code stored in the storage device 1230 may be configured to control the processor 1210 to perform the operations described herein. In some aspects, the processor 1210 may be a special purpose processor in which instructions or circuits are incorporated into the actual processor design to perform the operations described herein. The processor 1210 may be essentially a completely independent computing system that includes multiple cores or processors, buses, memory controllers, caches, etc. Multi-core processors may be symmetric or asymmetric. For example, the processor 1210 may include a circuit 1260 for selecting, a circuit 1262 for connecting, a circuit 1264 for scoring, a circuit 1266 for receiving, a circuit 1268 for scanning, and a circuit 1269 for determining.
[0072] The storage device 1230 may store code that, when executed by the processor 1210, performs the operations described herein. For example, the storage device 1230 may include code 1270 for selecting, code 1272 for connecting, code 1274 for scoring, code 1276 for receiving, code 1278 for scanning, and code 1280 for determining.
[0073] To enable user interaction, the computing system 1200 includes an input device 1245 that can represent any number of input mechanisms, such as a microphone for voice, a camera for generating images or video, a touch-sensitive screen for gesture or graphical input, a keyboard, a mouse, motion input, voice, and the like. The computing system 1200 may also include an output device 1235 that can be one or more of a plurality of output mechanisms. In some cases, a multimodal system may enable a user to provide multiple types of input / output to communicate with the computing system 1200. The computing system 1200 may include a communication interface 1240, which may generally govern and manage user input and system output. The communication interface may perform or facilitate the reception and / or transmission of wired or wireless communications using a wired and / or wireless transceiver, including the use of an audio jack / plug, a microphone jack / plug, a universal serial bus (USB) port / plug, Ports / plugs, Ethernet ports / plugs, Fiber optic ports / plugs, Dedicated wired ports / plugs, Wireless signal transmission, Low energy (BLE) wireless signal transmission, Wireless signal transmission, radio frequency identification (RFID) wireless signal transmission, near field communication (NFC) wireless signal transmission, dedicated short range communication (DSRC) wireless signal transmission, 802.11 Wi-Fi wireless signal transmission, wireless local area network (WLAN) signal transmission, visible light communication (VLC), Worldwide Interoperability for Microwave Access (WiMAX), infrared (IR) communication wireless signal transmission, public switched telephone network (PSTN) signal transmission, integrated services digital network (ISDN) signal transmission, 3G / 4G / 5G / LTE cellular data network wireless signal transmission, ad hoc network signal transmission, radio wave signal transmission, microwave signal transmission, infrared signal transmission, visible light signal transmission, ultraviolet light signal transmission, wireless signal transmission along the electromagnetic spectrum, or some combination thereof. The communication interface 1240 may also include one or more global navigation satellite system (GNSS) receivers or transceivers for determining the location of the computing system 1200 based on receiving one or more signals from one or more satellites associated with one or more GNSS systems. GNSS systems include, but are not limited to, the United States' Global Positioning System (GPS), Russia's Global Navigation Satellite System (GLONASS), China's BeiDou Navigation Satellite System (BDS), and Europe's Galileo GNSS. There is no restriction on operating on any particular hardware arrangement, and thus the underlying features herein may be easily replaced to obtain improved hardware or firmware arrangements as they are developed. The communication interface 1240 may include a transceiver 1290 for sending and receiving signals via one or more antennas 1292.
[0074] The storage device 1230 may be a non-volatile and / or non-transitory and / or computer-readable memory device, and may be a hard disk or other type of computer-readable medium that can store data that can be accessed by a computer, such as a magnetic tape cartridge, a flash memory card, a solid-state memory device, a digital versatile disk, a cassette, a floppy disk, a flexible disk, a hard disk, a magnetic tape, a magnetic stripe / strip, any other magnetic storage medium, a flash memory, a memristor memory, any other solid-state memory, a compact disk-read only memory (CD-ROM) optical disk, a rewritable compact disk (CD) optical disk, a digital video disk (DVD) optical disk, a Blu-ray disc (BDD) optical disk, a holographic optical disk, another optical medium, a secure digital (SD) card, a micro secure digital (microSD) card, card, a smart card chip, an EMV chip, a subscriber identity module (SIM) card, a mini / micro / nano / pico SIM card, another integrated circuit (IC) chip / card, a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash EPROM (FLASHEPROM), a cache memory (L1 / L2 / L3 / L4 / L5 / L#), a resistive random access memory (RRAM / ReRAM), a phase change memory (PCM), a spin-transfer torque RAM (STT-RAM), another memory chip or box, and / or a combination thereof.
[0075] Storage device 1230 may include software services, servers, services, etc. that cause the system to perform functions when code defining such software is executed by processor 1210. In some aspects, hardware services that perform a particular function may include software components stored in a computer-readable medium connected to the necessary hardware components (such as processor 1210, connection 1205, output device 1235, etc.) to perform the function.
[0076] As used herein, the term "computer-readable medium" includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other media capable of storing, containing or carrying instructions and / or data. Computer-readable media may include non-transient media in which data may be stored and does not include carrier waves and / or transient electronic signals propagated wirelessly or on a wired connection. Examples of non-transient media may include, but are not limited to, disks or tapes, optical storage media (such as compact discs (CDs) or digital versatile disks (DVDs)), flash memory, memory, or memory devices. Computer-readable media may store thereon code and / or machine-executable instructions, which may represent procedures, functions, subroutines, programs, routines, subroutines, modules, software packages, classes, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by transmitting and / or receiving information, data, independent variables, parameters, or memory contents. Information, independent variables, parameters, data, etc. may be transmitted, forwarded, or sent using any suitable means, including memory sharing, message passing, token passing, network sending, etc.
[0077] In some aspects, computer readable storage devices, media, and memories may include wired or wireless signals containing bit streams, etc. However, when referred to, non-transitory computer readable storage media expressly excludes media such as energy, carrier signals, electromagnetic waves, and signals themselves.
[0078] Specific details are provided in the above description to provide a detailed understanding of the aspects and examples provided herein. However, it will be appreciated by those skilled in the art that these aspects can also be practiced without these specific details. For clarity, in some cases, the present technology may be presented as including separate functional blocks, including functional blocks comprising devices, device components, steps or routines in the method embodied in a combination of software or hardware and software. Additional components other than those components shown in the accompanying drawings and / or described herein may be used. For example, circuits, systems, networks, processes and other components may be shown as components in block diagram form to avoid obscuring these aspects in unnecessary details. In other instances, known circuits, processes, algorithms, structures and techniques may be shown without necessary details to avoid confusing various aspects.
[0079] Individual aspects may be described above as processes or methods, which are depicted as flow charts, flow diagrams, data flow diagrams, structure diagrams, or block diagrams. Although flow charts may describe operations as sequential processes, many operations in an operation may be performed in parallel or simultaneously. In addition, the order of the operations may be rearranged. The process is terminated when the operations of the process are completed, but the process may have additional steps not included in the accompanying drawings. A process may correspond to a method, function, procedure, subroutine, subprogram, etc. When a process corresponds to a function, its termination may correspond to the function returning to a calling function or a main function.
[0080] The processes and methods according to the above examples can be implemented using stored computer executable instructions or otherwise obtained from computer readable media. These instructions may include, for example, instructions and data that configure a general-purpose computer, a special-purpose computer, or a processing device to perform a certain function or group of functions. Parts of the computer resources used can be accessed through a network. Computer executable instructions can be, for example, binary, intermediate format instructions, such as assembly language, firmware, source code, etc. Examples of computer readable media that can be used to store instructions, information used, and / or information created during the methods according to the described examples include disks or optical disks, flash memory, USB devices with non-volatile memory, networked storage devices, etc.
[0081] Devices implementing the processes and methods according to these disclosures may include hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof, and may take any of a variety of form factors. When implemented in software, firmware, middleware, or microcode, program code or code segments (e.g., computer program products) for performing necessary tasks may be stored in a computer-readable or machine-readable medium. The processor may perform the necessary tasks. Typical examples of form factors include laptops, mobile phones (e.g., smart phones or other types of mobile phones), tablet devices or other small form factor personal computers, personal digital assistants, rack-mounted devices, stand-alone devices, etc. The functionality described herein may also be embodied in peripheral devices or add-in cards. By way of further example, such functionality may also be implemented on circuit boards among different chips or different processes executed on a single device.
[0082] Instructions, media for communicating such instructions, computing resources for executing them, and other structures for supporting such computing resources are example means for providing the functionality described in this disclosure.
[0083] In the above description, various aspects of the present application are described with reference to their specific aspects, but those skilled in the art will recognize that the present application is not limited thereto. Thus, although the exemplary aspects of the present application have been described in detail herein, it is to be understood that each inventive concept can be implemented and adopted in various other ways, and the appended claims are not intended to be interpreted as including these variations, unless limited by the prior art. Various features and aspects of the above-mentioned applications can be used individually or in combination. In addition, various aspects can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of this specification. Therefore, the description and the accompanying drawings should be considered as illustrative rather than restrictive. For the purpose of illustration, each method is described in a specific order. It should be appreciated that in alternative aspects, each method can be performed in a different order than described.
[0084] Where a component is described as being “configured to” perform certain operations, such configuration may be achieved, for example, by designing electronic circuits or other hardware to perform the operations, by programming programmable electronic circuits (e.g., a microprocessor or other suitable electronic circuits) to perform the operations, or any combination thereof.
[0085] The phrase "coupled to" means that any component is directly or indirectly physically connected to another component, and / or any component is directly or indirectly in communication with another component (e.g., connected to another component via a wired or wireless connection and / or other suitable communication interface).
[0086] Claim language or other language stating "at least one of" a set and / or "one or more of" a set indicates that one member of the set or multiple members of the set (in any combination) satisfies the claim. For example, claim language stating "at least one of A and B" or "at least one of A or B" means A, B, or A and B. In another example, claim language stating "at least one of A, B, and C" or "at least one of A, B, or C" means A, B, C, or A and B, or A and C, or B and C, or A and B and C. The language "at least one of" a set and / or "one or more of" a set does not limit the set to the items listed in the set. For example, claim language stating "at least one of A and B" or "at least one of A or B" may mean A, B, or A and B, and may additionally include items not listed in the set of A and B.
[0087] The various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the aspects disclosed herein may be implemented as electronic hardware, computer software, firmware, or a combination thereof. In order to clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been generally described in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the entire system. The technician may implement the described functionality in different ways for each specific application, but such specific implementation decisions should not be interpreted as departing from the scope of the present application.
[0088] The technology described herein can also be implemented in electronic hardware, computer software, firmware or any combination thereof. Such technology can be implemented in any of a variety of devices, such as general-purpose computers, wireless communication device mobile phones, or integrated circuit devices with multiple uses, including applications in wireless communication device handheld devices and other devices. Any features described as modules or components can be implemented together in an integrated logic device or separately implemented as discrete but interoperable logic devices. If implemented in software, these technologies can be implemented at least in part by a computer-readable data storage medium including program codes, which include instructions that execute one or more of the above methods when executed. Computer-readable data storage media can form part of a computer program product, which may include packaging materials. Computer-readable media may include memory or data storage media, such as random access memory (RAM) (such as synchronous dynamic random access memory (SDRAM)), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), FLASH memory, magnetic or optical data storage media, etc. Additionally or alternatively, the techniques may be implemented at least in part by a computer-readable communication medium that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and / or executed by a computer, such as a propagated signal or wave.
[0089] The program code may be executed by a processor, which may include one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Such a processor may be configured to perform any of the techniques described in the present disclosure. A general-purpose processor may be a microprocessor; however, in an alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration. Therefore, the term "processor" as used herein may refer to any of the foregoing structures, any combination of the foregoing structures, or any other structure or device suitable for implementing the techniques described herein.
[0090] Example aspects
[0091] Illustrative aspects of the present disclosure include:
[0092] Aspect 1: A device for wireless communication, the device comprising: a memory; and one or more processors coupled to the memory, the one or more processors being configured to: select an AP from a plurality of candidate access points (APs) based on a plurality of factors associated with each of the candidate APs, the plurality of factors comprising at least a congestion factor and a security factor, wherein a weight associated with the security factor for selecting the AP is greater than a weight associated with the congestion factor; and connect to a network via the AP based on the selection.
[0093] Aspect 2: An apparatus according to Aspect 1, wherein, in order to select the AP, the one or more processors are configured to: perform a weighted sum of the scores associated with each of the multiple factors for each of the multiple candidate APs to generate a total score for each of the multiple candidate APs; and select the AP from the multiple candidate APs based on the total score of the AP being the highest score among the multiple candidate APs.
[0094] Aspect 3: An apparatus according to any one of Aspects 1 to 2, wherein, in order to select the AP, the one or more processors are configured to: assign scores to the congestion factors, wherein the maximum value of the scores to be assigned to the congestion factors is equal to a reference score multiplied by the weight associated with the congestion factor; assign scores to the security factors, wherein the maximum value of the scores to be assigned to the security factors is equal to a reference score multiplied by the weight associated with the security factors; and select the AP based on a total score, wherein the total score includes the sum of the score assigned to the congestion factor and the score assigned to the security factor.
[0095] Aspect 4: The apparatus according to any one of aspects 1 to 3, wherein the security factor comprises a factor associated with whether a Simultaneous Authentication of Equivalents (SAE) Public Key (SAE-PK) protocol is enabled.
[0096] Aspect 5: An apparatus according to any one of Aspect 4, wherein the one or more processors are further configured to receive an indication from a security management component of the apparatus that the AP supports the SAE-PK protocol, wherein the one or more processors are configured to select the AP based on the indication.
[0097] Aspect 6: The apparatus of any one of Aspect 5, wherein the security management component comprises a supplicant in a hardware abstraction layer of the apparatus.
[0098] Aspect 7: The apparatus according to any one of aspects 1 to 6, wherein the one or more processors are configured to scan a medium for the plurality of candidate APs.
[0099] Aspect 8: A device for wireless communication, the device comprising: a memory; and one or more processors coupled to the memory, the one or more processors being configured to: receive an indication of an access point (AP) from a security management component of the device; determine whether a security protocol is enabled for the AP; if the security protocol is enabled for the AP, select the AP for connection to a network; and connect to the network via the AP based on the selection.
[0100] Aspect 9: The apparatus of aspect 8, wherein the security protocol comprises a Simultaneous Authentication of Equivalents (SAE) Public Key (SAE-PK) protocol.
[0101] Aspect 10: An apparatus according to any one of Aspects 8 to 9, wherein: the AP is one of a plurality of candidate APs; and based on determining that the AP indicated by the security management component is not SAE-PK enabled, the one or more processors are further configured to select one of the plurality of candidate APs for the connection to the network based on factors associated with each of the plurality of candidate APs.
[0102] Aspect 11: The apparatus of any one of Aspects 8 to 10, wherein the security management component comprises a request to a hardware abstraction layer of the apparatus.
[0103] Aspect 12: The apparatus of any one of aspects 8 to 11, wherein the one or more processors are configured to select the AP via a driver of the apparatus.
[0104] Aspect 13: An apparatus according to any one of Aspects 8 to 12, wherein the one or more processors are configured to: receive a request to perform an AP scan from the security management component; in response to the request, scan a medium to find multiple candidate APs; and provide an indication of the multiple candidate APs to the security management component, wherein the AP is one of the multiple candidate APs.
[0105] Aspect 14: A method for wireless communication, the method comprising: selecting an AP from a plurality of candidate access points (APs) based on a plurality of factors associated with each of the candidate APs, the plurality of factors comprising at least a congestion factor and a security factor, wherein a weight associated with the security factor for selecting the AP is greater than a weight associated with the congestion factor; and connecting to a network via the AP based on the selection.
[0106] Aspect 15: A method according to Aspect 14, wherein selecting the AP includes: performing a weighted sum of the scores associated with each of the multiple factors for each candidate AP among the multiple candidate APs to generate a total score for each candidate AP among the multiple candidate APs; and selecting the AP from the multiple candidate APs based on the total score of the AP being the highest score among the multiple candidate APs.
[0107] Aspect 16: A method according to any one of Aspects 14 to 15, wherein selecting the AP comprises: assigning scores to the congestion factors, wherein the maximum value of the scores to be assigned to the congestion factors is equal to a reference score multiplied by the weight associated with the congestion factor; assigning scores to the safety factors, wherein the maximum value of the scores to be assigned to the safety factors is equal to a reference score multiplied by the weight associated with the safety factors; and selecting the AP based on a total score, wherein the total score comprises the sum of the score assigned to the congestion factor and the score assigned to the safety factor.
[0108] Aspect 17: The method according to any one of aspects 14 to 16, wherein the security factor comprises a factor associated with whether a Simultaneous Authentication of Equivalents (SAE) Public Key (SAE-PK) protocol is enabled.
[0109] Aspect 18: The method according to any one of Aspect 17, the method further comprising receiving an indication from a security management component of the device that the AP supports the SAE-PK protocol, wherein the AP is selected based on the indication.
[0110] Aspect 19: The method according to any of Aspect 18, wherein the security management component comprises a supplicant in a hardware abstraction layer of the device.
[0111] Aspect 20: The method according to any one of aspects 14 to 19, further comprising scanning a medium to find the plurality of candidate APs.
[0112] Aspect 21: A method for wireless communication, the method comprising: receiving an indication of an access point (AP) from a security management component of a device; determining whether the AP has a security protocol enabled; if the AP has the security protocol enabled, selecting the AP for connection to a network; and connecting to the network via the AP based on the selection.
[0113] Aspect 22: The method according to aspect 21, wherein the security protocol comprises a Simultaneous Authentication of Peers (SAE) Public Key (SAE-PK) protocol.
[0114] Aspect 23: A method according to any one of Aspects 21 to 22, wherein: the AP is one of multiple candidate APs; and the method further includes: based on determining that the AP indicated by the security management component is not SAE-PK enabled, selecting one of the multiple candidate APs for the connection to the network based on factors associated with each of the multiple candidate APs.
[0115] Aspect 24: The method according to any one of aspects 21 to 23, wherein the security management component includes a request to a hardware abstraction layer of the device.
[0116] Aspect 25: The method according to any one of aspects 21 to 24, wherein the AP is selected via a driver of the device.
[0117] Aspect 26: According to the method described in any one of Aspects 21 to 25, the method further includes: receiving a request to perform an AP scan from the security management component; in response to the request, scanning the medium to find multiple candidate APs; and providing an indication of the multiple candidate APs to the security management component, wherein the AP is one of the multiple candidate APs.
[0118] Aspect 27. A non-transitory computer-readable medium having instructions stored thereon, which, when executed by one or more processors, cause the one or more processors to perform the operations according to any one of Aspects 1 to 26.
[0119] Aspect 28: An apparatus for image processing, the apparatus comprising one or more components for performing the operation according to any one of Aspects 1 to 26.
Claims
1. A device for wireless communication, the device comprising: Memory; and one or more processors coupled to the memory, the one or more processors configured to: selecting an AP from a plurality of candidate access points (APs) based on a plurality of factors associated with each of the APs, the plurality of factors including at least a congestion factor and a security factor, wherein a weight associated with the security factor for selecting the AP is greater than a weight associated with the congestion factor; and Connecting to a network via the AP based on the selection.
2. The device according to claim 1, wherein: To select the AP, the one or more processors are configured to: performing a weighted summation of the scores associated with each of the plurality of factors for each of the plurality of candidate APs to generate an overall score for each of the plurality of candidate APs; as well as The AP is selected from the plurality of candidate APs based on the total score of the AP being a highest score among the plurality of candidate APs.
3. The device according to any one of claims 1 to 2, wherein: To select the AP, the one or more processors are configured to: assigning scores to the congestion factors, wherein a maximum value of the scores to be assigned to the congestion factors is equal to a reference score multiplied by the weight associated with the congestion factor; assigning scores to the safety factors, wherein a maximum value of the scores to be assigned to the safety factors is equal to a reference score multiplied by the weight associated with the safety factor; as well as The AP is selected based on a total score comprising a sum of the score assigned to the congestion factor and the score assigned to the safety factor.
4. The apparatus of any one of claims 1 to 3, wherein the security factor comprises a factor associated with whether a Simultaneous Authentication of Equivalents (SAE) Public Key (SAE-PK) protocol is enabled.
5. The apparatus of claim 4, wherein the one or more processors are further configured to receive an indication from a security management component of the apparatus that the AP supports the SAE-PK protocol, wherein the one or more processors are configured to select the AP based on the indication.
6. The device of claim 5, wherein the security management component comprises a supplicant in a hardware abstraction layer of the device.
7. The apparatus of any one of claims 1 to 6, wherein the one or more processors are configured to scan a medium for the plurality of candidate APs.
8. An apparatus for wireless communication, the apparatus comprising: Memory; and one or more processors coupled to the memory, the one or more processors configured to: receiving an indication of an access point (AP) from a security management component of the device; Determining whether the AP has a security protocol enabled; If the security protocol is enabled by the AP, selecting the AP for connection to the network; as well as Connecting to the network via the AP based on the selection.
9. The apparatus of claim 8, wherein the security protocol comprises a Simultaneous Authentication of Equivalents (SAE) Public Key (SAE-PK) protocol.
10. The device according to any one of claims 8 to 9, wherein: The AP is one of a plurality of candidate APs; and Based on determining that the AP indicated by the security management component is not SAE-PK enabled, the one or more processors are further configured to select one of the plurality of candidate APs for the connection to the network based on factors associated with each of the plurality of candidate APs.
11. The apparatus of any one of claims 8 to 10, wherein the security management component comprises a request to a hardware abstraction layer of the apparatus.
12. The apparatus of any one of claims 8 to 11, wherein the one or more processors are configured to select the AP via a driver of the apparatus.
13. The apparatus according to any one of claims 8 to 12, wherein the one or more processors are configured to: receiving a request to perform an AP scan from the security management component; In response to the request, scanning a medium to find a plurality of candidate APs; as well as An indication of the plurality of candidate APs is provided to the security management component, wherein the AP is a candidate AP of the plurality of candidate APs.
14. A method for wireless communication, the method comprising: selecting an AP from a plurality of candidate access points (APs) based on a plurality of factors associated with each of the APs, the plurality of factors including at least a congestion factor and a security factor, wherein a weight associated with the security factor for selecting the AP is greater than a weight associated with the congestion factor; and Connecting to a network via the AP based on the selection.
15. The method of claim 14, wherein selecting the AP comprises: performing a weighted summation of the scores associated with each of the plurality of factors for each of the plurality of candidate APs to generate an overall score for each of the plurality of candidate APs; as well as The AP is selected from the plurality of candidate APs based on the total score of the AP being a highest score among the plurality of candidate APs.
16. The method according to any one of claims 14 to 15, wherein selecting the AP comprises: assigning scores to the congestion factors, wherein a maximum value of the scores to be assigned to the congestion factors is equal to a reference score multiplied by the weight associated with the congestion factor; assigning scores to the safety factors, wherein a maximum value of the scores to be assigned to the safety factors is equal to a reference score multiplied by the weight associated with the safety factor; as well as The AP is selected based on a total score comprising a sum of the score assigned to the congestion factor and the score assigned to the safety factor.
17. The method of any one of claims 14 to 16, wherein the security factor comprises a factor associated with whether a Simultaneous Authentication of Peers (SAE) Public Key (SAE-PK) protocol is enabled.
18. The method of claim 17, further comprising receiving an indication from a security management component of the device that the AP supports the SAE-PK protocol, wherein the AP is selected based on the indication.
19. The method of claim 18, wherein the security management component comprises a supplicant in a hardware abstraction layer of the device.
20. The method of any one of claims 16 to 19, further comprising scanning a medium to find the plurality of candidate APs.
21. A method for wireless communication, the method comprising: receiving an indication of an access point (AP) from a security management component of the device; Determining whether the AP has a security protocol enabled; If the security protocol is enabled by the AP, selecting the AP for connection to the network; as well as Connecting to the network via the AP based on the selection.
22. The method of claim 21, wherein the security protocol comprises a Simultaneous Authentication of Equivalents (SAE) Public Key (SAE-PK) protocol.
23. A method according to any one of claims 21 to 22, wherein: The AP is one of multiple candidate APs; and The method also includes, based on determining that the AP indicated by the security management component is not SAE-PK enabled, selecting one of the plurality of candidate APs for the connection to the network based on factors associated with each of the plurality of candidate APs.
24. The method of any one of claims 21 to 23, wherein the security management component comprises a request to a hardware abstraction layer of the device.
25. The method of any one of claims 21 to 24, wherein the AP is selected via a driver of the device.
26. The method according to any one of claims 21 to 25, further comprising: receiving a request to perform an AP scan from the security management component; In response to the request, scanning a medium to find a plurality of candidate APs; as well as An indication of the plurality of candidate APs is provided to the security management component, wherein the AP is a candidate AP of the plurality of candidate APs.
