qcacld-3.0: Drop P2P Negotiation req on non-Social 2.4 GHz channel
P2P GO negotiation request is supposed to come only on DUT listen channel. But there may be chance of leakage on 2.4 GHz because the ADC sampling rate is 60 MHz, DUT would receive the attenuated (Rx BBF filter) signal 60 MHz away. So, the req may get received in non-social channel. fix is, add new logic to drop the P2P Go Negotiation request if it is received on non-social channel. Change-Id: I12ddddd47cd9b494f618b1ba9b383118221ff9d2 CRs-Fixed: 3808813
这个提交包含在:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -63,6 +63,16 @@ QDF_STATUS wlan_p2p_cleanup_roc_by_vdev(struct wlan_objmgr_vdev *vdev,
|
||||
*/
|
||||
QDF_STATUS wlan_p2p_status_connect(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* wlan_p2p_is_action_frame_of_p2p_type() - Given action frame is p2p type or
|
||||
* not
|
||||
* @data_buf: data buffer address
|
||||
* @length: buffer length
|
||||
*
|
||||
* Return: bool
|
||||
*/
|
||||
bool wlan_p2p_is_action_frame_of_p2p_type(uint8_t *data_buf, uint32_t length);
|
||||
|
||||
/**
|
||||
* wlan_p2p_abort_scan() - Abort on going scan on p2p interfaces
|
||||
* @pdev: pdev object
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "../../core/src/wlan_p2p_roc.h"
|
||||
#include <cds_utils.h>
|
||||
#include "wlan_scan_api.h"
|
||||
#include "../../core/src/wlan_p2p_off_chan_tx.h"
|
||||
|
||||
bool wlan_p2p_check_oui_and_force_1x1(uint8_t *assoc_ie, uint32_t assoc_ie_len)
|
||||
{
|
||||
@@ -76,6 +77,13 @@ QDF_STATUS wlan_p2p_status_connect(struct wlan_objmgr_vdev *vdev)
|
||||
return p2p_status_connect(vdev);
|
||||
}
|
||||
|
||||
bool
|
||||
wlan_p2p_is_action_frame_of_p2p_type(uint8_t *data_buf,
|
||||
uint32_t length)
|
||||
{
|
||||
return p2p_is_action_frame_of_p2p_type(data_buf, length);
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_P2P_P2P_STA
|
||||
QDF_STATUS
|
||||
wlan_p2p_check_and_force_scc_go_plus_go(struct wlan_objmgr_psoc *psoc,
|
||||
|
在新工单中引用
屏蔽一个用户