当前位置:网站首页>How do we connect to WiFi?
How do we connect to WiFi?
2022-06-11 09:37:00 【Little tiger_ IOT】
0、 How we connect WiFi Of —— No problem answer
- open WiFi switch ;
- Choose the WiFi, Input password ;
- Click to connect ;
1、 How we connect WiFi Of
- scanning SSID;
- authentication ;
- relation ;
1.1、 scanning SSID
SSID Namely WiFi The name of , scanning SSID It's discovery WiFi The process of , It is divided into active scanning and passive scanning ;
- Active scanning :STA Send on all channels Probe Request frame , received Probe Request The frame of AP Will respond to Probe Response, To discover SSID;
- Passive scanning :AP To approximate 100ms Send at regular intervals Beacon frame , And that includes SSID Information about ,STA Listen for each channel Beacon Frame to get SSID;
Passive scanning depends on AP send out Beacon frame ,Beacon Frames are spaced , You can even set the ratio 100ms Also long ;
Active scanning , received Probe Request The frame of AP Will respond Probe Response, therefore Active scanning is faster ;
actually , Active scanning and passive scanning are blend It works , For example 1 Send over the channel Probe Request At the frame , You can also receive 1 On the channel Beacon frame ,1 Switch after channel detection 2 channel , Cycle until all channels are measured ;
1.1.1、 channel
WiFi Yes 2.4G and 5G Equal frequency band ,2.4G The range of the frequency band is 2.400GHz-2.497GHz;
Every time 20MHz Divided into one channel , altogether 14 Channels , China only uses 1~13 channel ;
As you can see from the diagram , There may be overlap between channels , But if the interval is used, such as 1、6、11 It's independent of each other ;

1.1.2、Beacon frame ( Beacon frame )
This article Beacon The frame is very detailed , I just take a picture to illustrate Beacon The information contained in the frame ;

1.1.3、Probe Request frame ( Detection frame )
SSID Field
- If SSID It's empty , Then all on the channel AP After receiving the probe frame, it will respond ;
- If SSID It's specific WiFi name , Only this AP To respond to ;

1.1.4、Probe Responset frame ( Probe response frame )
The information returned is SSID、Rates、Channel etc. ;
And above Beacon Compare the information sent by the frame , It is found that many fields have ;

1.2、 authentication
Authentication is equivalent to entering WiFi password , Not to know SSID Of STA Can access your WiFi, It is divided into :
- Shared key authentication ( It has been eliminated );
- Open systems certification :WPA/WPA2/WPA3, It is also divided into home version and enterprise version Personal、Enterprise, What we often use is WPA/WPA2-Personal encryption ;
Authentication phase , need STA towards AP send out Authentication( Identity Authentication ) frame ,AP If the verification is successful, an Authentication frame ;
1.3、 relation
After certification , It doesn't mean you joined WiFi The Internet , You have permission to join this AP;
Because a AP It often needs more than one STA Access , Distinguish between STA, Just know to enter AP You need to know which data to send STA, Such as the use of MAC Address Association ;
- Association Request frame : The frame used after link authentication , Request to join Wi-Fi The Internet ;
- Association Response frame : Send after successful association , contain Association ID( Association identifier );
1.4、 De Certification
Deauthentication frame : stay STA Exit or switch WiFi When you use , Used to terminate an authentication relationship , Contains the reason code for exiting .
边栏推荐
- Talk about how to customize data desensitization
- 1400. construct K palindrome strings
- Simulation of map and set
- js中关键字this的理解
- Typescript -- preliminary study of variable declaration
- Importance of implementation of clothing ERP in the project
- Modularnotfounderror: no module named 'find_ version’
- Concurrent programming
- How to deal with these problems in the factory production process?
- MSF SMB based information collection
猜你喜欢

Machine learning notes - convolutional neural network memo list

Bowen dry goods | Apache inlong uses Apache pulsar to create data warehousing

js基础--关于DOM

考研数学 【数列极限证明题】题型方法总结

我们是如何连上WiFi的?

Type-C扩展坞自适应供电专利维权案例

affair

Opencv CEO teaches you to use oak (IV): create complex pipelines

Day45 storage engine data type integer floating point character type date type enumeration and set type constraints table to table relationships

keyboard entry.
随机推荐
1400. construct K palindrome strings
Machine learning notes - convolutional neural network memo list
Output image is bigger (1228800b) than maximum frame size specified in properties (1048576b)
Talk about how to customize data desensitization
Day39 process object and other method mutexes
Talk about reading the source code
Detailed explanation of the difference between construction method and method
Opencv CEO teaches you to use oak (IV): create complex pipelines
Identifier keyword literal data type base conversion character encoding variable data type explanation operator
报错ModularNotFoundError: No module named ‘find_version’
Use of MSF evaluation module
1493. 删掉一个元素以后全为 1 的最长子数组
【软件】大企业ERP选型的方法
Automation operation and maintenance articles collection
Blinn Phong reflection model
剑指 Offer II 041. 滑动窗口的平均值
document对象
Where is it safer to open an account for soda ash futures? How much do you need to buy at least?
Typescript -- preliminary study of variable declaration
关于原型及原型链