UNIT I - Mac & Routing in Ad Hoc Networks Introduction – Issues and challenges in ad hoc networks – MAC Layer Protocols for wireless ad hoc networks – Contention-Based MAC protocols – MAC Protocols Using Directional Antennas – Multiple-Channel MAC Protocols – Power-Aware MAC Protocols – Routing in Ad hoc Networks – Design Issues – Proactive, Reactive and Hybrid Routing Protocols (Chapters - 1, 2, 3) UNIT II - Transport & QoS in Ad Hoc Networks TCP’s challenges and Design Issues in Ad Hoc Networks – Transport protocols for ad hoc networks – Issues and Challenges in providing QoS – MAC Layer QoS solutions – Network Layer QoS solutions – QoS Model (Chapters - 4, 5) UNIT III - Mac & Routing in Wireless Sensor Networks Introduction – Applications – Challenges – Sensor network architecture – MAC Protocols for wireless sensor networks – Low duty cycle protocols and wakeup concepts – Contention-Based protocols – Schedule-Based protocols – IEEE 802.15.4 Zigbee – Topology Control – Routing Protocols (Chapters - 6, 7, 8) UNIT IV - Transport & QoS in Wireless Sensor Networks Data-Centric and Contention-Based Networking – Transport Layer and QoS in Wireless Sensor Networks – Congestion Control in network processing – Operating systems for wireless sensor networks – Examples (Chapters - 9, 10, 11) UNIT V - Security in Ad Hoc and Sensor Networks Security Attacks – Key Distribution and Management – Intrusion Detection – Software based Anti-tamper techniques – Water marking techniques – Defense against routing attacks - Secure Ad hoc routing protocols – Broadcast authentication WSN protocols – TESLA – Biba – Sensor Network Security Protocols – SPINS (Chapter - 12)