Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dp2p.c23 const struct wmi_p2p_noa_info *noa) in ath10k_p2p_noa_ie_fill() argument
26 u8 ctwindow_oppps = noa->ctwindow_oppps; in ath10k_p2p_noa_ie_fill()
31 u8 noa_descriptors = noa->num_descriptors; in ath10k_p2p_noa_ie_fill()
47 noa_attr->index = noa->index; in ath10k_p2p_noa_ie_fill()
54 __le32_to_cpu(noa->descriptors[i].type_count); in ath10k_p2p_noa_ie_fill()
55 noa_attr->desc[i].duration = noa->descriptors[i].duration; in ath10k_p2p_noa_ie_fill()
56 noa_attr->desc[i].interval = noa->descriptors[i].interval; in ath10k_p2p_noa_ie_fill()
57 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; in ath10k_p2p_noa_ie_fill()
65 static size_t ath10k_p2p_noa_ie_len_compute(const struct wmi_p2p_noa_info *noa) in ath10k_p2p_noa_ie_len_compute() argument
69 if (!noa->num_descriptors && in ath10k_p2p_noa_ie_len_compute()
[all …]
Dp2p.h24 const struct wmi_p2p_noa_info *noa);
26 const struct wmi_p2p_noa_info *noa);
Dwmi-tlv.c321 const struct wmi_p2p_noa_info *noa; in ath10k_wmi_tlv_event_p2p_noa() local
332 noa = tb[WMI_TLV_TAG_STRUCT_P2P_NOA_INFO]; in ath10k_wmi_tlv_event_p2p_noa()
334 if (!ev || !noa) { in ath10k_wmi_tlv_event_p2p_noa()
343 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa()
345 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath10k_wmi_tlv_event_p2p_noa()
1620 struct wmi_p2p_noa_descriptor *noa; in ath10k_wmi_tlv_op_gen_vdev_start() local
1678 noa = (void *)tlv->value; in ath10k_wmi_tlv_op_gen_vdev_start()
Dwmi.c3131 const struct wmi_p2p_noa_info *noa) in ath10k_wmi_update_noa() argument
3136 ath10k_dbg(ar, ATH10K_DBG_MGMT, "noa changed: %d\n", noa->changed); in ath10k_wmi_update_noa()
3138 if (noa->changed & WMI_P2P_NOA_CHANGED_BIT) in ath10k_wmi_update_noa()
3139 ath10k_p2p_noa_update(arvif, noa); in ath10k_wmi_update_noa()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dchannel.c1407 if (!avp || !avp->noa.has_next_tsf) in ath9k_update_p2p_ps_timer()
1414 target_tsf = avp->noa.next_tsf; in ath9k_update_p2p_ps_timer()
1415 if (!avp->noa.absent) in ath9k_update_p2p_ps_timer()
1437 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1478 struct ieee80211_p2p_noa_attr *noa; in ath9k_beacon_add_noa() local
1493 noa = (void *) skb_put(skb, noa_len); in ath9k_beacon_add_noa()
1494 memset(noa, 0, noa_len); in ath9k_beacon_add_noa()
1496 noa->index = avp->noa_index; in ath9k_beacon_add_noa()
1497 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); in ath9k_beacon_add_noa()
1502 noa->desc[i].count = 255; in ath9k_beacon_add_noa()
[all …]
Dath9k.h612 struct ieee80211_noa_data noa; member
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac-ctxt.c779 struct ieee80211_p2p_noa_attr *noa = in iwl_mvm_mac_ctxt_cmd_sta() local
782 cmd.p2p_sta.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_sta()
1176 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_go() local
1194 cmd.go.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1197 cpu_to_le32(!!(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
/linux-4.4.14/net/mac80211/
Dmlme.c3467 struct ieee80211_p2p_noa_attr noa = {}; in ieee80211_rx_mgmt_beacon() local
3473 (u8 *) &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()
3475 if (sdata->u.mgd.p2p_noa_index != noa.index) { in ieee80211_rx_mgmt_beacon()
3477 sdata->u.mgd.p2p_noa_index = noa.index; in ieee80211_rx_mgmt_beacon()
3478 memcpy(&bss_conf->p2p_noa_attr, &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()