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