Wireless sensor networks (WSNs) are envisioned to be a widely utilized technology in a smart grid (SG). Maximizing the network lifetime (NL) of WSNs in SG deployments is necessary to provide reliability and efficiency of the services offered to the entities involved. Harsh channel conditions in SG environments have a profound impact on the communication channel utilized by WSNs. Therefore, optimizing the transmission power level (TPL) and data packet size (DPS) is of paramount importance for prolonging the WSN NL. In both TPL and DPS optimizations, two general approaches are followed: utilizing a constant TPL and/or DPS or optimizing TPL and/or DPS for each link. However, the joint optimization of the TPL and DPS for each link has not been investigated in the literature. In this study, we present a mixed-integer programming framework, which utilizes a detailed link-layer abstraction to analyze nine TPL and DPS assignment strategies for WSNs employed in SG environments. The results of our analysis reveal that there is a large margin to be exploited in prolonging the WSN NL by an appropriate selection of the strategy to be used in TPL and DPS optimization.