I have a question about the independence of the layers. I know that the layers in protocol stack are designed in a way to be independent from each other. I want to know does it mean also that we can use different combinations for the layers.
The reason I am asking this is that I notice that in network simulator 3 (ns-3), wifi module has its own mac layer and phy layer. I was wondering whether it is possible to use a phy layer module of a technology and use mac layer module of another technology, when specifying the layers of a node; or are they designed depending on each other? Could you please help me?