The below diagram shows WIFI Architecture of infrastructure mode, it is based on Android4.2 and Broadcom 4330 chipset.