How does Ruterbord -Bridge RSTP- decide which is root port?

I have a small problem hire
On my board is created Bridge1 and RSTP enabled (433Ah+R52Hn ether1,2,3+wlan1 in bridge1)
as I can see bridge1 is always selecting wlan1 role as root port - its like whatever I do
but when disconnect/reconnect occurs on wlan I m losing contact or ping with the board for 2 sec

when protocol mode is set to none I don’t have this kind of problem
Is there a way I can manual select interface role as root port like ether1,ether2.. or whatever just I don’t want some of my wireless interfaces to be as root port

Or let me be clear - How does ROuterBoard decide which of the interfaces will have a role as root port?
it must be simple
Many Thanks.

root path cost.

Thank you samsung172 but sorry I couldn’t understand u what I have to do
I find this post it has a good info about that
http://forum.mikrotik.com/t/rstp-path-cost-and-root-port-question/7882/1


This is my case
bridgerp.png
Now how can I change my interface role as root port?
Thanks.

Set an admin-mac on the bridge.

If you don’t set an admin-mac then the bridge uses the lowest mac address of its members, which means that the bridge reconfigures every time a wireless client connects/disconnects.

Nick

Many Thanks nickshore

this is exactly what is going on

I will check this out later, I need some reading before changing
I will back to u with replay

The root port is that bridge’s lowest cost path to the designated root bridge. See below:

http://en.wikipedia.org/wiki/Spanning_Tree_Protocol