A method for wireless connection, the method being carried out by a network device in a mesh basic service set (MBSS) including N mesh gate(s), the N being a positive integer, the method comprising:
- in a first circumstance that the network device is not one of the N mesh gate(s) and is not connected with any of the N mesh gate(s), allowing the network device to connect with a gate candidate peer in the MBSS and forbidding the network device to connect with a non-gate candidate peer in the MBSS, in which the gate candidate peer announces that the gate candidate peer is or connects with one of the N mesh gate(s) while the non-gate candidate peer does not announce that the non-gate candidate peer is or connects with one of the N mesh gate(s);
- and
- in a second circumstance that the network device is one of the N mesh gate(s) or connected with any of the N mesh gate(s), allowing the network device to connect with any of the gate candidate peer and the non-gate candidate peer.