mbox series

[0/5] prepare work for monitor mode on WCN7850

Message ID 20240429081525.983-1-quic_kangyang@quicinc.com
Headers show
Series prepare work for monitor mode on WCN7850 | expand

Message

Kang Yang April 29, 2024, 8:15 a.m. UTC
From: Kang Yang <quic_kangyang@quicinc.com>

Preliminary plan:
1. prepare work.
2. bring up monitor mode on WCN7850.
3. add handling of reported TLVs for monitor mode, such as
HAL_PHYRX_GENERIC_U_SIG, HAL_PHYRX_COMMON_USER_INFO. Then can support
parsing EHT information.

This patch-set is only to do some preparation work for monitor mode.

Kang Yang (5):
  wifi: ath12k: remove unused variable monitor_flags
  wifi: ath12k: avoid duplicated vdev stop
  wifi: ath12k: avoid duplicated vdev down
  wifi: ath12k: remove redundant peer delete
  wifi: ath12k: remove invalid peer create logic

 drivers/net/wireless/ath/ath12k/core.h |  5 ----
 drivers/net/wireless/ath/ath12k/mac.c  | 38 ++------------------------
 2 files changed, 3 insertions(+), 40 deletions(-)


base-commit: bf99bc7423e18aa3475ef00a7a6fb773c31ce6df

Comments

Jeff Johnson April 30, 2024, 1:49 a.m. UTC | #1
On 4/29/2024 1:15 AM, kangyang wrote:
> From: Kang Yang <quic_kangyang@quicinc.com>
> 
> monitor_flags is defined in struct ath12k. Although it is changed in
> some places, but it is not actually used.
> 
> So remove related code.
> 
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Jeff Johnson April 30, 2024, 1:55 a.m. UTC | #2
On 4/29/2024 1:15 AM, kangyang wrote:
> From: Kang Yang <quic_kangyang@quicinc.com>
> 
> In ath12k_mac_op_assign_vif_chanctx(), there is a logic to
> create peer using ar->mac_addr for a STA vdev. This is invalid
> because a STA vdev should have a peer created using AP's
> MAC address. Besides, if we run into that logic, it means a peer
> has already been created earlier, we should not create it again.
> So remove it.
> 
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>