The IEEE 802.11ah complements the other standards to provide support for machine-type communications (MTC) in local area network using a different spectrum from the highly congested WLAN operating at 2.4GHz/5GHz ISM bands. In order to satisfy massive station communications, the paper presents traffic indication map (TIM) compressed scheme for the Internet of Things and Smart Grid based on IEEE 802.11ah. The simulation results are discussed by evaluating the impact of the TIM compression on the system performance and cost. Results indicate that the proposed scheme has an acceptable cost and can support massive communications with higher performance enhancement. The proposed compressed TIM indication length can efficiently save the TIM bit map space and simultaneously be superior to the traditional structure.