Lines Matching refs:noa

1432 	if (!avp || !avp->noa.has_next_tsf)  in ath9k_update_p2p_ps_timer()
1439 target_tsf = avp->noa.next_tsf; in ath9k_update_p2p_ps_timer()
1440 if (!avp->noa.absent) in ath9k_update_p2p_ps_timer()
1449 __func__, avp->noa.absent, tsf, target_tsf, in ath9k_update_p2p_ps_timer()
1472 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1513 struct ieee80211_p2p_noa_attr *noa; in ath9k_beacon_add_noa() local
1527 noa = skb_put_zero(skb, noa_len); in ath9k_beacon_add_noa()
1529 noa->index = avp->noa_index; in ath9k_beacon_add_noa()
1530 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); in ath9k_beacon_add_noa()
1531 if (noa->oppps_ctwindow) in ath9k_beacon_add_noa()
1532 noa->oppps_ctwindow |= BIT(7); in ath9k_beacon_add_noa()
1537 noa->desc[i].count = 255; in ath9k_beacon_add_noa()
1538 noa->desc[i].interval = cpu_to_le32(interval); in ath9k_beacon_add_noa()
1540 noa->desc[i].count = 1; in ath9k_beacon_add_noa()
1543 noa->desc[i].start_time = cpu_to_le32(avp->noa_start); in ath9k_beacon_add_noa()
1544 noa->desc[i].duration = cpu_to_le32(avp->noa_duration); in ath9k_beacon_add_noa()
1549 noa->desc[i].count = 1; in ath9k_beacon_add_noa()
1550 noa->desc[i].start_time = cpu_to_le32(avp->offchannel_start); in ath9k_beacon_add_noa()
1551 noa->desc[i].duration = cpu_to_le32(avp->offchannel_duration); in ath9k_beacon_add_noa()
1572 if (!avp->noa.absent) in ath9k_p2p_ps_timer()
1577 if (!avp->noa.has_next_tsf || in ath9k_p2p_ps_timer()
1578 avp->noa.next_tsf - tsf > BIT(31)) in ath9k_p2p_ps_timer()
1579 ieee80211_update_p2p_noa(&avp->noa, tsf); in ath9k_p2p_ps_timer()
1591 if (an->sleeping == !!avp->noa.absent) in ath9k_p2p_ps_timer()
1594 an->sleeping = avp->noa.absent; in ath9k_p2p_ps_timer()