Lines Matching refs:noa

1398 	if (!avp || !avp->noa.has_next_tsf)  in ath9k_update_p2p_ps_timer()
1405 target_tsf = avp->noa.next_tsf; in ath9k_update_p2p_ps_timer()
1406 if (!avp->noa.absent) in ath9k_update_p2p_ps_timer()
1428 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1469 struct ieee80211_p2p_noa_attr *noa; in ath9k_beacon_add_noa() local
1484 noa = (void *) skb_put(skb, noa_len); in ath9k_beacon_add_noa()
1485 memset(noa, 0, noa_len); in ath9k_beacon_add_noa()
1487 noa->index = avp->noa_index; in ath9k_beacon_add_noa()
1488 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); in ath9k_beacon_add_noa()
1493 noa->desc[i].count = 255; in ath9k_beacon_add_noa()
1494 noa->desc[i].interval = cpu_to_le32(interval); in ath9k_beacon_add_noa()
1496 noa->desc[i].count = 1; in ath9k_beacon_add_noa()
1499 noa->desc[i].start_time = cpu_to_le32(avp->noa_start); in ath9k_beacon_add_noa()
1500 noa->desc[i].duration = cpu_to_le32(avp->noa_duration); in ath9k_beacon_add_noa()
1505 noa->desc[i].count = 1; in ath9k_beacon_add_noa()
1506 noa->desc[i].start_time = cpu_to_le32(avp->offchannel_start); in ath9k_beacon_add_noa()
1507 noa->desc[i].duration = cpu_to_le32(avp->offchannel_duration); in ath9k_beacon_add_noa()
1528 if (!avp->noa.absent) in ath9k_p2p_ps_timer()
1531 if (!avp->noa.has_next_tsf || in ath9k_p2p_ps_timer()
1532 avp->noa.next_tsf - tsf > BIT(31)) in ath9k_p2p_ps_timer()
1533 ieee80211_update_p2p_noa(&avp->noa, tsf); in ath9k_p2p_ps_timer()
1545 if (an->sleeping == !!avp->noa.absent) in ath9k_p2p_ps_timer()
1548 an->sleeping = avp->noa.absent; in ath9k_p2p_ps_timer()