qcacld-3.0: Add back port flag for 11be support

Add logic to set back port flag based on linux kernel version.

Change-Id: Ibee7bcd49f4ef65c3fb0abce80081facee11c6ba
CRs-Fixed: 3187824
This commit is contained in:
David Oladunjoye
2022-05-02 16:37:41 -07:00
gecommit door Madan Koyyalamudi
bovenliggende df4847be72
commit a8e810cec8
10 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen

Bestand weergeven

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022 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 above
@@ -24,6 +25,7 @@
#if !defined(WLAN_HDD_EHT_H)
#define WLAN_HDD_EHT_H
#include "wlan_osif_features.h"
struct hdd_context;
struct wma_tgt_cfg;

Bestand weergeven

@@ -121,6 +121,7 @@
#include "wlan_hdd_bus_bandwidth.h"
#include <wlan_hdd_cm_api.h>
#include "wlan_hdd_mlo.h"
#include "wlan_osif_features.h"
/*
* Preprocessor definitions and constants

Bestand weergeven

@@ -25,6 +25,7 @@
#if !defined(WLAN_HDD_MLO_H)
#define WLAN_HDD_MLO_H
#include <wlan_hdd_main.h>
#include "wlan_osif_features.h"
/**
* struct hdd_adapter_create_param - adapter create parameters

Bestand weergeven

@@ -180,6 +180,7 @@
#include "wlan_hdd_son.h"
#include "wlan_hdd_mcc_quota.h"
#include "wlan_cfg80211_wifi_pos.h"
#include "wlan_osif_features.h"
#define g_mode_rates_size (12)
#define a_mode_rates_size (8)

Bestand weergeven

@@ -52,6 +52,7 @@
#include "wlan_hdd_hostapd.h"
#include <wlan_twt_ucfg_ext_api.h>
#include <osif_twt_internal.h>
#include "wlan_osif_features.h"
bool hdd_cm_is_vdev_associated(struct hdd_adapter *adapter)
{

Bestand weergeven

@@ -31,6 +31,7 @@
#include "qc_sap_ioctl.h"
#include "wma_api.h"
#include "wlan_hdd_sysfs.h"
#include "wlan_osif_features.h"
#if defined(WLAN_FEATURE_11BE) && defined(CFG80211_11BE_BASIC)
#define CHAN_WIDTH_SET_40MHZ_IN_2G \

Bestand weergeven

@@ -110,6 +110,7 @@
#include "wlan_hdd_mcc_quota.h"
#include "wlan_hdd_wds.h"
#include "wlan_hdd_pre_cac.h"
#include "wlan_osif_features.h"
#define ACS_SCAN_EXPIRY_TIMEOUT_S 4

Bestand weergeven

@@ -225,6 +225,7 @@
#include "wlan_hdd_mcc_quota.h"
#include "osif_pre_cac.h"
#include "wlan_hdd_pre_cac.h"
#include "wlan_osif_features.h"
#ifdef MULTI_CLIENT_LL_SUPPORT
#define WLAM_WLM_HOST_DRIVER_PORT_ID 0xFFFFFF

Bestand weergeven

@@ -25,6 +25,7 @@
#include "wlan_hdd_main.h"
#include "wlan_hdd_mlo.h"
#include "osif_vdev_sync.h"
#include "wlan_osif_features.h"
#if defined(CFG80211_11BE_BASIC)
void hdd_update_mld_mac_addr(struct hdd_context *hdd_ctx,

Bestand weergeven

@@ -37,6 +37,7 @@
#include "sap_api.h"
#include "wlan_hdd_hostapd.h"
#include "osif_psoc_sync.h"
#include "wlan_osif_features.h"
#define REG_RULE_2412_2462 REG_RULE(2412-10, 2462+10, 40, 0, 20, 0)