Lines Matching refs:noa_attr
14 struct ieee80211_p2p_noa_attr *noa_attr; in ath12k_p2p_noa_ie_fill() local
15 u8 ctwindow = le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_CTWIN_TU); in ath12k_p2p_noa_ie_fill()
16 bool oppps = le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_OPP_PS); in ath12k_p2p_noa_ie_fill()
19 u8 noa_descriptors = le32_get_bits(noa->noa_attr, in ath12k_p2p_noa_ie_fill()
34 noa_attr = (struct ieee80211_p2p_noa_attr *)&data[9]; in ath12k_p2p_noa_ie_fill()
36 noa_attr->index = le32_get_bits(noa->noa_attr, in ath12k_p2p_noa_ie_fill()
38 noa_attr->oppps_ctwindow = ctwindow; in ath12k_p2p_noa_ie_fill()
40 noa_attr->oppps_ctwindow |= IEEE80211_P2P_OPPPS_ENABLE_BIT; in ath12k_p2p_noa_ie_fill()
43 noa_attr->desc[i].count = in ath12k_p2p_noa_ie_fill()
45 noa_attr->desc[i].duration = noa->descriptors[i].duration; in ath12k_p2p_noa_ie_fill()
46 noa_attr->desc[i].interval = noa->descriptors[i].interval; in ath12k_p2p_noa_ie_fill()
47 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; in ath12k_p2p_noa_ie_fill()
59 if (!(le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_DESC_NUM)) && in ath12k_p2p_noa_ie_len_compute()
60 !(le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_OPP_PS))) in ath12k_p2p_noa_ie_len_compute()
66 len += le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_DESC_NUM) * in ath12k_p2p_noa_ie_len_compute()