摘要 |
The present disclosure relates to the field of wireless communications, and relates to a method and device for controlling access. The method comprises: when it is requested to access a wireless local area network, detecting whether a low density parity check code (LDPC) coding and decoding mode is adopted for communication with a router; when it is determined that the LDPC coding and decoding mode is adopted for communication with the router, establishing a connection with the router; and informing the router to broadcast information about the wireless local area network in a non-LDPC coding and decoding mode, the information about the wireless local area network being used for enabling a smart device to access the wireless local area network via the router. The device comprises: a detecting module, a connecting module and an informing module. The present disclosure implements access of a smart device having no LDPC coding ability to a wireless local area network via a router, and avoids appearance of access failure due to the fact that the smart device cannot be recognized as a broadcast message in an LDPC coding mode is received. |