Information transfer between turbulent boundary layers and porous media