Home
last modified time | relevance | path

Searched refs:noa (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/wireless/ath/ath10k/
H A Dp2p.c12 const struct wmi_p2p_noa_info *noa) in ath10k_p2p_noa_ie_fill() argument
15 u8 ctwindow_oppps = noa->ctwindow_oppps; in ath10k_p2p_noa_ie_fill()
20 u8 noa_descriptors = noa->num_descriptors; in ath10k_p2p_noa_ie_fill()
36 noa_attr->index = noa->index; in ath10k_p2p_noa_ie_fill()
43 __le32_to_cpu(noa->descriptors[i].type_count); in ath10k_p2p_noa_ie_fill()
44 noa_attr->desc[i].duration = noa->descriptors[i].duration; in ath10k_p2p_noa_ie_fill()
45 noa_attr->desc[i].interval = noa->descriptors[i].interval; in ath10k_p2p_noa_ie_fill()
46 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; in ath10k_p2p_noa_ie_fill()
54 static size_t ath10k_p2p_noa_ie_len_compute(const struct wmi_p2p_noa_info *noa) in ath10k_p2p_noa_ie_len_compute() argument
58 if (!noa->num_descriptors && in ath10k_p2p_noa_ie_len_compute()
[all …]
H A Dp2p.h13 const struct wmi_p2p_noa_info *noa);
15 const struct wmi_p2p_noa_info *noa);
H A Dwmi-tlv.c407 const struct wmi_p2p_noa_info *noa; in ath10k_wmi_tlv_event_p2p_noa() local
418 noa = tb[WMI_TLV_TAG_STRUCT_P2P_NOA_INFO]; in ath10k_wmi_tlv_event_p2p_noa()
420 if (!ev || !noa) { in ath10k_wmi_tlv_event_p2p_noa()
429 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa()
431 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath10k_wmi_tlv_event_p2p_noa()
H A Dwmi.c3675 const struct wmi_p2p_noa_info *noa) in ath10k_wmi_update_noa() argument
3680 ath10k_dbg(ar, ATH10K_DBG_MGMT, "noa changed: %d\n", noa->changed); in ath10k_wmi_update_noa()
3682 if (noa->changed & WMI_P2P_NOA_CHANGED_BIT) in ath10k_wmi_update_noa()
3683 ath10k_p2p_noa_update(arvif, noa); in ath10k_wmi_update_noa()
/linux/drivers/net/wireless/ath/ath12k/
H A Dp2p.c13 const struct ath12k_wmi_p2p_noa_info *noa) in ath12k_p2p_noa_ie_fill() argument
16 u8 ctwindow = le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_CTWIN_TU); in ath12k_p2p_noa_ie_fill()
17 bool oppps = le32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_OPP_PS); in ath12k_p2p_noa_ie_fill()
20 u8 noa_descriptors = le32_get_bits(noa->noa_attr, in ath12k_p2p_noa_ie_fill()
37 noa_attr->index = le32_get_bits(noa->noa_attr, in ath12k_p2p_noa_ie_fill()
45 __le32_to_cpu(noa->descriptors[i].type_count); in ath12k_p2p_noa_ie_fill()
46 noa_attr->desc[i].duration = noa->descriptors[i].duration; in ath12k_p2p_noa_ie_fill()
47 noa_attr->desc[i].interval = noa->descriptors[i].interval; in ath12k_p2p_noa_ie_fill()
48 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; in ath12k_p2p_noa_ie_fill()
56 static size_t ath12k_p2p_noa_ie_len_compute(const struct ath12k_wmi_p2p_noa_info *noa) in ath12k_p2p_noa_ie_len_compute() argument
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dp2p.c12 const struct ath11k_wmi_p2p_noa_info *noa) in ath11k_p2p_noa_ie_fill() argument
21 ctwindow = u32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_CTWIN_TU); in ath11k_p2p_noa_ie_fill()
22 oppps = u32_get_bits(noa->noa_attr, WMI_P2P_NOA_INFO_OPP_PS); in ath11k_p2p_noa_ie_fill()
23 noa_descriptors = u32_get_bits(noa->noa_attr, in ath11k_p2p_noa_ie_fill()
39 noa_attr->index = u32_get_bits(noa->noa_attr, in ath11k_p2p_noa_ie_fill()
46 noa_attr->desc[i].count = noa->descriptors[i].type_count; in ath11k_p2p_noa_ie_fill()
48 cpu_to_le32(noa->descriptors[i].duration); in ath11k_p2p_noa_ie_fill()
50 cpu_to_le32(noa->descriptors[i].interval); in ath11k_p2p_noa_ie_fill()
52 cpu_to_le32(noa->descriptors[i].start_time); in ath11k_p2p_noa_ie_fill()
61 ath11k_p2p_noa_ie_len_compute(const struct ath11k_wmi_p2p_noa_info *noa) in ath11k_p2p_noa_ie_len_compute() argument
[all …]
H A Dp2p.h15 const struct ath11k_wmi_p2p_noa_info *noa; member
19 const struct ath11k_wmi_p2p_noa_info *noa);
21 const struct ath11k_wmi_p2p_noa_info *noa);
H A Dwmi.c8708 const struct ath11k_wmi_p2p_noa_info *noa; in ath11k_wmi_p2p_noa_event() local
8720 noa = tb[WMI_TAG_P2P_NOA_INFO]; in ath11k_wmi_p2p_noa_event()
8722 if (!ev || !noa) in ath11k_wmi_p2p_noa_event()
8726 noa_descriptors = u32_get_bits(noa->noa_attr, in ath11k_wmi_p2p_noa_event()
8747 ath11k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath11k_wmi_p2p_noa_event()
/linux/drivers/net/wireless/ath/ath9k/
H A Dchannel.c1427 if (!avp || !avp->noa.has_next_tsf) in ath9k_update_p2p_ps_timer()
1434 target_tsf = avp->noa.next_tsf; in ath9k_update_p2p_ps_timer()
1435 if (!avp->noa.absent) in ath9k_update_p2p_ps_timer()
1444 __func__, avp->noa.absent, tsf, target_tsf, in ath9k_update_p2p_ps_timer()
1467 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1508 struct ieee80211_p2p_noa_attr *noa; in ath9k_beacon_add_noa() local
1522 noa = skb_put_zero(skb, noa_len); in ath9k_beacon_add_noa()
1524 noa->index = avp->noa_index; in ath9k_beacon_add_noa()
1525 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); in ath9k_beacon_add_noa()
1526 if (noa->oppps_ctwindow) in ath9k_beacon_add_noa()
[all …]
H A Dath9k.h642 struct ieee80211_noa_data noa; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c637 struct ieee80211_p2p_noa_attr *noa = in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin() local
640 return cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin()
1344 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_go() local
1355 cmd.go.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1358 cpu_to_le32(!!(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
/linux/net/mac80211/
H A Dmlme.c7517 struct ieee80211_p2p_noa_attr noa = {}; in ieee80211_rx_mgmt_beacon() local
7523 (u8 *) &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()
7525 if (link->u.mgd.p2p_noa_index != noa.index) { in ieee80211_rx_mgmt_beacon()
7527 link->u.mgd.p2p_noa_index = noa.index; in ieee80211_rx_mgmt_beacon()
7528 memcpy(&bss_conf->p2p_noa_attr, &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()