Electronic device for wireless LAN communication, and operating method thereof
By dynamically changing the bandwidth for wireless LAN communication based on the expected processing rate, the electronic device addresses interference and power consumption issues, improving transmission speed and efficiency.
Patent Information
- Application Number
- PCT/KR2024/014337
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-21
- Filing Date
- 2024-09-24
- Publication Date
- 2025-04-03
AI Technical Summary
Wireless LAN systems face challenges with interference and bandwidth usage, particularly when using wider bandwidths, which can lead to reduced transmission speed and increased power consumption.
An electronic device equipped with a communication circuit, processor, and memory that dynamically changes the bandwidth for wireless LAN communication based on the expected processing rate of available bandwidths, allowing for optimal bandwidth selection and minimizing interference.
The dynamic bandwidth adjustment enhances wireless LAN communication by reducing interference, improving transmission speed, and conserving power, particularly when using smaller bandwidths.
Smart Images

Figure KR2024014337_03042025_PF_FP_ABST
Abstract
Description
Electronic device for wireless LAN communication and its operating method
[0001] Embodiments of the present disclosure relate to an electronic device for wireless LAN communication and a method of operating the same.
[0002] A wireless local area network (WLAN) system can support wireless connections of various electronic devices, such as smartphones, tablet personal computers, or notebooks, using a designated frequency band (e.g., approximately 2.4 GHz band, approximately 5 GHz band, and / or approximately 6 GHz band).
[0003] Wireless LAN systems can be installed not only in private spaces like homes, but also in public spaces like airports, train stations, offices, and department stores. Wireless LAN systems are defined by the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard. For example, the IEEE 802.11 standard is continuously evolving, including IEEE 802.11b, IEEE 802.11a, IEEE 802.11g, IEEE 802.11n, IEEE 802.11ac, IEEE 802.11ax, and IEEE 802.11be.
[0004] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above-described matters constitute prior art related to the present disclosure.
[0005] Wireless LAN systems may have different available channels and bandwidths depending on country-specific standards. For example, if a wireless LAN system uses the first standard (e.g., IEEE 802.11n), bandwidths of approximately 20 MHz and approximately 40 MHz may be used. If a wireless LAN system uses the second standard (e.g., IEEE 802.11ac), bandwidths of approximately 20 MHz, approximately 40 MHz, approximately 80 MHz, and approximately 160 MHz may be used. If a wireless LAN system uses the third standard (e.g., IEEE 802.11be), bandwidths of approximately 20 MHz, approximately 40 MHz, approximately 80 MHz, approximately 160 MHz, and approximately 320 MHz may be used.
[0006] When an electronic device uses a relatively wide bandwidth, the probability of being affected by a relatively large amount of interference may increase compared to when it uses a relatively small bandwidth. For example, if a first electronic device uses a channel (e.g., channel 15) with a bandwidth of about 160 MHz in a first frequency band (e.g., about 6 GHz band) for wireless LAN communication within a specific space, and a second electronic device uses a channel (e.g., channel 23) with a bandwidth of about 80 MHz in the first frequency band for wireless LAN communication within a specific space, the first electronic device may have to share its time resources with the second electronic device based on contention due to interference from the second electronic device. If the first electronic device uses a different channel (e.g., channel 7) with a bandwidth of about 80 MHz in the first frequency band for wireless LAN communication within the same space, the first electronic device will not be affected by interference from the second electronic device and can thus use all of the time resources of the corresponding channel. Electronic devices may be able to provide wireless LAN communications at relatively high transmission rates without or with relatively little interference when using a relatively small bandwidth (e.g., about 80 MHz) compared to when using a relatively wide bandwidth (e.g., about 160 MHz) within a specific space.
[0007] Electronic devices that use a relatively wide bandwidth can consume relatively more current than those that use a relatively small bandwidth.
[0008] Embodiments of the present disclosure disclose a device and method for changing a bandwidth for wireless LAN communication in an electronic device.
[0009] The technical problems to be achieved in this document are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field pertaining to the present disclosure from the description below.
[0010] According to one embodiment, an electronic device may include a communication circuit supporting wireless LAN communication, at least one processor operatively connected to the communication circuit, and a memory operatively connected to the at least one processor. According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to perform wireless LAN communication with an external electronic device through a channel of a first bandwidth via the communication circuit. According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to select a second bandwidth based on an expected throughput of each of a plurality of bandwidths supportable for wireless LAN communication with the external electronic device during the wireless LAN communication. According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to transmit, to the external electronic device through the communication circuit, request information related to a change to the second bandwidth when the second bandwidth is different from the first bandwidth. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to change a bandwidth for wireless LAN communication to a second bandwidth when it is determined that a bandwidth change of the external electronic device has been completed based on data received from the external electronic device.
[0011] According to one embodiment, an operating method of an electronic device may include performing wireless LAN communication with an external electronic device through a channel of a first bandwidth. According to one embodiment, the operating method of the electronic device may include selecting a second bandwidth based on an expected throughput of each of a plurality of bandwidths that can be supported for wireless LAN communication with the external electronic device during the wireless LAN communication. According to one embodiment, the operating method of the electronic device may include transmitting, to the external electronic device, request information related to a change to the second bandwidth when the second bandwidth is different from the first bandwidth. According to one embodiment, the operating method of the electronic device may include changing a bandwidth for wireless LAN communication to the second bandwidth when it is determined that a change in the bandwidth of the external electronic device is completed based on data received from the external electronic device.
[0012] According to one embodiment, a non-transitory computer-readable storage medium (or computer program product) storing one or more programs may be described. According to one embodiment, the one or more programs may include instructions that, when executed by a processor of an electronic device, perform wireless LAN communication with an external electronic device through a channel of a first bandwidth, select a second bandwidth based on an expected throughput of each of a plurality of bandwidths supportable for wireless LAN communication with the external electronic device during the wireless LAN communication, transmit request information related to a change to the second bandwidth to the external electronic device when the second bandwidth is different from the first bandwidth, and change the bandwidth for the wireless LAN communication to the second bandwidth when it is determined that the bandwidth change of the external electronic device is completed based on data received from the external electronic device.
[0013] According to an embodiment of the present disclosure, when it is determined that a bandwidth change for wireless LAN communication with an external electronic device has been completed in an electronic device, wireless LAN communication with the external electronic device can be performed (or maintained) by changing the bandwidth for wireless LAN communication of the electronic device.
[0014] According to one embodiment, wireless LAN communication with an external electronic device can be performed (or maintained) by selectively changing a bandwidth for wireless LAN communication of the electronic device based on a list of abnormal devices including at least one external electronic device that is determined to have failed to change the bandwidth in the electronic device.
[0015] In addition, various effects may be provided, either directly or indirectly, through this document.
[0016] The effects that can be obtained from the various embodiments of the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned will be clearly understood by those skilled in the art to which the various embodiments of the present disclosure belong from the description below.
[0017] In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
[0018] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0019] FIG. 2 is a block diagram of an electronic device supporting wireless LAN communication according to one embodiment.
[0020] FIG. 3 is a flowchart for changing bandwidth in an electronic device according to one embodiment.
[0021] FIG. 4A is an example of information related to a change in bandwidth transmitted in an electronic device according to one embodiment.
[0022] FIG. 4b is an example of information related to a change in bandwidth transmitted in an electronic device according to one embodiment.
[0023] FIG. 5 is a flowchart for determining whether to change a bandwidth for wireless LAN communication in an electronic device according to one embodiment.
[0024] FIG. 6 is a flowchart for updating an abnormal list in an electronic device according to one embodiment.
[0025] FIG. 7 is an example for checking a change in bandwidth of an external electronic device in an electronic device according to one embodiment.
[0026] FIG. 8 is an example for checking a change in bandwidth of an external electronic device in an electronic device according to one embodiment.
[0027] FIG. 9 is a flowchart for changing bandwidth based on channel usage in an electronic device according to one embodiment.
[0028] FIG. 10 is a flowchart for changing a bandwidth based on a retransmission rate of data in an electronic device according to one embodiment.
[0029] FIG. 11 is a flowchart for restoring bandwidth in an electronic device according to one embodiment.
[0030] The following various embodiments are described in detail with reference to the attached drawings.
[0031] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to one embodiment. Referring to FIG. 1 , in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0032] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or a secondary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor)) that can operate independently or together therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0033] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of, but is not limited to, a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more thereof. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may also include a software structure.
[0034] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0035] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0036] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0037] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0038] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by a touch.
[0039] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0040] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0041] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0042] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0043] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0044] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0045] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
[0046] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0047] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, Wi-Fi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
[0048] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data throughput. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 1 ms or less for round trip) for URLLC realization.According to one embodiment, the subscriber identification module (196) may include multiple subscriber identification modules. For example, the multiple subscriber identification modules may store different subscriber information.
[0049] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0050] In one embodiment, the antenna module (197) may form a high-frequency (e.g., mmWave) antenna module. In one embodiment, the high-frequency (e.g., mmWave) antenna module may include a printed circuit board, an RFIC positioned on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) positioned on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band. For example, the plurality of antennas may include patch array antennas and / or dipole array antennas.
[0051] At least some of the components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
[0052] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0053] An electronic device according to an embodiment disclosed in this document may take various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. The electronic device according to an embodiment of this document is not limited to the aforementioned devices.
[0054] It should be understood that the embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to a specific embodiment, but rather to encompass various modifications, equivalents, or substitutes of the embodiment. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the item, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0055] The term "module" used in one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0056] An embodiment of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0057] According to one embodiment, the method according to one embodiment disclosed in the present document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM) The computer program product may be distributed online (e.g., by download or upload) directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0058] According to one embodiment, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to one embodiment, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to one embodiment, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0059] FIG. 2 is a block diagram of an electronic device supporting wireless LAN communication according to one embodiment. For example, the electronic device (101) of FIG. 2 may be at least partially similar to the electronic device (101) of FIG. 1, or may include other embodiments of the electronic device.
[0060] According to one embodiment referring to FIG. 2, the electronic device (101) may include at least one of a processor (200), a communication circuit (210), and a memory (220). For example, the processor (200) may be substantially the same as the processor (120) of FIG. 1 or may be included in the processor (120). The communication circuit (210) may be substantially the same as the wireless communication module (192) of FIG. 1 or may be included in the wireless communication module (192). The memory (220) may be substantially the same as the memory (130) of FIG. 1 or may be included in the memory (130). For example, the processor (200) may include at least one of an application processor or a communication processor. For example, the processor (200) may be operatively, functionally, and / or electrically connected to at least one of the communication circuit (210) or the memory (220). For example, the processor (200) may include at least one processor including a processing circuit.
[0061] According to one embodiment, the processor (200) may control the communication circuit (210) to connect with an external electronic device (e.g., an access point (AP)) based on a wireless LAN communication method. For example, the processor (200) may control the communication circuit (210) to connect to the external electronic device based on a wireless LAN communication method. For example, when the processor (200) is connected to an external electronic device, the processor (200) may control the communication circuit (210) to perform wireless LAN communication with the external electronic device through a channel of a first bandwidth (or a first frequency bandwidth) allocated from the external electronic device. For example, the wireless LAN communication with the external electronic device may include a series of operations in which the electronic device (101) and the external electronic device perform at least one of transmitting or receiving data.
[0062] According to one embodiment, the processor (200) may determine whether the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101). For example, when the processor (200) is connected to the external electronic device or performs wireless LAN communication with the external electronic device, the processor (200) may determine whether the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101). For example, when information (or identification information) related to the external electronic device is included in a list of abnormal devices, the processor (200) may determine that the external electronic device cannot change the bandwidth for wireless LAN communication. For example, when information (or identification information) related to the external electronic device is not included in the list of abnormal devices, the processor (200) may determine that the external electronic device can change the bandwidth for wireless LAN communication. For example, the information related to the external electronic device may include at least one of a basic service set identifier (BSSID) or a media access control (MAC) address. For example, the list of abnormal devices may be stored in memory (220) or on an external server, including at least one external electronic device that has failed to change the bandwidth associated with wireless LAN communication or has limited bandwidth change.
[0063] According to one embodiment, the processor (200) may select an optimal second bandwidth based on the amount of traffic during wireless LAN communication with an external electronic device. For example, if the processor (200) determines that the external electronic device can change the bandwidth for wireless LAN communication, the processor (200) may check the expected throughput of each of the bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device. The processor (200) may select an optimal second bandwidth for wireless LAN communication with the external electronic device based on the expected throughput of each of the bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device and the amount of traffic for wireless LAN communication with the external electronic device. For example, the amount of traffic may include the size of data transmitted and / or received by the electronic device (101) and the external electronic device via wireless LAN communication during a specified first period of time (e.g., a unit of time). For example, the specified first period of time may include a reference time for calculating the amount of traffic for wireless LAN communication of the electronic device (101) and the external electronic device. For example, the second bandwidth may include a bandwidth having a smallest expected throughput rate among bandwidths having an expected throughput rate greater than or equal to a reference throughput rate set based on the amount of traffic among bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device. For example, the reference throughput rate may include the sum of the amount of traffic and a margin of a specified size. For example, the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device may include bandwidths supported by the external electronic device and the electronic device (101).
[0064] For example, the processor (200) may determine whether wireless LAN communication with the external electronic device is possible through a channel of the first bandwidth based on a retransmission rate of data during wireless LAN communication with the external electronic device. If the processor (200) determines that wireless LAN communication with the external electronic device is impossible through the channel of the first bandwidth, the processor (200) may select an optimal second bandwidth based on at least one of a traffic volume or a channel utilization rate. For example, a state in which wireless LAN communication with the external electronic device through the channel of the first bandwidth is impossible may include a state in which a retransmission rate of data through wireless LAN communication with the external electronic device exceeds a specified reference retransmission rate for a specified second time period in a weak electric field state. For example, a state in which wireless LAN communication with the external electronic device through the channel of the first bandwidth is impossible may include a state in which a retransmission rate of data through wireless LAN communication with the external electronic device exceeds a specified reference retransmission rate for a specified second time period in a weak electric field state. For example, a weak electric field state may indicate a state in which the electric field strength (e.g., received signal strength indication (RSSI)) for wireless LAN communication with the electronic device (101) and an external electronic device is lower than a designated reference electric field strength. For example, the designated second time may include a reference time set to determine whether wireless LAN communication is possible through the first bandwidth.
[0065] According to one embodiment, when the processor (200) does not perform wireless LAN communication while connected to an external electronic device, the processor (200) may select an optimal second bandwidth based on channel utilization. For example, when the processor (200) does not perform wireless LAN communication while connected to an external electronic device, the processor (200) may check the expected throughput of each of the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device based on the channel utilization. The processor (200) may check whether there is a bandwidth in which an inversion of the expected throughput occurs based on the expected throughput of each of the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device. For example, an inversion of the expected throughput may include a state in which an expected throughput of a relatively wide bandwidth is lower than an expected throughput of a relatively narrow bandwidth. For example, the channel utilization may be checked periodically while connected to an external electronic device or checked through a scan for wireless LAN communication.
[0066] For example, if there is at least one bandwidth in which an inversion of the expected throughput occurs, the processor (200) may select an optimal second bandwidth based on the remaining bandwidths excluding at least one bandwidth in which an inversion of the expected throughput occurs among the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device.
[0067] According to one embodiment, the processor (200) may determine whether to change the bandwidth for wireless LAN communication with the external electronic device based on the optimal second bandwidth for wireless LAN communication with the external electronic device. For example, if the first bandwidth being used for wireless LAN communication with the external electronic device and the optimal second bandwidth for wireless LAN communication with the external electronic device are different, the processor (200) may determine to change the bandwidth for wireless LAN communication. For example, if the first bandwidth being used for wireless LAN communication with the external electronic device and the optimal second bandwidth for wireless LAN communication with the external electronic device are the same, the processor (200) may determine not to change the bandwidth for wireless LAN communication.
[0068] According to one embodiment, when the processor (200) determines that the bandwidth for wireless LAN communication is to be changed, the processor (200) may control the communication circuit (210) to transmit information related to the change in bandwidth to an external electronic device. For example, the information related to the change in bandwidth may include information related to a second bandwidth. For example, the information related to the change in bandwidth may be transmitted to the external electronic device via an operating mode notification (OMN) protocol or an operating mode indication (OMI) protocol. For example, the information related to the change in bandwidth may be transmitted to the external electronic device via a channel of the first bandwidth.
[0069] According to one embodiment, the processor (200) can check whether the bandwidth for wireless LAN communication with the electronic device (101) has been changed from the external electronic device. For example, the processor (200) can check the bandwidth of data (or frames) received from the external electronic device for a specified third period of time from the time of receiving a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. For example, if the second bandwidth is smaller than the first bandwidth, the processor (200) can check the bandwidth of data (or frames) received from the external electronic device while maintaining the first bandwidth for the specified third period of time. For example, if the second bandwidth is larger than the first bandwidth, the processor (200) can check the bandwidth of data (or frames) received from the external electronic device while changing to the second bandwidth for the specified third period of time. For example, the designated third time may include a reference time set to monitor the bandwidth of data received from the external electronic device to determine whether the bandwidth for wireless LAN communication with the electronic device (101) has been changed.
[0070] For example, if the processor (200) receives data (or frames) of the second bandwidth consecutively more than a specified number of times within a specified third time period, it may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the processor (200) does not receive data (or frames) of the second bandwidth consecutively more than a specified number of times within a specified third time period, it may determine that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101).
[0071] For example, the processor (200) may control the communication circuit (210) to transmit data (or a frame) capable of causing a response from the external electronic device to the external electronic device based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. The processor (200) may check the bandwidth of the response signal received from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while maintaining the first bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while changing the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth. For example, data (or frames) that may trigger a response from an external electronic device may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame.
[0072] For example, if the bandwidth of the response signal received from the external electronic device is the second bandwidth, the processor (200) may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the bandwidth of the response signal received from the external electronic device is not the second bandwidth, the processor (200) may determine that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101).
[0073] For example, if the processor (200) determines that it is not possible to monitor the bandwidth of data received from an external electronic device and determine whether the bandwidth of the external electronic device has changed, the processor (200) may control the communication circuit (210) to transmit data capable of causing a response from the external electronic device to the external electronic device. The processor (200) may determine whether the bandwidth for wireless LAN communication with the electronic device (101) has been changed from the external electronic device based on the bandwidth of the response signal received from the external electronic device.
[0074] For example, if the processor (200) determines that it is not possible to determine whether the bandwidth of the external electronic device has changed based on the bandwidth of a response signal corresponding to data that can cause a response from the external electronic device, the processor (200) may monitor the bandwidth of data received from the external electronic device for a specified third period of time. The processor (200) may determine whether the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101) based on the bandwidth of data received from the external electronic device for the specified third period of time.
[0075] According to one embodiment, when it is determined that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101), the processor (200) may control the communication circuit (210) to perform wireless LAN communication with the external electronic device through a second bandwidth. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may control the communication circuit (210) to change the bandwidth for wireless LAN communication with the external electronic device from the first bandwidth to the second bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may control the communication circuit (210) to maintain the changed second bandwidth in order to confirm the bandwidth change in the external electronic device. For example, wireless LAN communication with the external electronic device through the second bandwidth may be performed based on a channel of the second bandwidth set based on a channel of the first bandwidth allocated from the external electronic device when connecting to the external electronic device.
[0076] According to one embodiment, when the bandwidth is changed during wireless LAN communication with an external electronic device, the processor (200) may control the communication circuit (210) to restore the bandwidth for wireless LAN communication with the external electronic device to the first bandwidth based on termination of the wireless LAN communication with the external electronic device.
[0077] According to one embodiment, when the bandwidth is changed during wireless LAN communication with an external electronic device, the processor (200) can check the retransmission rate of data for wireless LAN communication with the external electronic device. For example, when it is determined that the retransmission rate of data has improved based on the change in bandwidth, the processor (200) can control the communication circuit (210) to maintain the changed bandwidth. For example, an improved state of the data retransmission rate may include a state in which the retransmission rate of data after the bandwidth change is lower than the retransmission rate of data before the bandwidth change. For example, a state in which the retransmission rate of data is lower than the retransmission rate of data before the bandwidth change by a reference value or more.
[0078] For example, if it is determined that the retransmission rate of data is not improved based on a change in bandwidth, the processor (200) may control the communication circuit (210) to restore the bandwidth for wireless LAN communication with the external electronic device to the first bandwidth. For example, a state in which the retransmission rate of data is not improved may include a state in which the retransmission rate of data after the bandwidth change is the same as the retransmission rate of data before the bandwidth change or is higher than the retransmission rate of data before the bandwidth change, or a state in which the retransmission rate of data after the bandwidth change is not lowered by a reference value or more than the retransmission rate of data before the bandwidth change.
[0079] According to one embodiment, if the processor (200) determines that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101), the processor (200) may update the abnormal device list based on information related to the external electronic device. For example, updating the abnormal device list may include a series of operations for adding information related to the external electronic device to the abnormal device list.
[0080] According to one embodiment, the communication circuit (210) can support wireless LAN communication between the electronic device (101) and an external electronic device (e.g., the electronic device (104) or server (108) of FIG. 1).
[0081] According to one embodiment, the memory (220) may store various data used by at least one component (e.g., the processor (200) or the communication circuit (210)) of the electronic device (101). For example, the memory (220) may store various instructions that may be individually or collectively executed by the processor (200).
[0082] According to one embodiment, the electronic device (101) may perform re-association to change the bandwidth for wireless LAN communication with an external electronic device. For example, if the electronic device (101) does not support the OMN protocol and the OMI protocol, the bandwidth for wireless LAN communication may be changed through a re-association procedure with the external electronic device.
[0083] According to one embodiment, the electronic device (101) can selectively change the bandwidth for wireless LAN communication with an external electronic device. For example, if the processor (200) determines that the user prefers a relatively long usage time of the electronic device (101) based on at least one of the user's usage pattern for the electronic device (101) or information related to the user, the processor (200) may determine to change the bandwidth for wireless LAN communication with the external electronic device. For example, if the remaining battery capacity of the electronic device (101) is below a specified reference remaining capacity, the processor (200) may determine to change the bandwidth for wireless LAN communication with the external electronic device. For example, if the processor (200) determines to change the bandwidth for wireless LAN communication with the external electronic device, the processor (200) may change the bandwidth for wireless LAN communication with the external electronic device based on at least one of the traffic volume or the channel utilization rate.
[0084] According to one embodiment, an electronic device (e.g., an electronic device (101) of FIG. 1 or 2) may include a communication circuit (e.g., a wireless communication module (192) of FIG. 1 or a communication circuit (210) of FIG. 2)) that supports wireless LAN communication, at least one processor (e.g., a processor (120) of FIG. 1 or a processor (200) of FIG. 2)) operatively connected to the communication circuit, and a memory (e.g., a memory (130) of FIG. 1 or a memory (220) of FIG. 2) operatively connected to the at least one processor. According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to perform wireless LAN communication through a channel of a first bandwidth with an external electronic device (e.g., an external electronic device (700) of FIG. 7 or 8) through the communication circuit. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to select a second bandwidth based on an expected throughput of each of a plurality of bandwidths that can be supported for wireless LAN communication with an external electronic device during wireless LAN communication. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to transmit, to the external electronic device via a communication circuit, request information related to a change to the second bandwidth if the second bandwidth is different from the first bandwidth. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to change a bandwidth for wireless LAN communication to the second bandwidth if it is determined that a bandwidth change of the external electronic device is completed based on data received from the external electronic device.
[0085] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to select a second bandwidth if information related to the external electronic device is not included in a list of abnormal devices.
[0086] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to determine that changes in bandwidth of the external electronic device are limited if information related to the external electronic device is included in a list of abnormal devices.
[0087] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to update a list of abnormal devices based on information related to the external electronic device when it is determined that a bandwidth change of the external electronic device has not completed.
[0088] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to check the bandwidth of data received from the external electronic device after transmitting request information related to a change to a second bandwidth. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to determine that the bandwidth change of the external electronic device is complete when a specified number or more of data corresponding to the second bandwidth are continuously received during a specified period of time.
[0089] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to, if the second bandwidth is greater than the first bandwidth, transmit request information related to a change to the second bandwidth, and then change to the second bandwidth and determine a bandwidth of data received from the external electronic device based on the second bandwidth. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to, if the second bandwidth is less than the first bandwidth, transmit request information related to a change to the second bandwidth, and then determine a bandwidth of data received from the external electronic device based on the first bandwidth.
[0090] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to transmit request information related to a change to a second bandwidth, and then transmit a designated request signal to an external electronic device. According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to determine whether a bandwidth change of the external electronic device has been completed based on a bandwidth of the response signal when a response signal corresponding to the designated request signal is received from the external electronic device.
[0091] According to one embodiment, the specified request signal may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame.
[0092] According to one embodiment, the memory may store instructions that, when executed by at least one processor, cause the electronic device to restore a frequency bandwidth for wireless LAN communication to the first frequency bandwidth when wireless LAN communication with an external electronic device is terminated.
[0093] FIG. 3 is a flowchart (300) for changing a bandwidth in an electronic device according to one embodiment. In the following embodiments, the operations may be performed sequentially, but are not necessarily performed sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel. For example, the electronic device of FIG. 3 may be the electronic device (101) of FIG. 1 or FIG. 2. For example, at least a portion of FIG. 3 may be described with reference to FIGS. 4A and 4B. FIG. 4A is an example of information related to changing a bandwidth transmitted in an electronic device according to one embodiment. FIG. 4B is an example of information related to changing a bandwidth transmitted in an electronic device according to one embodiment.
[0094] According to one embodiment referring to FIGS. 3, 4A, and 4B, an electronic device (e.g., the electronic device (101) of FIG. 1 or 2) or a processor (e.g., the processor (120) of FIG. 1 or the processor (200) of FIG. 2) may perform wireless LAN communication with an external electronic device (e.g., an access point (AP)) in operation 301. For example, the processor (200) may control the communication circuit (210) to connect to the external electronic device based on a wireless LAN communication method. When the processor (200) is connected to the external electronic device, the processor (200) may control the communication circuit (210) to perform wireless LAN communication with the external electronic device through a channel of a first bandwidth (or a first frequency bandwidth) allocated from the external electronic device. For example, the wireless LAN communication with the external electronic device may include a series of operations in which the electronic device (101) and the external electronic device perform at least one of transmitting or receiving data.
[0095] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 303, check the expected throughput of each of the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device. For example, when wireless LAN communication with the external electronic device is connected, the processor (200) may periodically check the expected throughput of each of the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device based on a specified period (e.g., about 3 seconds). For example, the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device may include bandwidths supported by the external electronic device and the electronic device (101). For example, the electronic device (101) may check the bandwidths supported by the external electronic device based on capability information of the external electronic device obtained from the external electronic device when connected to the external electronic device.
[0096] According to one embodiment, when the electronic device (101) performs wireless LAN communication with an external electronic device, the processor (200) can check the expected throughput of each of the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device based on mathematical expression 1.
[0097]
[0098] For example, EstimatedThroughput BW can represent the expected throughput at a given bandwidth. AirtimeFraction BW is the ratio of time that an electronic device (101) can occupy in a specific bandwidth, and can be determined (or calculated) based on mathematical expression 2 or mathematical expression 3. DataRate BW is the data rate at a specific bandwidth, which can be determined (or calculated) based on mathematical expression 4.
[0099] For example, the processor (200) calculates the ratio of time that an electronic device (101) can occupy in a specific bandwidth based on the channel congestion of all sub-channels included in the bandwidth, as in mathematical expression 2 (AirtimeFraction BW ) can be confirmed.
[0100]
[0101] For example, CCAbusy i can represent the time when energy above a reference value is detected in the i-th subchannel. N can represent the maximum number of subchannels included in a specific bandwidth. RadioOnTime i is CCAbusy in the i-th subchannel i can represent a time interval over which to measure. For example, a subchannel may include a subchannel with a bandwidth of about 20 MHz.
[0102] For example, the processor (200) calculates the ratio of time that an electronic device (101) can occupy in a specific bandwidth based on the channel congestion of the reference sub-channel of the bandwidth, as in mathematical expression 3 (AirtimeFraction BW ) can be confirmed.
[0103]
[0104] For example, CCAbusy may represent the time period during which energy above a reference value is detected in a reference subchannel. N may represent the maximum number of subchannels included in a specific bandwidth. RadioOnTime may represent the time period during which CCAbusy is measured in the reference subchannel. For example, the reference subchannel may include a subchannel (e.g., a primary channel) used to transmit a beacon from an external electronic device. For example, CCABusy / RadioOnTime may represent the percentage of a specific channel occupied by other electronic devices (e.g., channel utilization). can indicate the probability that a particular channel is not crowded.
[0105] For example, the processor (200) may determine the percentage of time that an electronic device (101) can occupy in a specific bandwidth based on channel utilization received from an external electronic device (AirtimeFraction BW ) can also be checked.
[0106]
[0107] For example, SNR can represent the signal-to-noise ratio in a specific bandwidth. MaxBitsPerSc is the maximum number of bits that can be transmitted on each subcarrier, which can be set based on the modulation and coding scheme (MCS) level. NSS can represent the number of spatial streams. N tone is the number of subcarriers included in a specific bandwidth, and can be set to different values depending on the bandwidth. DSYMDUR can represent a symbol interval.
[0108] According to one embodiment, when an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) performs wireless LAN communication based on a time division duplexing (TDD) method, since the communication quality (e.g., SNR) of a downlink is similar to the communication quality of an uplink, the electronic device (101) can check (or estimate) the expected throughput of each bandwidth available for wireless LAN communication with an external electronic device for a downlink (DL) in which the electronic device receives data from the external electronic device based on Equations 1 to 4. For example, the expected throughput of the bandwidth can be calculated based on the data rate of the downlink, as in Equation 1.
[0109] According to one embodiment, when an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that throughputs of a downlink and an uplink (UL) are different, the electronic device (101) can check (or estimate) an expected throughput of a downlink for receiving data from an external electronic device and an expected throughput of an uplink for transmitting data to the external electronic device for each bandwidth available for wireless LAN communication with the external electronic device. The electronic device (e.g., electronic device (101)) or the processor (e.g., processor (120 or 200)) can check (or estimate) an expected throughput of each bandwidth used to select an optimal second bandwidth for wireless LAN communication with the external electronic device based on the expected throughput of the downlink and the expected throughput of the uplink.
[0110] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may select an optimal second bandwidth for wireless LAN communication with an external electronic device based on an expected throughput of each of bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device and a traffic amount for wireless LAN communication with the external electronic device, in operation 305. For example, the processor (200) may select the second bandwidth for wireless LAN communication with the external electronic device based on Equation 5. As an example, the traffic amount may include a size of data transmitted and / or received by the electronic device (101) and the external electronic device via wireless LAN communication during a specified first time period (e.g., a unit time period). As an example, the specified first time period may include a reference time for calculating a traffic amount of wireless LAN communication of the electronic device (101) and the external electronic device.
[0111]
[0112] For example, the bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device may include about 20 MHz, about 40 MHz, and about 80 MHz. For example, the expected throughput of a bandwidth of about 20 MHz may be about 100 Mbps, the expected throughput of a bandwidth of about 40 MHz may be about 200 Mbps, and the expected throughput of a bandwidth of about 80 MHz may be about 400 Mbps. When the traffic amount (Traffirate) is 20 Mbps and the margin (Margin) is 100 Mbps, the processor (200) may select a bandwidth of about 40 MHz, which is the smallest bandwidth that is greater than the reference throughput (e.g., about 120 Mbps) set by the sum of the traffic amount and the margin, as the second bandwidth.
[0113] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may determine, in operation 307, whether to change a bandwidth for wireless LAN communication with an external electronic device based on an optimal second bandwidth for wireless LAN communication with the external electronic device. For example, if a first bandwidth being used for wireless LAN communication with the external electronic device and an optimal second bandwidth for wireless LAN communication with the external electronic device are different, the processor (200) may determine to change the bandwidth for wireless LAN communication. For example, if a first bandwidth being used for wireless LAN communication with the external electronic device and an optimal second bandwidth for wireless LAN communication with the external electronic device are the same, the processor (200) may determine not to change the bandwidth for wireless LAN communication.
[0114] In one embodiment, if an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines not to change the bandwidth for wireless LAN communication (e.g., 'No' in operation 307), the embodiment for changing the bandwidth may be terminated.
[0115] According to one embodiment, when an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that a bandwidth for wireless LAN communication is to be changed (e.g., 'Yes' in operation 307), in operation 309, the processor (200) may transmit information related to the change in bandwidth to an external electronic device. For example, when the processor (200) supports an OMN (operating mode notification) protocol, the processor (200) may control the communication circuit (210) to set a channel width field (404) included in an 'operating mode' field (402) of a frame (400) including an OMN element such as FIG. 4A to a value corresponding to a second bandwidth and transmit the same to the external electronic device. For example, when the processor (200) supports the OMI (operating mode indication) protocol, the communication circuit (210) may control the communication circuit (210) to set the channel bandwidth field (412) of the frame (410) including the operating mode control subfield as in FIG. 4b to a value corresponding to the second bandwidth and transmit it to the external electronic device. For example, information related to a change in bandwidth may be transmitted to the external electronic device through a channel of the first bandwidth.
[0116] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 311, check for a change in bandwidth for wireless LAN communication with the electronic device (101) from an external electronic device. For example, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device for a specified third period of time from the time of receiving a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while maintaining the first bandwidth for the specified third period of time. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while changing to the second bandwidth for the specified third period of time.
[0117] For example, if a specified number or more of data (or frames) of the second bandwidth are received consecutively within a specified third time, the processor (200) may determine that the bandwidth for wireless LAN communication with the electronic device (101) has been changed from the external electronic device.
[0118] For example, the processor (200) may control the communication circuit (210) to transmit data (or a frame) capable of causing a response from the external electronic device to the external electronic device based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. The processor (200) may check the bandwidth of the response signal received from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while maintaining the first bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while changing the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth. For example, data (or frames) that may trigger a response from an external electronic device may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame.
[0119] For example, if the bandwidth of the response signal received from the external electronic device is the second bandwidth, the processor (200) may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101).
[0120] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, at operation 313, change a bandwidth for wireless LAN communication with an external electronic device to a second bandwidth based on a determination that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the second bandwidth is smaller than the first bandwidth, the processor (200) may control the communication circuit (210) to change the bandwidth for wireless LAN communication with the external electronic device from the first bandwidth to the second bandwidth. For example, if the second bandwidth is larger than the first bandwidth, the processor (200) may control the communication circuit (210) to maintain the changed second bandwidth in order to confirm the bandwidth change in the external electronic device.
[0121] According to one embodiment, the electronic device (101) can perform wireless LAN communication with an external electronic device via a channel of a second bandwidth. For example, wireless LAN communication with the external electronic device via the second bandwidth can be performed based on a channel of a second bandwidth set based on a channel of a first bandwidth allocated from the external electronic device when connecting to the external electronic device.
[0122] According to one embodiment, when the electronic device (101) changes the bandwidth for wireless LAN communication with an external electronic device to a second bandwidth and the wireless LAN communication with the external electronic device is terminated, the electronic device (101) can selectively restore the bandwidth for wireless LAN communication with the external electronic device to the first bandwidth. For example, when the wireless LAN communication with the external electronic device is terminated, the electronic device (101) can compare the throughput (or expected throughput) of the first bandwidth and the second bandwidth. For example, when the throughput of the second bandwidth is higher than the throughput of the first bandwidth, the electronic device (101) can maintain the bandwidth for wireless LAN communication with the external electronic device at the second bandwidth when the wireless LAN communication with the external electronic device is terminated. For example, when the throughput of the first bandwidth is higher than the throughput of the second bandwidth, the electronic device (101) can restore the bandwidth for wireless LAN communication with the external electronic device to the first bandwidth when the wireless LAN communication with the external electronic device is terminated.
[0123] According to one embodiment, when the wireless LAN communication with the external electronic device is terminated while the electronic device (101) has changed the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth, the electronic device may restore the bandwidth for wireless LAN communication with the external electronic device to the first bandwidth regardless of the throughput (or expected throughput) of the first bandwidth and the second bandwidth.
[0124] FIG. 5 is a flowchart (500) for determining whether to change the bandwidth for wireless LAN communication in an electronic device according to one embodiment. For example, at least a portion of FIG. 5 may include detailed operations of operations 301 and 303 of FIG. 3 . In the following embodiments, the operations may be performed sequentially, but are not necessarily performed sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel. For example, the electronic device of FIG. 5 may be the electronic device (101) of FIG. 1 or FIG. 2 .
[0125] According to one embodiment referring to FIG. 5, an electronic device (e.g., electronic device (101) of FIG. 1 or FIG. 2) or a processor (e.g., processor (120) of FIG. 1 or processor (200) of FIG. 2) may perform a connection with an external electronic device (e.g., AP) based on a wireless LAN communication method in operation 501. For example, the connection with the external electronic device may include a series of operations for connecting to the external electronic device based on a wireless LAN communication method.
[0126] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 503, determine whether an external electronic device is included in a list of abnormal devices. For example, the list of abnormal devices may include at least one external electronic device that has failed to change a bandwidth related to wireless LAN communication for a specified period of time or has limited bandwidth change, and may be stored in a memory (220) or an external server.
[0127] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may terminate an embodiment for determining whether to change a bandwidth for wireless LAN communication when an external electronic device is included in a list of abnormal devices (e.g., 'Yes' in operation 503). For example, the processor (200) may determine that the external electronic device cannot change the bandwidth for wireless LAN communication with the electronic device (101) when information related to the external electronic device is included in the list of abnormal devices. For example, the information related to the external electronic device may include at least one of a basic service set identifier (BSSID) or a media access control (MAC) address.
[0128] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, if the external electronic device is not included in the abnormal device list (e.g., 'No' in operation 503), at operation 505, check the maximum bandwidth available for wireless LAN communication between the electronic device (101) and the external electronic device. For example, if information related to the external electronic device is not included in the abnormal device list, the processor (200) may determine that the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101). For example, the processor (200) may check the bandwidths supported by the external electronic device based on capability information of the external electronic device acquired from the external electronic device when connected to the external electronic device based on the determination that the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101). The processor (200) may check the maximum bandwidth among the bandwidths supported by the external electronic device and the electronic device (101). For example, the maximum bandwidth may include any one of values of about 20 MHz, about 40 MHz, about 80 MHz, about 160 MHz, and about 320 MHz. For example, the maximum bandwidth represents the largest bandwidth among the bandwidths that the electronic device (101) can support, and the electronic device (101) can support all bandwidths less than the maximum bandwidth.
[0129] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 507, check an expected throughput of each of bandwidths available for wireless LAN communication between the electronic device (101) and an external electronic device. For example, the processor (200) may check an expected throughput of each of bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device during wireless LAN communication with the external electronic device. For example, the expected throughput may be calculated based on mathematical expression 1. For example, the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device may include bandwidths smaller than a maximum bandwidth available for wireless LAN communication between the electronic device (101) and the external electronic device.
[0130] According to one embodiment, the electronic device (101) can perform wireless LAN communication with an external electronic device included in a list of abnormal devices. If the electronic device (101) does not transmit or receive data with the external electronic device for a specified period of time, the electronic device (101) can determine whether the external electronic device can change its bandwidth. If the electronic device (101) determines that the external electronic device has changed its bandwidth, the electronic device (101) can update the list of abnormal devices so that the external electronic device is removed from the list of abnormal devices. If the electronic device (101) determines that the external electronic device has failed to change its bandwidth, the electronic device (101) can maintain the list of abnormal devices. For example, the electronic device (101) can transmit information related to a change to a specified bandwidth to the external electronic device and determine whether the external electronic device has changed to the specified bandwidth. For example, the specified bandwidth may include a random bandwidth or a bandwidth selected based on an expected throughput.
[0131] FIG. 6 is a flowchart (600) for updating an abnormality list in an electronic device according to one embodiment. For example, at least a portion of FIG. 6 may include detailed operations of operations 311 and 313 of FIG. 3 . In the following embodiments, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel. For example, the electronic device of FIG. 6 may be the electronic device (101) of FIG. 1 or FIG. 2 .
[0132] According to one embodiment referring to FIG. 6, when an electronic device (e.g., electronic device (101) of FIG. 1 or FIG. 2) or a processor (e.g., processor (120) of FIG. 1 or processor (200) of FIG. 2) transmits information related to a change in bandwidth (e.g., operation 309 of FIG. 3), in operation 601, an external electronic device can determine whether the bandwidth for wireless LAN communication with the electronic device (101) has been changed.
[0133] For example, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device for a specified third period of time from the time of receiving a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. For example, if the second bandwidth is smaller than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while maintaining the first bandwidth for a specified third period of time. For example, if the second bandwidth is larger than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while changing to the second bandwidth for a specified third period of time. For example, the specified third period of time may include a reference time set for monitoring the bandwidth of data received from the external electronic device to check whether the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101).
[0134] For example, if the processor (200) receives data (or frames) of the second bandwidth consecutively more than a specified number of times within a specified third time period, it may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the processor (200) does not receive data (or frames) of the second bandwidth consecutively more than a specified number of times within a specified third time period, it may determine that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101).
[0135] For example, the processor (200) may control the communication circuit (210) to transmit data (or a frame) capable of causing a response from the external electronic device to the external electronic device based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. The processor (200) may check the bandwidth of the response signal received from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while maintaining the first bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while changing the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth. For example, data (or frames) that may trigger a response from an external electronic device may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame.
[0136] For example, if the bandwidth of the response signal received from the external electronic device is the second bandwidth, the processor (200) may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the bandwidth of the response signal received from the external electronic device is not the second bandwidth, the processor (200) may determine that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101).
[0137] For example, if the processor (200) determines that it is not possible to monitor the bandwidth of data received from an external electronic device and determine whether the bandwidth of the external electronic device has changed, the processor (200) may control the communication circuit (210) to transmit data capable of causing a response from the external electronic device to the external electronic device. The processor (200) may determine whether the bandwidth for wireless LAN communication with the electronic device (101) has been changed from the external electronic device based on the bandwidth of the response signal received from the external electronic device.
[0138] For example, if the processor (200) determines that it is not possible to determine whether the bandwidth of the external electronic device has changed based on the bandwidth of a response signal corresponding to data that can cause a response from the external electronic device, the processor (200) may monitor the bandwidth of data received from the external electronic device for a specified third period of time. The processor (200) may determine whether the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101) based on the bandwidth of data received from the external electronic device for the specified third period of time.
[0139] According to one embodiment, when an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that an external electronic device has changed a bandwidth for wireless LAN communication with the electronic device (101) (e.g., 'Yes' in operation 601), in operation 603, the processor may change the bandwidth for wireless LAN communication with the external electronic device to a second bandwidth. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may control the communication circuit (210) to change the bandwidth for wireless LAN communication with the external electronic device from the first bandwidth to the second bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may control the communication circuit (210) to maintain the changed second bandwidth in order to confirm the bandwidth change in the external electronic device. For example, the processor (200) may control the communication circuit (210) to perform wireless LAN communication with an external electronic device through a channel of the second bandwidth based on a change to the second bandwidth. For example, the channel of the second bandwidth may be set based on a channel of the first bandwidth allocated from the external electronic device when connecting to the external electronic device.
[0140] According to one embodiment, if the electronic device (e.g., electronic device (101)) or the processor (e.g., processor (120 or 200)) determines that the bandwidth for wireless LAN communication with the electronic device (101) has not been changed from the external electronic device (e.g., 'No' in operation 601), in operation 605, the electronic device may add the external electronic device to the abnormal device list. For example, the processor (200) may add information related to the external electronic device to the abnormal device list. For example, the information related to the external electronic device may include at least one of a basic service set identifier (BSSID) or a media access control (MAC) address. For example, if the processor (200) changes the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth based on a second bandwidth that is greater than the first bandwidth, the processor (200) may restore the bandwidth for wireless LAN communication with the external electronic device to the first bandwidth based on the determination that the bandwidth for wireless LAN communication with the electronic device (101) has not been changed from the external electronic device.
[0141] FIG. 7 is an example for checking a change in bandwidth of an external electronic device in an electronic device according to one embodiment.
[0142] According to one embodiment referring to FIG. 7, when the electronic device (101) determines that the bandwidth is to be changed during wireless LAN communication with the external electronic device (700), the electronic device (101) may transmit information related to the change in bandwidth to the external electronic device (700) (operation 711). For example, the electronic device (101) may transmit information related to the change in bandwidth to the external electronic device (700) through the frame (400) of the OMN protocol of FIG. 4A or the frame (410) of the OMI protocol of FIG. 4B. For example, the frame (400) of the OMN protocol may have a channel width field (404) included in the 'operating mode' field (402) set to a value corresponding to the second bandwidth. For example, the frame (410) of the OMI protocol may have a channel width field (412) set to a value corresponding to the second bandwidth. For example, the second bandwidth may include a bandwidth to be changed for wireless LAN communication in the electronic device (101).
[0143] According to one embodiment, the external electronic device (700) may transmit a response signal (e.g., ACK) corresponding to the reception of information related to a change in bandwidth to the electronic device (101) based on the reception of information related to a change in bandwidth (operation 713). For example, if the external electronic device (700) decodes the information related to a change in bandwidth, the external electronic device (700) may transmit a positive response signal (e.g., ACK) to the electronic device (101). For example, if the external electronic device (700) fails to decode the information related to a change in bandwidth, the external electronic device (700) may transmit a negative response signal (e.g., NACK) to the electronic device (101) or may restrict the transmission of a response signal corresponding to the reception of information related to a change in bandwidth.
[0144] According to one embodiment, the electronic device (101) may monitor data (or frames) received from the external electronic device (700) for a specified third period of time based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device (700) (operations 715 and 717). For example, the electronic device (101) may check the bandwidth of the data (or frames) received from the external electronic device (700) for the specified third period of time. For example, when reducing the bandwidth for wireless LAN communication, the electronic device (101) may check the bandwidth of the data (or frames) received from the external electronic device (700) while maintaining the first bandwidth for the specified third period of time. For example, when the electronic device (101) expands the bandwidth for wireless LAN communication, the electronic device (101) can check the bandwidth of data (or frames) received from the external electronic device (700) for a specified third time while the bandwidth for wireless LAN communication has been changed (or expanded). For example, the specified third time may include a reference time set for monitoring the bandwidth of data received from the external electronic device (700) to check whether the bandwidth for wireless LAN communication with the electronic device (101) has been changed in the external electronic device (700). For example, the first bandwidth may include a bandwidth set for wireless LAN communication based on the connection of the electronic device (101) to the external electronic device (700). For example, the first bandwidth may include the maximum bandwidth among the bandwidths supported by the electronic device (101) and the external electronic device (700).
[0145] According to one embodiment, if the electronic device (101) receives a specified number or more of data (or frames) of a second bandwidth or a bandwidth smaller than the second bandwidth consecutively within a specified third time, the electronic device (101) may determine that the external electronic device (700) has changed the bandwidth for wireless LAN communication with the electronic device (101) (operation 719). For example, the electronic device (101) may change the bandwidth for wireless LAN communication with the external electronic device (700) to the second bandwidth based on the determination that the external electronic device (700) has changed the bandwidth for wireless LAN communication with the electronic device (101). The electronic device (101) may perform wireless LAN communication with the external electronic device (700) through a channel of the second bandwidth. For example, the change to the second bandwidth may include a series of operations for changing the bandwidth for wireless LAN communication with the external electronic device (700) to the second bandwidth when reducing the bandwidth for wireless LAN communication. For example, a change to a second bandwidth may include a series of operations to maintain the changed second bandwidth to confirm the bandwidth change in the external electronic device (700) when expanding the bandwidth for wireless LAN communication.
[0146] According to one embodiment, if the electronic device (101) does not receive a specified number or more of data (or frames) of the second bandwidth or a bandwidth smaller than the second bandwidth consecutively for a specified third time period, the electronic device (101) may determine that the change of bandwidth for wireless LAN communication with the electronic device (101) from the external electronic device (700) has failed. For example, if the electronic device (101) determines that the change of bandwidth for wireless LAN communication with the electronic device (101) from the external electronic device (700) has failed, the electronic device (101) may add information related to the external electronic device (700) to a list of abnormal devices. For example, the state of not receiving a specified number or more of data (or frames) of the second bandwidth or a bandwidth smaller than the second bandwidth consecutively may include a state of receiving at least one data of a bandwidth larger than the second bandwidth within the specified third time period.
[0147] FIG. 8 is an example for checking a change in bandwidth of an external electronic device in an electronic device according to one embodiment.
[0148] According to one embodiment referring to FIG. 8, if the electronic device (101) determines that the bandwidth is to be changed during wireless LAN communication with the external electronic device (700), the electronic device (101) may transmit information related to the change in bandwidth to the external electronic device (700) (operation 811). For example, the electronic device (101) may transmit information related to the change in bandwidth to the external electronic device (700) through the frame (400) of the OMN protocol of FIG. 4a or the frame (410) of the OMI protocol of FIG. 4b.
[0149] According to one embodiment, the external electronic device (700) may transmit a response signal (e.g., ACK) corresponding to the reception of information related to a change in bandwidth to the electronic device (101) based on the reception of information related to a change in bandwidth (operation 813). For example, if the external electronic device (700) decodes the information related to a change in bandwidth, the external electronic device (700) may transmit a positive response signal (e.g., ACK) to the electronic device (101). For example, if the external electronic device (700) fails to decode the information related to a change in bandwidth, the external electronic device (700) may transmit a negative response signal (e.g., NACK) to the electronic device (101) or may restrict the transmission of a response signal corresponding to the reception of information related to a change in bandwidth.
[0150] According to one embodiment, the electronic device (101) may transmit data (or a frame) capable of causing a response from the external electronic device (700) to the external electronic device (700) based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device (700) (operation 815). For example, when the electronic device (101) reduces a bandwidth for wireless LAN communication to a second bandwidth, the electronic device (101) may transmit data (or a frame) capable of causing a response from the external electronic device (700) to the external electronic device (700) using the first bandwidth or the second bandwidth. For example, when the electronic device (101) expands a bandwidth for wireless LAN communication to a second bandwidth, the electronic device (101) may transmit data (or a frame) capable of causing a response from the external electronic device (700) to the external electronic device (700) using the second bandwidth. For example, the second bandwidth may include a bandwidth to be changed for wireless LAN communication in the electronic device (101). For example, data (or frames) that may cause a response from the external electronic device (700) may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame.
[0151] According to one embodiment, the electronic device (101) may determine the bandwidth of a response signal received from the external electronic device (700) based on the transmission of data (or frame) that may cause a response from the external electronic device (700) (operation 817). For example, when the electronic device (101) reduces the bandwidth for wireless LAN communication, the electronic device (101) may determine the bandwidth of the response signal received from the external electronic device (700) while maintaining the first bandwidth. For example, when the electronic device (101) expands the bandwidth for wireless LAN communication, the electronic device (101) may determine the bandwidth of the response signal received from the external electronic device (700) while changing (or expanding) the bandwidth for wireless LAN communication. For example, the first bandwidth may include a bandwidth set for wireless LAN communication based on the connection of the electronic device (101) to the external electronic device (700). For example, the first bandwidth may include the maximum bandwidth among the bandwidths supported by the electronic device (101) and the external electronic device (700).
[0152] According to one embodiment, if the bandwidth of the response signal received from the external electronic device (700) is the second bandwidth or a bandwidth smaller than the second bandwidth, the electronic device (101) may determine that the external electronic device (700) has changed the bandwidth for wireless LAN communication with the electronic device (101) (operation 819). For example, the electronic device (101) may change the bandwidth for wireless LAN communication with the external electronic device (700) to the second bandwidth based on the determination that the external electronic device (700) has changed the bandwidth for wireless LAN communication with the electronic device (101). The electronic device (101) may perform wireless LAN communication with the external electronic device (700) through a channel of the second bandwidth. For example, the change to the second bandwidth may include a series of operations for changing the bandwidth for wireless LAN communication with the external electronic device (700) to the second bandwidth when reducing the bandwidth for wireless LAN communication. For example, a change to a second bandwidth may include a series of operations to maintain the changed second bandwidth to confirm the bandwidth change in the external electronic device (700) when expanding the bandwidth for wireless LAN communication.
[0153] According to one embodiment, if the bandwidth of the response signal received from the external electronic device (700) is greater than the second bandwidth or if the response signal is not received, the electronic device (101) may determine that the change of the bandwidth for wireless LAN communication with the electronic device (101) from the external electronic device (700) has failed. For example, if the electronic device (101) determines that the change of the bandwidth for wireless LAN communication with the electronic device (101) from the external electronic device (700) has failed, the electronic device (101) may add information related to the external electronic device (700) to a list of abnormal devices.
[0154] According to one embodiment, the electronic device (101) may monitor the bandwidth of data received from the external electronic device (700) for a specified third time period, and if it determines that it is not possible to determine whether the bandwidth of the external electronic device (700) has changed, the electronic device (101) may transmit data that may cause a response from the external electronic device (700) to the external electronic device (700) (e.g., operation 815 of FIG. 8). The electronic device (101) may determine whether the bandwidth for wireless LAN communication with the external electronic device (700) has changed based on the bandwidth of the response signal received from the external electronic device (700).
[0155] According to one embodiment, the electronic device (101) may perform in parallel an operation of monitoring a bandwidth of data received from an external electronic device (700) for a specified third time period to determine whether the bandwidth of the external electronic device (700) changes (e.g., operations 711 to 719 of FIG. 7) and an operation of determining whether the bandwidth of the external electronic device (700) changes based on a bandwidth of a response signal corresponding to data that can cause a response from the external electronic device (700) (e.g., operations 811 to 819 of FIG. 8).
[0156] According to one embodiment, the electronic device (101) may perform an operation (e.g., operations 811 to 819 of FIG. 8) of determining whether to change the bandwidth of the external electronic device (700) based on the bandwidth of a response signal corresponding to data that can cause a response of the external electronic device (700), and may perform an operation (e.g., operations 711 to 719 of FIG. 7) of determining whether to change the bandwidth of the external electronic device (700) by monitoring the bandwidth of data received from the external electronic device (700) for a specified third time period.
[0157] FIG. 9 is a flowchart (900) for changing bandwidth based on channel utilization in an electronic device according to one embodiment. In the following embodiments, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel. For example, the electronic device of FIG. 9 may be the electronic device (101) of FIG. 1 or FIG. 2.
[0158] According to one embodiment referring to FIG. 9, an electronic device (e.g., electronic device (101) of FIG. 1 or FIG. 2) or a processor (e.g., processor (120) of FIG. 1 or processor (200) of FIG. 2) may perform a connection with an external electronic device (e.g., AP) based on a wireless LAN communication method in operation 901. For example, the connection with the external electronic device may include a series of operations for connecting to the external electronic device based on a wireless LAN communication method.
[0159] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 903, check the channel usage rate of each of the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device. For example, the bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device may include bandwidths supported by the external electronic device and the electronic device (101).
[0160] For example, the processor (200) can determine whether an external electronic device is included in a list of abnormal devices. If information related to the external electronic device is included in the list of abnormal devices, the processor (200) can determine that the external electronic device cannot change the bandwidth for wireless LAN communication with the electronic device (101). If information related to the external electronic device is not included in the list of abnormal devices, the processor (200) can determine that the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101). For example, the list of abnormal devices may include at least one external electronic device that has failed to change the bandwidth related to wireless LAN communication or has limited bandwidth change, and may be stored in the memory (220) or an external server. For example, information related to the external electronic device may include at least one of a basic service set identifier (BSSID) or a media access control (MAC) address.
[0161] For example, if the processor (200) determines that the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101), the processor (200) can check the channel usage rate. For example, the processor (200) can check the channel usage rate based on Mathematical Expression 2 or Mathematical Expression 3. For example, if there is no traffic of wireless LAN communication, the processor (200) can check the channel usage rate using the CCA Busy values of all sub-channels included in the bandwidth, as in Mathematical Expression 2. For example, if there is traffic of wireless LAN communication, the processor (200) can check the channel usage rate using only the CCA Busy value of the reference sub-channel, as in Mathematical Expression 3. For example, the processor (200) can also check the channel usage rate based on the CCA Busy values of the sub-channels acquired when the electronic device (101) performs a scan for connection with the external electronic device or the CCA Busy value of the reference sub-channel.
[0162] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 905, determine an expected throughput of each of bandwidths available for wireless LAN communication between the electronic device (101) and an external electronic device based on a channel usage rate. For example, the processor (200) may determine an expected throughput of each of bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device based on a channel usage rate of each bandwidth in a state where wireless LAN communication with the external electronic device is not performed. For example, the expected throughput may be calculated based on mathematical expression 1.
[0163] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, at operation 907, determine whether a specified first change condition is satisfied based on expected throughputs of bandwidths available for wireless LAN communication between the electronic device (101) and an external electronic device. For example, the processor (200) may determine whether a bandwidth exists among bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device where an inversion of the expected throughput occurs. For example, if a bandwidth exists where an inversion of the expected throughput occurs, the processor (200) may determine that the specified first change condition is satisfied.
[0164] For example, if there is a bandwidth where an inversion of the expected processing rate occurs and the difference value of the bandwidth where the inversion occurs exceeds a reference difference value, the processor (200) may determine that the specified first change condition is satisfied. For example, if an expected processing rate of about 160 MHz of bandwidths available for wireless LAN communication between the electronic device (101) and an external electronic device is smaller than an expected processing rate of about 80 MHz, the processor (200) may determine that an inversion phenomenon has occurred at about 160 MHz. If the difference value between the expected processing rate of about 160 MHz and the expected processing rate of about 80 MHz exceeds a reference difference value, the processor (200) may determine that the specified first change condition is satisfied.
[0165] For example, the processor (200) may determine that the specified first change condition is not satisfied if there is no bandwidth where the expected throughput inversion phenomenon occurs or if the difference value of the bandwidth where the inversion phenomenon occurs is less than or equal to a reference difference value. For example, the expected throughput inversion phenomenon may indicate a state where the expected throughput of a relatively wide bandwidth is lower than the expected throughput of a relatively narrow bandwidth.
[0166] According to one embodiment, if an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that a specified first change condition is not satisfied (e.g., 'No' in operation 907), the embodiment for changing the bandwidth based on channel utilization may terminate.
[0167] According to one embodiment, if the electronic device (e.g., electronic device (101)) or the processor (e.g., processor (120 or 200)) determines that the specified first change condition is satisfied (e.g., 'Yes' in operation 907), in operation 909, the processor may select a bandwidth for wireless LAN communication with the external electronic device. For example, if there is at least one bandwidth in which the expected throughput inversion phenomenon has occurred, the processor (200) may select a second bandwidth for wireless LAN communication with the external electronic device based on the remaining bandwidths excluding at least one bandwidth in which the expected throughput inversion phenomenon has occurred among bandwidths available for wireless LAN communication between the electronic device (101) and the external electronic device.
[0168] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may determine, in operation 911, whether to change a bandwidth for wireless LAN communication with an external electronic device based on a second bandwidth for wireless LAN communication with the external electronic device. For example, if a first bandwidth set upon connection to the external electronic device and a second bandwidth for wireless LAN communication with the external electronic device are different, the processor (200) may determine to change the bandwidth for wireless LAN communication. For example, if the first bandwidth set upon connection to the external electronic device and the second bandwidth for wireless LAN communication with the external electronic device are the same, the processor (200) may determine not to change the bandwidth for wireless LAN communication.
[0169] In one embodiment, if an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that the bandwidth for wireless LAN communication is not to be changed (e.g., 'No' in operation 911), the embodiment for changing the bandwidth may be terminated.
[0170] According to one embodiment, when an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that a bandwidth for wireless LAN communication is to be changed (e.g., 'Yes' in operation 911), in operation 913, information related to the change in bandwidth may be transmitted to an external electronic device. For example, when the processor (200) supports the OMN protocol, the processor (200) may control the communication circuit (210) to set a channel width field (404) included in an 'operating mode' field (402) of a frame (400) including an OMN element such as FIG. 4A to a value corresponding to a second bandwidth and transmit the same to the external electronic device. For example, when the processor (200) supports the OMI protocol, the communication circuit (210) may control the communication circuit (210) to set the channel bandwidth field (412) of the frame (410) including the operating mode control subfield as in FIG. 4b to a value corresponding to the second bandwidth and transmit the same to the external electronic device. For example, information related to a change in bandwidth may be transmitted to the external electronic device through a channel of the first bandwidth.
[0171] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 915, check for a change in bandwidth for wireless LAN communication with the electronic device (101) from an external electronic device. For example, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device for a specified third period of time from the time of receiving a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while maintaining the first bandwidth for the specified third period of time. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while changing to the second bandwidth for the specified third period of time. For example, if a specified number or more of data (or frames) of the second bandwidth are received consecutively within a specified third time, the processor (200) may determine that the bandwidth for wireless LAN communication with the electronic device (101) has been changed from the external electronic device.
[0172] For example, the processor (200) may control the communication circuit (210) to transmit data (or a frame) capable of causing a response from the external electronic device to the external electronic device based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. The processor (200) may check the bandwidth of the response signal received from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while maintaining the first bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while changing the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth. For example, data (or frames) that can trigger a response from an external electronic device may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame. For example, if the bandwidth of a response signal received from the external electronic device is the second bandwidth, the processor (200) may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101).
[0173] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, at operation 917, change a bandwidth for wireless LAN communication with an external electronic device to a second bandwidth based on a determination that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the second bandwidth is smaller than the first bandwidth, the processor (200) may control the communication circuit (210) to change the bandwidth for wireless LAN communication with the external electronic device from the first bandwidth to the second bandwidth. For example, if the second bandwidth is larger than the first bandwidth, the processor (200) may control the communication circuit (210) to maintain the changed second bandwidth to confirm the bandwidth change in the external electronic device.
[0174] According to one embodiment, if the electronic device (101) determines that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101), the electronic device (101) may add the external electronic device to the abnormal device list. For example, the processor (200) may add information related to the external electronic device to the abnormal device list. For example, the information related to the external electronic device may include at least one of a basic service set identifier (BSSID) or a media access control (MAC) address.
[0175] FIG. 10 is a flowchart (1000) for changing bandwidth based on a data retransmission rate in an electronic device according to one embodiment. In the following embodiments, the operations may be performed sequentially, but are not necessarily performed sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel. For example, the electronic device of FIG. 10 may be the electronic device (101) of FIG. 1 or FIG. 2.
[0176] According to one embodiment referring to FIG. 10, an electronic device (e.g., electronic device (101) of FIG. 1 or FIG. 2) or a processor (e.g., processor (120) of FIG. 1 or processor (200) of FIG. 2) may perform wireless LAN communication with an external electronic device (e.g., access point (AP)) in operation 1001. For example, the processor (200) may control a communication circuit (210) to connect to the external electronic device based on a wireless LAN communication method. When connected to the external electronic device, the processor (200) may control the communication circuit (210) to perform wireless LAN communication with the external electronic device through a channel of a first bandwidth (or a first frequency bandwidth) allocated from the external electronic device. For example, wireless LAN communication with the external electronic device may include a series of operations in which the electronic device (101) and the external electronic device perform at least one of transmitting or receiving data.
[0177] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 1003, determine a retransmission rate of wireless LAN communication with an external electronic device. For example, the retransmission rate may be expressed as a ratio of the number of times data is transmitted by the electronic device (101) during a specified fourth time period to the number of times data is retransmitted.
[0178] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may determine, in operation 1005, whether a specified second change condition is satisfied based on a retransmission rate of wireless LAN communication with an external electronic device. For example, the processor (200) may determine that the specified second change condition is satisfied if the retransmission rate of the wireless LAN communication with the external electronic device exceeds a specified reference retransmission rate. For example, the processor (200) may determine that the specified second change condition is satisfied if the retransmission rate of the wireless LAN communication with the external electronic device exceeds a specified reference retransmission rate in a weak field state. For example, the processor (200) may determine that the specified second change condition is not satisfied if the retransmission rate of the wireless LAN communication with the external electronic device is not in a weak field state or is lower than a specified reference retransmission rate. For example, a weak electric field state may indicate a state in which the electric field strength (e.g., received signal strength indication (RSSI)) for wireless LAN communication with an electronic device (101) and an external electronic device is less than a specified reference electric field strength.
[0179] According to one embodiment, if the electronic device (e.g., electronic device (101)) or processor (e.g., processor (120 or 200)) determines that the specified second change condition is not satisfied (e.g., 'No' in operation 1005), the embodiment for changing the bandwidth based on the retransmission rate of the data may be terminated.
[0180] According to one embodiment, if the electronic device (e.g., electronic device (101)) or the processor (e.g., processor (120 or 200)) determines that the specified second change condition is satisfied (e.g., 'Yes' in operation 1005), in operation 1007, the electronic device (101) and the processor (200) may check the expected throughput of each of the bandwidths available for wireless LAN communication of the external electronic device. For example, the processor (200) may check the expected throughput of each of the bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device based on mathematical expression 1.
[0181] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 1009, select an optimal second bandwidth for wireless LAN communication with an external electronic device based on an expected throughput of each of bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device and a traffic volume for wireless LAN communication with the external electronic device. For example, the optimal second bandwidth may include a bandwidth among bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device that has a smallest expected throughput while exceeding a reference throughput set by the sum of the traffic volume and a margin. For example, the bandwidths available for wireless LAN communication of the electronic device (101) and the external electronic device may include about 20 MHz, about 40 MHz, and about 80 MHz. For example, the expected throughput of a bandwidth of about 20 MHz may be 100 Mbps, the expected throughput of a bandwidth of about 40 MHz may be 200 Mbps, and the expected throughput of a bandwidth of about 80 MHz may be 400 Mbps. When the traffic amount (Traffirate) is 20 Mbps and the margin (Margin) is 100 Mbps, the processor (200) may select a bandwidth of about 40 MHz, which is the smallest bandwidth that is greater than the reference throughput (e.g., about 120 Mbps) set by the sum of the traffic amount and the margin, as the second bandwidth. For example, the traffic amount may include the size of data transmitted and / or received by the electronic device (101) and the external electronic device via wireless LAN communication during a specified first time period (e.g., unit time). For example, the specified first time period may include a reference time for calculating the traffic amount of the wireless LAN communication of the electronic device (101) and the external electronic device.
[0182] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may determine, in operation 1011, whether to change a bandwidth for wireless LAN communication with an external electronic device based on an optimal second bandwidth for wireless LAN communication with the external electronic device. For example, if a first bandwidth being used for wireless LAN communication with the external electronic device and an optimal second bandwidth for wireless LAN communication with the external electronic device are different, the processor (200) may determine to change the bandwidth for wireless LAN communication. For example, if a first bandwidth being used for wireless LAN communication with the external electronic device and an optimal second bandwidth for wireless LAN communication with the external electronic device are the same, the processor (200) may determine not to change the bandwidth for wireless LAN communication.
[0183] In one embodiment, if an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines not to change the bandwidth for wireless LAN communication (e.g., 'No' in operation 1011), it may terminate one embodiment for changing the bandwidth based on a retransmission rate of data.
[0184] According to one embodiment, when an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that a bandwidth for wireless LAN communication is to be changed (e.g., 'Yes' in operation 1011), in operation 1013, information related to the change in bandwidth may be transmitted to an external electronic device. For example, when the processor (200) supports the OMN protocol, the processor (200) may control the communication circuit (210) to set a channel width field (404) included in an 'operating mode' field (402) of a frame (400) including an OMN element such as FIG. 4A to a value corresponding to a second bandwidth and transmit the same to the external electronic device. For example, when the processor (200) supports the OMI protocol, the communication circuit (210) may control the communication circuit (210) to set the channel bandwidth field (412) of the frame (410) including the operating mode control subfield as in FIG. 4b to a value corresponding to the second bandwidth and transmit the same to the external electronic device. For example, information related to a change in bandwidth may be transmitted to the external electronic device through a channel of the first bandwidth.
[0185] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 1015, check for a change in bandwidth for wireless LAN communication with the electronic device (101) from an external electronic device. For example, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device for a specified third period of time from the time of receiving a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while maintaining the first bandwidth for the specified third period of time. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may check the bandwidth of data (or frames) received from the external electronic device while changing to the second bandwidth for the specified third period of time. For example, if a specified number or more of data (or frames) of the second bandwidth are received consecutively within a specified third time, the processor (200) may determine that the bandwidth for wireless LAN communication with the electronic device (101) has been changed from the external electronic device.
[0186] For example, the processor (200) may control the communication circuit (210) to transmit data (or a frame) capable of causing a response from the external electronic device to the external electronic device based on reception of a response signal (e.g., ACK) corresponding to information related to a change in bandwidth from the external electronic device. The processor (200) may check the bandwidth of the response signal received from the external electronic device. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while maintaining the first bandwidth. For example, when the second bandwidth is larger than the first bandwidth, the processor (200) may perform transmission of data capable of causing a response from the external electronic device and reception of a response signal while changing the bandwidth for wireless LAN communication with the external electronic device to the second bandwidth. For example, data (or frames) that can trigger a response from an external electronic device may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame. For example, if the bandwidth of a response signal received from the external electronic device is the second bandwidth, the processor (200) may determine that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101).
[0187] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 1017, change a bandwidth for wireless LAN communication with an external electronic device to a second bandwidth based on a determination that the external electronic device has changed the bandwidth for wireless LAN communication with the electronic device (101). For example, if the second bandwidth is smaller than the first bandwidth, the processor (200) may control the communication circuit (210) to change the bandwidth for wireless LAN communication with the external electronic device from the first bandwidth to the second bandwidth. For example, if the second bandwidth is larger than the first bandwidth, the processor (200) may control the communication circuit (210) to maintain the changed second bandwidth to confirm the bandwidth change in the external electronic device.
[0188] According to one embodiment, the electronic device (101) can perform wireless LAN communication with an external electronic device via a channel of a second bandwidth. For example, wireless LAN communication with the external electronic device via the second bandwidth can be performed based on a channel of a second bandwidth set based on a channel of a first bandwidth allocated from the external electronic device when connecting to the external electronic device.
[0189] According to one embodiment, if the electronic device (101) determines that the external electronic device has failed to change the bandwidth for wireless LAN communication with the electronic device (101), the electronic device (101) may add the external electronic device to the abnormal device list. For example, the processor (200) may add information related to the external electronic device to the abnormal device list. For example, the information related to the external electronic device may include at least one of a basic service set identifier (BSSID) or a media access control (MAC) address.
[0190] According to one embodiment, the electronic device can selectively change the bandwidth for wireless LAN communication with an external electronic device. For example, the processor (200) can determine whether the external electronic device is included in a list of abnormal devices. If information related to the external electronic device is included in the list of abnormal devices, the processor (200) can determine that the external electronic device cannot change the bandwidth for wireless LAN communication with the electronic device (101). If information related to the external electronic device is not included in the list of abnormal devices, the processor (200) can determine that the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101). For example, if the processor (200) determines that the external electronic device can change the bandwidth for wireless LAN communication with the electronic device (101), the processor (200) can perform a series of operations for changing the bandwidth for wireless LAN communication with the external electronic device.
[0191] FIG. 11 is a flowchart (1100) for restoring bandwidth in an electronic device according to one embodiment. For example, at least a portion of FIG. 11 may include detailed operations of operation 1017 of FIG. 3 . In the following embodiments, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel. For example, the electronic device of FIG. 11 may be the electronic device (101) of FIG. 1 or FIG. 2 .
[0192] According to one embodiment referring to FIG. 11, when an electronic device (e.g., the electronic device (101) of FIG. 1 or FIG. 2) or a processor (e.g., the processor (120) of FIG. 1 or the processor (200) of FIG. 2) determines a change in bandwidth for wireless LAN communication with the electronic device (101) from an external electronic device (e.g., an access point (AP)) (e.g., operation 1015 of FIG. 10), in operation 1101, the processor may change the bandwidth for wireless LAN communication with the external electronic device to a second bandwidth. For example, when the second bandwidth is smaller than the first bandwidth, the processor (200) may control the communication circuit (210) to change the bandwidth for wireless LAN communication with the external electronic device from the first bandwidth to the second bandwidth. For example, if the second bandwidth is greater than the first bandwidth, the processor (200) may control the communication circuit (210) to maintain the changed second bandwidth to check for a bandwidth change in an external electronic device.
[0193] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may, in operation 1103, check a retransmission rate of wireless LAN communication with an external electronic device. For example, the processor (200) may check a retransmission rate of wireless LAN communication with the external electronic device for a specified fifth time after changing a bandwidth for wireless LAN communication with the external electronic device.
[0194] According to one embodiment, an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) may determine, in operation 1105, whether a specified third change condition is satisfied based on a retransmission rate of wireless LAN communication with an external electronic device. For example, if the processor (200) determines that the retransmission rate of the wireless LAN communication has not improved based on a change in the bandwidth of the wireless LAN communication with the external electronic device, the processor may determine that the specified third change condition is satisfied. For example, a state in which the data retransmission rate has not improved may include a state in which the data retransmission rate is the same as before the bandwidth change, or is higher than before the bandwidth change, or is not lowered by more than a reference interval than before the bandwidth change. For example, if the processor (200) determines that the retransmission rate of the wireless LAN communication has improved based on a change in the bandwidth of the wireless LAN communication with the external electronic device, the processor may determine that the specified third change condition is not satisfied. For example, a state in which the data retransmission rate is improved may include a state in which the data retransmission rate is lowered by more than a reference interval compared to before the bandwidth change.
[0195] According to one embodiment, if an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that a specified third change condition is not satisfied (e.g., 'No' in operation 1105), the processor may terminate an embodiment for restoring bandwidth. For example, if the processor (200) determines that a specified third change condition is not satisfied based on a data retransmission rate, the processor may control the communication circuit (210) to perform wireless LAN communication with an external electronic device based on the changed second bandwidth.
[0196] According to one embodiment, if an electronic device (e.g., electronic device (101)) or a processor (e.g., processor (120 or 200)) determines that a specified third change condition is satisfied (e.g., 'Yes' in operation 1105), in operation 1107, the processor may restore a bandwidth for wireless LAN communication with an external electronic device. For example, if the processor (200) determines that a data retransmission rate of the wireless LAN communication is not improved while the bandwidth for wireless LAN communication with the external electronic device is changed to a second bandwidth, the processor may restore the bandwidth for wireless LAN communication with the external electronic device to a first bandwidth.
[0197] According to one embodiment, a method of operating an electronic device (e.g., the electronic device (101) of FIG. 1 or 2) may include an operation of performing wireless LAN communication with an external electronic device (e.g., the external electronic device (700) of FIG. 7 or 8) through a channel of a first bandwidth. According to one embodiment, the method of operating the electronic device may include an operation of selecting a second bandwidth based on an expected throughput of each of a plurality of bandwidths that can be supported for wireless LAN communication with the external electronic device during the wireless LAN communication. According to one embodiment, the method of operating the electronic device may include an operation of transmitting, to the external electronic device, request information related to a change to the second bandwidth when the second bandwidth is different from the first bandwidth. According to one embodiment, the method of operating the electronic device may include an operation of changing a bandwidth for wireless LAN communication to the second bandwidth when it is determined that a change in the bandwidth of the external electronic device is completed based on data received from the external electronic device.
[0198] According to one embodiment, the method of operating an electronic device may include an operation of determining whether an external electronic device is included in a list of abnormal devices. According to one embodiment, the operation of selecting a second bandwidth may include an operation of selecting the second bandwidth if the external electronic device is not included in the list of abnormal devices.
[0199] According to one embodiment, the method of operating an electronic device may include an operation of determining that a change in bandwidth of the external electronic device is limited when the external electronic device is included in a list of abnormal devices.
[0200] According to one embodiment, a method of operating an electronic device may include updating a list of abnormal devices based on information related to the external electronic device, when it is determined that a bandwidth change of the external electronic device has not been completed.
[0201] According to one embodiment, the method of operating an electronic device may include an operation of checking the bandwidth of data received from an external electronic device after transmitting request information related to a change to a second bandwidth. According to one embodiment, the method of operating an electronic device may include an operation of determining that the bandwidth change of the external electronic device is completed when a specified number or more of data corresponding to the second bandwidth are continuously received for a specified period of time.
[0202] According to one embodiment, the operation of checking the bandwidth may include, if the second bandwidth is greater than the first bandwidth, transmitting request information related to a change to the second bandwidth, then changing to the second bandwidth, and then checking the bandwidth of data received from the external electronic device based on the second bandwidth. According to one embodiment, the operation of checking the bandwidth may include, if the second bandwidth is smaller than the first bandwidth, transmitting request information related to a change to the second bandwidth, and then checking the bandwidth of data received from the external electronic device based on the first bandwidth.
[0203] According to one embodiment, the method of operating an electronic device may include transmitting request information related to a change to a second bandwidth, and then transmitting a designated request signal to an external electronic device. According to one embodiment, the method of operating an electronic device may include, when a response signal corresponding to the designated request signal is received from the external electronic device, determining whether the bandwidth change of the external electronic device has been completed based on the bandwidth of the response signal.
[0204] According to one embodiment, the specified request signal may include at least one of an address resolution protocol (ARP) request frame or a domain name system (DNS) query frame.
[0205] According to one embodiment, a method of operating an electronic device may include an operation of restoring a frequency bandwidth for wireless LAN communication to a first frequency bandwidth when wireless LAN communication with an external electronic device is terminated.
[0206] The embodiments of the present disclosure disclosed in this specification and drawings are merely specific examples presented to easily explain the technical contents according to the embodiments of the present disclosure and to help understand the embodiments of the present disclosure, and are not intended to limit the scope of the embodiments of the present disclosure. Therefore, the scope of one embodiment of the present disclosure should be interpreted as including all changes or modified forms derived based on the technical idea of one embodiment of the present disclosure, in addition to the embodiments disclosed herein, within the scope of one embodiment of the present disclosure.
Claims
1. In an electronic device (101), Communication circuit supporting wireless LAN communication (192 or 210); At least one processor (120 or 200) operatively connected to said communication circuit, and comprising a memory (130 or 220) operatively connected to at least one processor; The above memory, when executed by the at least one processor, causes the electronic device to: Wireless LAN communication is performed through the above communication circuit and a channel of the first bandwidth with an external electronic device, Selecting a second bandwidth based on the expected throughput of each of the plurality of bandwidths that can be supported for wireless LAN communication with the external electronic device during the wireless LAN communication; If the second bandwidth is different from the first bandwidth, request information related to a change to the second bandwidth is transmitted to the external electronic device through the communication circuit, An electronic device storing instructions for changing the bandwidth for the wireless LAN communication to the second bandwidth when it is determined that the bandwidth change of the external electronic device is completed based on data received from the external electronic device.
2. In paragraph 1, The above memory, when executed by the at least one processor, causes the electronic device to: An electronic device storing instructions for selecting the second bandwidth if the external electronic device is not included in the list of abnormal devices stored in the memory.
3. In either paragraph 1 or paragraph 2, The above memory, when executed by the at least one processor, causes the electronic device to: An electronic device storing instructions that determine that changes in the bandwidth of the external electronic device are limited when the external electronic device is included in the list of abnormal devices.
4. In any one of paragraphs 1 to 3, The above memory, when executed by the at least one processor, causes the electronic device to: An electronic device storing instructions for updating the list of abnormal devices based on information related to the external electronic device when it is determined that a bandwidth change of the external electronic device has not been completed.
5. In paragraph 1, The above memory, when executed by the at least one processor, causes the electronic device to: After transmitting the request information related to the change to the second bandwidth, the bandwidth of the data received from the external electronic device is checked, An electronic device storing instructions that determine that a bandwidth change of the external electronic device is completed when a specified number or more of data corresponding to the second bandwidth are received continuously for a specified period of time.
6. In paragraph 5, The above memory, when executed by the at least one processor, causes the electronic device to: If the second bandwidth is greater than the first bandwidth, after transmitting request information related to changing to the second bandwidth, changing to the second bandwidth and checking the bandwidth of data received from the external electronic device based on the second bandwidth, An electronic device storing instructions for checking the bandwidth of data received from the external electronic device based on the first bandwidth after transmitting request information related to a change to the second bandwidth when the second bandwidth is smaller than the first bandwidth.
7. In paragraph 1, The above memory, when executed by the at least one processor, causes the electronic device to: After transmitting the request information related to the change to the second bandwidth, a designated request signal is transmitted to the external electronic device, An electronic device storing instructions that determine whether a bandwidth change of the external electronic device is completed based on the bandwidth of the response signal when a response signal corresponding to the specified request signal is received from the external electronic device.
8. In paragraph 1, The above memory, when executed by the at least one processor, causes the electronic device to: An electronic device storing instructions for restoring a frequency bandwidth for the wireless LAN communication to the first frequency bandwidth when the wireless LAN communication with the external electronic device is terminated.
9. In the method of operating an electronic device, An operation of performing wireless LAN communication with an external electronic device through a channel of the first bandwidth; An operation of selecting a second bandwidth based on the expected throughput of each of a plurality of bandwidths that can be supported for wireless LAN communication with the external electronic device during the wireless LAN communication; An operation of transmitting request information related to a change to the second bandwidth to the external electronic device when the second bandwidth is different from the first bandwidth, and A method including an action of changing the bandwidth for the wireless LAN communication to the second bandwidth when it is determined that the bandwidth change of the external electronic device is completed based on data received from the external electronic device.
10. In paragraph 9, Further comprising the action of checking whether the above external electronic device is included in the list of abnormal devices; A method wherein the operation of selecting the second bandwidth includes an operation of selecting the second bandwidth if the external electronic device is not included in the list of abnormal devices.
11. In either of paragraphs 9 or 10, A method further comprising an action of determining that a change in the bandwidth of the external electronic device is limited when the external electronic device is included in the list of abnormal devices.
12. In any one of paragraphs 9 to 11, A method further comprising an action of updating the list of abnormal devices based on information related to the external electronic device, if it is determined that the bandwidth change of the external electronic device is not completed.
13. In paragraph 9, After transmitting request information related to a change to the second bandwidth, an operation of checking the bandwidth of data received from the external electronic device; and A method further comprising an operation of determining that a bandwidth change of the external electronic device is completed when a specified number or more of data corresponding to the second bandwidth are received continuously during a specified time.
14. In paragraph 13, The action to check the above bandwidth is: If the second bandwidth is greater than the first bandwidth, an operation of transmitting request information related to a change to the second bandwidth, then changing to the second bandwidth, and checking the bandwidth of data received from the external electronic device based on the second bandwidth; and A method comprising: transmitting request information related to a change to the second bandwidth when the second bandwidth is smaller than the first bandwidth, and then checking the bandwidth of data received from the external electronic device based on the first bandwidth.
15. In paragraph 9, After transmitting request information related to a change to the second bandwidth, an operation of transmitting a designated request signal to the external electronic device, and A method further comprising: when a response signal corresponding to the specified request signal is received from the external electronic device, determining whether a bandwidth change of the external electronic device is completed based on the bandwidth of the response signal.
Citation Information
Patent Citations
Method for Channel Assignment in Multi-Radio Wireless Mesh Networks and Corresponding Network Node
US20090168706A1
Methods and apparatus for switching between a base channel and a 60 GHZ channel
US20120314614A1
Channel Switching to a White Space Band Through TDLS
US20130329693A1
Coordinated channel switch timing and transmissions in neighborhood awareness networks
US20230075068A1
Tunneled direct-link setup channel switching with non simultaneous transmit and receive operation
WO2023277460A1