Why did my Galaxy Tab 7.7 suddenly stopped connecting to my Wifi router?
The solution turns out very trivial and surprising. It shows and proves practically that the behavior of complex software systems is unpredictable.

The solution:
Go to Mobile network settings and disable Use packet data. Next, enable Wifi and then go back and enable Use packet data.

Magically, all my problems disappeared after I applied described steps.