Reland "Enhance hostapd tests by checking beacon frame" Added required CMake add_dependeicies rule for hostapd. This reverts commit aa34db039c563abc09dc583fdd0db7d4ea6319c4. Reason for revert: reland with fix Change-Id: Ieb7de7b84910584f99dd973cdd1a61b95ef7ce70