当前位置:网站首页>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 .
边栏推荐
- 考研數學 【數列極限證明題】題型方法總結
- 2161. 根据给定数字划分数组
- OpenCV CEO教你用OAK(四):创建复杂的管道
- Openstack explanation (24) -- registration of neutron service
- Some learning records I=
- Automation operation and maintenance articles collection
- [scheme development] scheme of infrared thermometer
- Openstack explanation (21) -- installation and configuration of neutron components
- ESP8266_通过MQTT协议连接阿里云
- ERP体系的这些优势,你知道吗?
猜你喜欢
![[image processing] spatial domain image enhancement](/img/d9/6afee1006570651ccf93ed8da95dd3.png)
[image processing] spatial domain image enhancement

Analysis of high frequency interview questions in massive data processing

Day41 process pool and thread pool

Output image is bigger (1228800b) than maximum frame size specified in properties (1048576b)

Machine learning notes - convolutional neural network memo list

Augmented reality experiment IV of Shandong University

OpenCV CEO教你用OAK(五):基于OAK-D和DepthAI的反欺骗人脸识别系统

Detailed explanation of the difference between construction method and method

ArcGIS 10.9.1 geological and meteorological volume metadata processing and service publishing and calling

ESP8266_通过MQTT协议连接阿里云
随机推荐
[TiO websocket] III. The TiO websocket server can send messages to users anywhere
document对象
Augmented reality experiment IV of Shandong University
ESP8266_SmartConfig
Day 47 how to query a table
报错[error] input tesnor exceeds available data range [NeuralNetwork(3)] [error] Input tensor ‘0‘ (0)
Concurrent programming
Device = depthai Device(““, False) TypeError: _init_(): incompatible constructor arguments.
js中的事件
1400. 构造 K 个回文字符串
报错Output image is bigger(1228800B) than maximum frame size specified in properties(1048576B)
ERP体系的这些优势,你知道吗?
Redis source code analysis hash object (z\u hash)
Day45 storage engine data type integer floating point character type date type enumeration and set type constraints table to table relationships
How to deal with these problems in the factory production process?
远程办公最佳实践及策略
[scheme development] scheme of infrared thermometer
【软件】大企业ERP选型的方法
【ERP体系】专业技术层面的评估,你了解多少?
Sed explanation of shell script (SED command, sed -e, sed s/ new / old /...)