I am studying for CCNA. In my book I read that wireless access points belong to OSI layer 2. I did some research and I found that is correct. This raised lots of questions in my head so I hope I don't get on your nerves :P
I know that these devices are connected to switches or routers, I also know that AP's use CSMA-CA (at layer 2).
Is this the only reason why they are Layer 2?
Is there some kind of switching table inside the AP where it associates MAC's with output interfaces? What logical stuff does an AP have inside it? I ask this because if it has to forward packets it has to choose whether to send to the air or to the switch or router direclty connected to it.