Effective data compression and sustainable management of limited bandwidth are the fundamental challenges in the design of current ad-hoc wireless networks. Dynamic Huffman coding protocol with optimal prefix-free codewords assigned to network parameters through cross-layer methodology can considerably address these issues for performance enhancement in these networks. In this paper, the entropy based Huffman binary and ternary coding schemes are implemented with cross-layer design in mobile ad-hoc networks. This cross-layer approach for achieving higher adaptivity incorporated four layers of the traditional networking stack. The simulation results demonstrated the performance tradeoff between throughput and coding metrics for the proposed cross-layer architecture. Moreover, our proposed model exhibits substantially higher compression ratio and coding efficiency than the other existing methods through the integration of this lossless coding protocol in the developed cross-layer framework.