The firmware should have the stack built in, at least what is needed to establish the basic connection... What is included beyond that will depend upon the unit, some basic modules will have the bare minimum others will have a lot more that makes interfacing to them or specific functions easier...