Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dp2p.c12 const struct wmi_p2p_noa_info *noa) in ath10k_p2p_noa_ie_fill()
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 in ath10k_p2p_noa_ie_len_compute()
11 ath10k_p2p_noa_ie_fill(u8 *data, size_t len, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_ie_fill() argument
83 __ath10k_p2p_noa_update(struct ath10k_vif *arvif, const struct wmi_p2p_noa_info *noa) __ath10k_p2p_noa_update() argument
106 ath10k_p2p_noa_update(struct ath10k_vif *arvif, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_update() argument
118 const struct wmi_p2p_noa_info *noa; global() member
133 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
[all...]
H A Dp2p.h13 const struct wmi_p2p_noa_info *noa);
15 const struct wmi_p2p_noa_info *noa);
H A Dwmi-tlv.c406 const struct wmi_p2p_noa_info *noa; in ath10k_wmi_tlv_event_p2p_noa() local
417 noa = tb[WMI_TLV_TAG_STRUCT_P2P_NOA_INFO]; in ath10k_wmi_tlv_event_p2p_noa()
419 if (!ev || !noa) { in ath10k_wmi_tlv_event_p2p_noa()
427 "wmi tlv p2p noa vdev_id %i descriptors %hhu\n", in ath10k_wmi_tlv_event_p2p_noa()
428 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa()
430 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath10k_wmi_tlv_event_p2p_noa()
H A Dwmi.c3646 const struct wmi_p2p_noa_info *noa) in ath10k_wmi_update_noa()
3651 ath10k_dbg(ar, ATH10K_DBG_MGMT, "noa changed: %d\n", noa->changed); in ath10k_wmi_update_noa()
3653 if (noa->changed & WMI_P2P_NOA_CHANGED_BIT) in ath10k_wmi_update_noa()
3654 ath10k_p2p_noa_update(arvif, noa); in ath10k_wmi_update_noa()
3644 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
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dp2p.c12 const struct wmi_p2p_noa_info *noa) in ath10k_p2p_noa_ie_fill()
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 in ath10k_p2p_noa_ie_len_compute()
11 ath10k_p2p_noa_ie_fill(u8 *data, size_t len, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_ie_fill() argument
83 __ath10k_p2p_noa_update(struct ath10k_vif *arvif, const struct wmi_p2p_noa_info *noa) __ath10k_p2p_noa_update() argument
106 ath10k_p2p_noa_update(struct ath10k_vif *arvif, const struct wmi_p2p_noa_info *noa) ath10k_p2p_noa_update() argument
118 const struct wmi_p2p_noa_info *noa; global() member
133 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
[all...]
H A Dp2p.h13 const struct wmi_p2p_noa_info *noa);
15 const struct wmi_p2p_noa_info *noa);
H A Dwmi-tlv.c406 const struct wmi_p2p_noa_info *noa; in ath10k_wmi_tlv_event_p2p_noa() local
417 noa = tb[WMI_TLV_TAG_STRUCT_P2P_NOA_INFO]; in ath10k_wmi_tlv_event_p2p_noa()
419 if (!ev || !noa) { in ath10k_wmi_tlv_event_p2p_noa()
427 "wmi tlv p2p noa vdev_id %i descriptors %u\n", in ath10k_wmi_tlv_event_p2p_noa()
428 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa()
430 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath10k_wmi_tlv_event_p2p_noa()
H A Dwmi.c3646 const struct wmi_p2p_noa_info *noa) in ath10k_wmi_update_noa()
3651 ath10k_dbg(ar, ATH10K_DBG_MGMT, "noa changed: %d\n", noa->changed); in ath10k_wmi_update_noa()
3653 if (noa->changed & WMI_P2P_NOA_CHANGED_BIT) in ath10k_wmi_update_noa()
3654 ath10k_p2p_noa_update(arvif, noa); in ath10k_wmi_update_noa()
3644 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
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dchannel.c1432 if (!avp || !avp->noa.has_next_tsf) in ath9k_update_p2p_ps_timer()
1439 target_tsf = avp->noa.next_tsf; in ath9k_update_p2p_ps_timer()
1440 if (!avp->noa.absent) in ath9k_update_p2p_ps_timer()
1449 __func__, avp->noa.absent, tsf, target_tsf, in ath9k_update_p2p_ps_timer()
1472 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1513 struct ieee80211_p2p_noa_attr *noa; in ath9k_beacon_add_noa() local
1527 noa = skb_put_zero(skb, noa_len); in ath9k_beacon_add_noa()
1529 noa->index = avp->noa_index; in ath9k_beacon_add_noa()
1530 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); in ath9k_beacon_add_noa()
1531 if (noa in ath9k_beacon_add_noa()
[all...]
H A Dath9k.h641 struct ieee80211_noa_data noa; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dchannel.c1432 if (!avp || !avp->noa.has_next_tsf) in ath9k_update_p2p_ps_timer()
1439 target_tsf = avp->noa.next_tsf; in ath9k_update_p2p_ps_timer()
1440 if (!avp->noa.absent) in ath9k_update_p2p_ps_timer()
1449 __func__, avp->noa.absent, tsf, target_tsf, in ath9k_update_p2p_ps_timer()
1472 ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); in ath9k_update_p2p_ps()
1513 struct ieee80211_p2p_noa_attr *noa; in ath9k_beacon_add_noa() local
1527 noa = skb_put_zero(skb, noa_len); in ath9k_beacon_add_noa()
1529 noa->index = avp->noa_index; in ath9k_beacon_add_noa()
1530 noa->oppps_ctwindow = ath9k_get_ctwin(sc, avp); in ath9k_beacon_add_noa()
1531 if (noa in ath9k_beacon_add_noa()
[all...]
H A Dath9k.h642 struct ieee80211_noa_data noa; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c611 struct ieee80211_p2p_noa_attr *noa = in iwl_mvm_mac_ctxt_cmd_sta() local
614 cmd.p2p_sta.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_sta()
1178 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_go() local
1189 cmd.go.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1192 cpu_to_le32(!!(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1514 IWL_DEBUG_INFO(mvm, "Probe response data notif: noa %d, csa %d\n", in iwl_mvm_probe_resp_data_notif()
1585 "channel switch noa notification on unexpected vif (csa_vif=%d, notif=%d)", in iwl_mvm_channel_switch_noa_notif()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c630 struct ieee80211_p2p_noa_attr *noa = in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin() local
633 return cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin()
1333 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_go() local
1344 cmd.go.ctwin = cpu_to_le32(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1347 cpu_to_le32(!!(noa->oppps_ctwindow & in iwl_mvm_mac_ctxt_cmd_go()
1716 IWL_DEBUG_INFO(mvm, "Probe response data notif: noa %d, csa %d\n", in iwl_mvm_probe_resp_data_notif()
1811 "channel switch noa notification on unexpected vif (csa_vif=%d, notif=%d)", in iwl_mvm_channel_switch_start_notif()
/kernel/linux/linux-5.10/net/mac80211/
H A Dmlme.c4112 struct ieee80211_p2p_noa_attr noa = {}; in ieee80211_rx_mgmt_beacon() local
4118 (u8 *) &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()
4120 if (sdata->u.mgd.p2p_noa_index != noa.index) { in ieee80211_rx_mgmt_beacon()
4122 sdata->u.mgd.p2p_noa_index = noa.index; in ieee80211_rx_mgmt_beacon()
4123 memcpy(&bss_conf->p2p_noa_attr, &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()
/kernel/linux/linux-6.6/net/mac80211/
H A Dmlme.c6069 struct ieee80211_p2p_noa_attr noa = {}; in ieee80211_rx_mgmt_beacon() local
6075 (u8 *) &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()
6077 if (link->u.mgd.p2p_noa_index != noa.index) { in ieee80211_rx_mgmt_beacon()
6079 link->u.mgd.p2p_noa_index = noa.index; in ieee80211_rx_mgmt_beacon()
6080 memcpy(&bss_conf->p2p_noa_attr, &noa, sizeof(noa)); in ieee80211_rx_mgmt_beacon()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dcore.h1284 u32 noa: 1; member
1377 u8 noa: 1; member
1396 u8 noa: 1; member
1417 u8 noa: 1; member
H A Dfw.c2580 RTW89_SET_FWCMD_CXROLE_ACT_NOA(cmd, active->noa, i, offset); in rtw89_fw_h2c_cxdrv_role()
2661 RTW89_SET_FWCMD_CXROLE_ACT_NOA(cmd, active->noa, i, offset); in rtw89_fw_h2c_cxdrv_role_v1()
2751 RTW89_SET_FWCMD_CXROLE_ACT_NOA_V2(cmd, active->noa, i, offset); in rtw89_fw_h2c_cxdrv_role_v2()
H A Dcoex.c4501 wl_rinfo->active_role[cnt_active - 1].noa = (u8)wl_linfo[i].noa; in _update_wl_info()
4652 wl_rinfo->active_role_v1[cnt_active - 1].noa = (u8)wl_linfo[i].noa; in _update_wl_info_v1()
4802 wl_rinfo->active_role_v2[cnt_active - 1].noa = (u8)wl_linfo[i].noa; in _update_wl_info_v2()

Completed in 90 milliseconds