Lines Matching refs:common
53 struct ath_common *common = ath9k_hw_common(ah); in ath9k_wow_add_disassoc_deauth_pattern() local
108 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
113 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
172 struct ath_common *common = ath9k_hw_common(ah); in ath9k_suspend() local
180 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_suspend()
181 ath_err(common, "Device not present\n"); in ath9k_suspend()
187 ath_err(common, "None of the WoW triggers enabled\n"); in ath9k_suspend()
193 ath_dbg(common, WOW, "WoW for multivif is not yet supported\n"); in ath9k_suspend()
199 if (test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags)) { in ath9k_suspend()
200 ath_dbg(common, WOW, in ath9k_suspend()
207 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath9k_suspend()
208 ath_dbg(common, WOW, "None of the STA vifs are associated\n"); in ath9k_suspend()
215 ath_dbg(common, WOW, "No valid WoW triggers\n"); in ath9k_suspend()
233 ath_err(common, in ath9k_suspend()
241 ath_err(common, in ath9k_suspend()
272 ath_dbg(common, WOW, "Suspend with WoW triggers: 0x%x\n", triggers); in ath9k_suspend()
274 set_bit(ATH_OP_WOW_ENABLED, &common->op_flags); in ath9k_suspend()
284 struct ath_common *common = ath9k_hw_common(ah); in ath9k_resume() local
301 ath_dbg(common, WOW, "Resume with WoW status: 0x%x\n", status); in ath9k_resume()
306 clear_bit(ATH_OP_WOW_ENABLED, &common->op_flags); in ath9k_resume()
317 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_wakeup() local
323 ath_dbg(common, WOW, "WoW wakeup source is %s\n", in ath9k_set_wakeup()