A wireless communication terminal that ensures communication using a frequency
band suitable for line-of-sight communication even if an obstruction is present
in a wireless communication path or a status of a radio wave propagation path dynamically
changes. An initial detecting section detects whether it is possible to communicate
with another terminal of a master station mode. If communication is possible, a
slave-mode setting section sets up a slave station mode, registers the other terminal
in a master terminal storage section and transmits to the other terminal a communication
indicating that a local terminal is subordinate to the master terminal. If communication
is not possible, a master-mode setting section sets up a master station mode when
a transmission is received indicating that the other terminal is subordinate to
the local terminal. A slave terminal registration section registers the other terminal
in a slave terminal storage section. A master station maintenance detection section
checks regularly if communication with a slave station is possible. A slave station
maintenance detection section checks regularly if communication with a master station
is possible. If communication is not possible, an undetermined-mode setting section
sets up an undetermined mode and a transmission section transmits a message that
is received by a reception section.