mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-09 08:33:35 +00:00
The Notice of Absence (NoA) attribute is used by the P2P Group Owner to signal its absence due to power save timing, concurrent operation, or off-channel scanning. It is also used in the P2P Presence Request-Response mechanism. The NoA attribute shall be present in the P2P IE in the beacon frames transmitted by a P2P Group Owner when a NoA schedule is being advertised, or when the CTWindow is non-zero. So add support to update P2P information after P2P GO is up through event WMI_P2P_NOA_EVENTID, and always put it in probe resp. Create p2p.c and p2p.h for P2P related functions and definitions. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Kang Yang <quic_kangyang@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://msgid.link/20240130040303.370590-6-quic_kangyang@quicinc.com
24 lines
539 B
C
24 lines
539 B
C
/* SPDX-License-Identifier: ISC */
|
|
/*
|
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved..
|
|
*/
|
|
|
|
#ifndef ATH12K_P2P_H
|
|
#define ATH12K_P2P_H
|
|
|
|
#include "wmi.h"
|
|
|
|
struct ath12k_wmi_p2p_noa_info;
|
|
|
|
struct ath12k_p2p_noa_arg {
|
|
u32 vdev_id;
|
|
const struct ath12k_wmi_p2p_noa_info *noa;
|
|
};
|
|
|
|
void ath12k_p2p_noa_update(struct ath12k_vif *arvif,
|
|
const struct ath12k_wmi_p2p_noa_info *noa);
|
|
void ath12k_p2p_noa_update_by_vdev_id(struct ath12k *ar, u32 vdev_id,
|
|
const struct ath12k_wmi_p2p_noa_info *noa);
|
|
|
|
#endif
|