Searched refs:noa (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dp2p.c23 const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_ie_fill()
26 u8 ctwindow_oppps = noa->ctwindow_oppps; ath10k_p2p_noa_ie_fill()
31 u8 noa_descriptors = noa->num_descriptors; ath10k_p2p_noa_ie_fill()
47 noa_attr->index = noa->index; ath10k_p2p_noa_ie_fill()
54 __le32_to_cpu(noa->descriptors[i].type_count); ath10k_p2p_noa_ie_fill()
55 noa_attr->desc[i].duration = noa->descriptors[i].duration; ath10k_p2p_noa_ie_fill()
56 noa_attr->desc[i].interval = noa->descriptors[i].interval; ath10k_p2p_noa_ie_fill()
57 noa_attr->desc[i].start_time = noa->descriptors[i].start_time; ath10k_p2p_noa_ie_fill()
65 static size_t ath10k_p2p_noa_ie_len_compute(const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_ie_len_compute() argument
69 if (!noa->num_descriptors && ath10k_p2p_noa_ie_len_compute()
70 !(noa->ctwindow_oppps & WMI_P2P_OPPPS_ENABLE_BIT)) ath10k_p2p_noa_ie_len_compute()
74 len += 1 + 2; /* noa attr + attr len */ ath10k_p2p_noa_ie_len_compute()
76 len += noa->num_descriptors * sizeof(struct ieee80211_p2p_noa_desc); ath10k_p2p_noa_ie_len_compute()
95 const struct wmi_p2p_noa_info *noa) __ath10k_p2p_noa_update()
105 len = ath10k_p2p_noa_ie_len_compute(noa); __ath10k_p2p_noa_update()
113 ath10k_p2p_noa_ie_fill(ie, len, noa); __ath10k_p2p_noa_update()
118 const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_update()
123 __ath10k_p2p_noa_update(arvif, noa); ath10k_p2p_noa_update()
129 const struct wmi_p2p_noa_info *noa; member in struct:ath10k_p2p_noa_arg
141 ath10k_p2p_noa_update(arvif, arg->noa); ath10k_p2p_noa_update_vdev_iter()
145 const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_update_by_vdev_id()
149 .noa = noa, ath10k_p2p_noa_update_by_vdev_id()
22 ath10k_p2p_noa_ie_fill(u8 *data, size_t len, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_ie_fill() argument
94 __ath10k_p2p_noa_update(struct ath10k_vif *arvif, const struct wmi_p2p_noa_info *noa) __ath10k_p2p_noa_update() argument
117 ath10k_p2p_noa_update(struct ath10k_vif *arvif, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_update() argument
144 ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_update_by_vdev_id() argument
H A Dp2p.h24 const struct wmi_p2p_noa_info *noa);
26 const struct wmi_p2p_noa_info *noa);
H A Dwmi-tlv.c321 const struct wmi_p2p_noa_info *noa; ath10k_wmi_tlv_event_p2p_noa() local
332 noa = tb[WMI_TLV_TAG_STRUCT_P2P_NOA_INFO]; ath10k_wmi_tlv_event_p2p_noa()
334 if (!ev || !noa) { ath10k_wmi_tlv_event_p2p_noa()
342 "wmi tlv p2p noa vdev_id %i descriptors %hhu\n", ath10k_wmi_tlv_event_p2p_noa()
343 vdev_id, noa->num_descriptors); ath10k_wmi_tlv_event_p2p_noa()
345 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); ath10k_wmi_tlv_event_p2p_noa()
1620 struct wmi_p2p_noa_descriptor *noa; ath10k_wmi_tlv_op_gen_vdev_start() local
1678 noa = (void *)tlv->value; ath10k_wmi_tlv_op_gen_vdev_start()
H A Dwmi.c3131 const struct wmi_p2p_noa_info *noa) ath10k_wmi_update_noa()
3136 ath10k_dbg(ar, ATH10K_DBG_MGMT, "noa changed: %d\n", noa->changed); ath10k_wmi_update_noa()
3138 if (noa->changed & WMI_P2P_NOA_CHANGED_BIT) ath10k_wmi_update_noa()
3139 ath10k_p2p_noa_update(arvif, noa); ath10k_wmi_update_noa()
3129 ath10k_wmi_update_noa(struct ath10k *ar, struct ath10k_vif *arvif, struct sk_buff *bcn, const struct wmi_p2p_noa_info *noa) ath10k_wmi_update_noa() argument
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dchannel.c1407 if (!avp || !avp->noa.has_next_tsf) ath9k_update_p2p_ps_timer()
1414 target_tsf = avp->noa.next_tsf; ath9k_update_p2p_ps_timer()
1415 if (!avp->noa.absent) ath9k_update_p2p_ps_timer()
1437 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); ath9k_update_p2p_ps()
1478 struct ieee80211_p2p_noa_attr *noa; ath9k_beacon_add_noa() local
1493 noa = (void *) skb_put(skb, noa_len); ath9k_beacon_add_noa()
1494 memset(noa, 0, noa_len); ath9k_beacon_add_noa()
1496 noa->index = avp->noa_index; ath9k_beacon_add_noa()
1497 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); ath9k_beacon_add_noa()
1502 noa->desc[i].count = 255; ath9k_beacon_add_noa()
1503 noa->desc[i].interval = cpu_to_le32(interval); ath9k_beacon_add_noa()
1505 noa->desc[i].count = 1; ath9k_beacon_add_noa()
1508 noa->desc[i].start_time = cpu_to_le32(avp->noa_start); ath9k_beacon_add_noa()
1509 noa->desc[i].duration = cpu_to_le32(avp->noa_duration); ath9k_beacon_add_noa()
1514 noa->desc[i].count = 1; ath9k_beacon_add_noa()
1515 noa->desc[i].start_time = cpu_to_le32(avp->offchannel_start); ath9k_beacon_add_noa()
1516 noa->desc[i].duration = cpu_to_le32(avp->offchannel_duration); ath9k_beacon_add_noa()
1537 if (!avp->noa.absent) ath9k_p2p_ps_timer()
1540 if (!avp->noa.has_next_tsf || ath9k_p2p_ps_timer()
1541 avp->noa.next_tsf - tsf > BIT(31)) ath9k_p2p_ps_timer()
1542 ieee80211_update_p2p_noa(&avp->noa, tsf); ath9k_p2p_ps_timer()
1554 if (an->sleeping == !!avp->noa.absent) ath9k_p2p_ps_timer()
1557 an->sleeping = avp->noa.absent; ath9k_p2p_ps_timer()
H A Dath9k.h612 struct ieee80211_noa_data noa; member in struct:ath_vif
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dps.c749 /*to find noa ie*/ rtl_p2p_noa_ie()
841 /*to find noa ie*/ rtl_p2p_action_ie()
849 RT_PRINT_DATA(rtlpriv, COMP_FW, DBG_LOUD, "noa ie ", rtl_p2p_action_ie()
965 "count %x duration %x index %x interval %x start time %x noa num %x\n", rtl_p2p_ps_cmd()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dmac-ctxt.c779 struct ieee80211_p2p_noa_attr *noa = iwl_mvm_mac_ctxt_cmd_sta() local
782 cmd.p2p_sta.ctwin = cpu_to_le32(noa->oppps_ctwindow & iwl_mvm_mac_ctxt_cmd_sta()
1176 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; iwl_mvm_mac_ctxt_cmd_go() local
1194 cmd.go.ctwin = cpu_to_le32(noa->oppps_ctwindow & iwl_mvm_mac_ctxt_cmd_go()
1197 cpu_to_le32(!!(noa->oppps_ctwindow & iwl_mvm_mac_ctxt_cmd_go()
/linux-4.4.14/net/mac80211/
H A Dmlme.c3467 struct ieee80211_p2p_noa_attr noa = {}; ieee80211_rx_mgmt_beacon() local
3473 (u8 *) &noa, sizeof(noa)); ieee80211_rx_mgmt_beacon()
3475 if (sdata->u.mgd.p2p_noa_index != noa.index) { ieee80211_rx_mgmt_beacon()
3477 sdata->u.mgd.p2p_noa_index = noa.index; ieee80211_rx_mgmt_beacon()
3478 memcpy(&bss_conf->p2p_noa_attr, &noa, sizeof(noa)); ieee80211_rx_mgmt_beacon()

Completed in 389 milliseconds