mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Issue - When WiFi operating channel is switched, at times the wifi role index and role bitmap show that there is already a role assigned for the channel context and this causes a failure in association. Kernel warning is shown when this occurs. Fix - Update driver to v126-10 that fixes this issue. [ 57.590860] Call trace: [ 57.590861] rtw_phl_chanctx_add+0x528/0x8f4 [rtl8852ce] [ 57.590947] rtw_clear_is_accepted_status+0x4a4/0xbb8 [rtl8852ce] [ 57.591033] cur_req_hdl+0x3c/0x4c [rtl8852ce] [ 57.591118] msg_dispatch+0x2dc/0x3f8 [rtl8852ce] [ 57.591204] dispr_thread_loop_hdl+0x270/0x2dc [rtl8852ce] [ 57.591289] dispr_share_thread_loop_hdl+0x10/0x1c [rtl8852ce] [ 57.591374] share_thread_hdl+0xb8/0x1a0 [rtl8852ce] [ 57.591459] kthread+0x110/0x124 [ 57.591466] ret_from_fork+0x10/0x20 Bug 5440351 Bug 5442104 Change-Id: Ie78c70c1ea7a789351a2ba4ad445c4d0062281da Signed-off-by: Shobek Attupurath <sattupurath@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3426784 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
155 lines
3.8 KiB
C
155 lines
3.8 KiB
C
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2019 Realtek Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
*****************************************************************************/
|
|
#ifndef _PHL_HEADERS_H_
|
|
#define _PHL_HEADERS_H_
|
|
|
|
/*
|
|
* Basic components
|
|
*/
|
|
#include "rtw_general_def.h"
|
|
#include "phl_list.h"
|
|
#include "phl_status.h"
|
|
#include "pltfm_ops.h"
|
|
#include "phl_config.h"
|
|
#include "hal_g6/hal_config.h"
|
|
#include "phl_types.h"
|
|
#include "phl_util.h"
|
|
#include "hal_g6/mac/mac_exp_def.h"
|
|
#include "phl_def.h"
|
|
#include "phl_debug.h"
|
|
/*
|
|
* PHL Feature headers start
|
|
*/
|
|
#include "phl_ie.h"
|
|
#include "phl_regulation_def.h"
|
|
#include "phl_regulation.h"
|
|
#include "phl_trx_def.h"
|
|
#include "phl_wow_def.h"
|
|
#include "phl_ps_def.h"
|
|
#include "phl_btc_def.h"
|
|
#include "phl_p2pps_def.h"
|
|
#include "phl_cmd_dispatch.h"
|
|
#include "phl_watchdog.h"
|
|
#include "phl_chan.h"
|
|
#include "phl_role.h"
|
|
#include "phl_wow.h"
|
|
#include "phl_tdls.h"
|
|
#include "phl_struct.h"
|
|
#include "phl_mcc_def.h"
|
|
#include "phl_test_def.h"
|
|
#include "phl_test.h"
|
|
#include "phl_msg_hub.h"
|
|
#include "custom/phl_custom_def.h"
|
|
#include "custom/phl_custom_api.h"
|
|
#include "custom/phl_custom.h"
|
|
#include "phl_sw_cap.h"
|
|
#include "phl_sta.h"
|
|
#include "phl_mr.h"
|
|
#include "phl_mr_coex.h"
|
|
#include "test/trx_test.h"
|
|
#include "test/cmd_disp_test.h"
|
|
#include "test/phl_ps_dbg_cmd.h"
|
|
#include "test/phl_ser_dbg_cmd.h"
|
|
#include "phl_tx.h"
|
|
#include "phl_rx_agg.h"
|
|
#include "phl_rx.h"
|
|
|
|
#include "phl_ser_def.h"
|
|
#include "phl_sound_cmd.h"
|
|
#include "phl_sound.h"
|
|
|
|
#include "phl_ps.h"
|
|
#include "phl_scan.h"
|
|
#include "phl_diagnose.h"
|
|
|
|
#ifdef CONFIG_FSM
|
|
#include "phl_fsm.h"
|
|
#include "phl_cmd_fsm.h"
|
|
#include "phl_cmd_job.h"
|
|
#include "phl_ser_fsm.h"
|
|
#endif /*CONFIG_FSM*/
|
|
|
|
#include "phl_cmd_ps.h"
|
|
#include "phl_sound_cmd.h"
|
|
#include "phl_cmd_ser.h"
|
|
|
|
#include "phl_pkt_ofld.h"
|
|
#include "test/phl_dbg_cmd.h"
|
|
#include "phl_chan.h"
|
|
#include "phl_acs_def.h"
|
|
#include "phl_acs.h"
|
|
#include "phl_led_def.h"
|
|
#include "phl_led.h"
|
|
#include "phl_trx_mit.h"
|
|
#include "phl_dm.h"
|
|
#include "phl_notify.h"
|
|
#include "phl_cmd_general.h"
|
|
#include "phl_p2pps.h"
|
|
#include "phl_cmd_btc.h"
|
|
#include "phl_twt.h"
|
|
#include "phl_ecsa_export.h"
|
|
#include "phl_ecsa.h"
|
|
#include "phl_thermal.h"
|
|
#include "phl_txpwr.h"
|
|
#include "phl_ext_tx_pwr_lmt_def.h"
|
|
#include "phl_dfs.h"
|
|
|
|
#ifdef CONFIG_PHL_CHANNEL_INFO
|
|
#include "phl_chan_info_def.h"
|
|
#include "phl_chan_info.h"
|
|
#endif /* CONFIG_PHL_CHANNEL_INFO */
|
|
|
|
#ifdef CONFIG_PCI_HCI
|
|
#include "hci/phl_trx_def_pcie.h"
|
|
#include "hci/phl_trx_pcie.h"
|
|
#endif
|
|
#ifdef CONFIG_USB_HCI
|
|
#include "hci/phl_trx_def_usb.h"
|
|
#include "hci/phl_trx_usb.h"
|
|
#endif
|
|
#ifdef CONFIG_SDIO_HCI
|
|
#include "hci/phl_trx_def_sdio.h"
|
|
#include "hci/phl_trx_sdio.h"
|
|
#endif
|
|
|
|
|
|
/******************************************************************************
|
|
* Driver layer shall pass wifi configuration flag to PHL for feature category
|
|
* comment it temporarily.
|
|
*****************************************************************************/
|
|
#ifdef CONFIG_WIFI_5
|
|
#endif
|
|
|
|
#ifdef CONFIG_WIFI_6
|
|
#include "hal_g6/hal_general_def.h"
|
|
#include "hal_g6/phy/bb/halbb_bb_wrapper_outsrc.h"
|
|
#include "hal_g6/hal_def.h"
|
|
#include "hal_g6/hal_api.h"
|
|
#include "hal_g6/hal_scanofld.h"
|
|
#else
|
|
/*temporarily*/
|
|
#include "hal_g6/hal_general_def.h"
|
|
#include "hal_g6/phy/bb/halbb_bb_wrapper_outsrc.h"
|
|
#include "hal_g6/hal_def.h"
|
|
#include "hal_g6/hal_api.h"
|
|
#include "hal_g6/hal_scanofld.h"
|
|
#endif
|
|
|
|
#ifdef CONFIG_WIFI_7
|
|
#endif
|
|
|
|
#include "phl_int.h"
|
|
#endif /*_PHL_HEADERS_H_*/
|