wifi6 Linux driver - Intel ax201 wifi driver - 3 - pcie/drv.c 認卡
續前篇: pcie/drv.c 認卡
1. 之前發生
BUG: Unable to handle Kernel NULL pointer deference at ...
IP: iwl_trans_pcie_alloc+0xf7/0xc60 [iwlwifi]
這是因為原本參數用 structure iw_cfg , 改為 iw_cfg_trans_params
以致在
static void iwl_pcie_set_interrupt_capa(struct pci_dev *pdev,
struct iwl_trans *trans)
{
...
if (!trans->cfg->mq_rx_supported)
goto enable_msi;
產生問題.
還有一些類似的資料結構修改問題, 修正後
2. HW REV: 0x351
hw_rf_id=0x10a100
{IWL_PCI_DEVICE(0x02F0, 0x4070, iwl_ax201_cfg_quz_hr)
所以設定應該是走這個:
const struct iwl_cfg iwl_ax201_cfg_quz_hr = {
.name = "Intel(R) Wi-Fi 6 AX201 160MHz",
.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
IWL_DEVICE_22500,
/*
* This device doesn't support receiving BlockAck with a large bitmap
* so we need to restrict the size of transmitted aggregation to the
* HT size; mac80211 would otherwise pick the HE max (256) by default.
*/
.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
};
3. firmware
發生
no suitable firmware found!
minimum version required: iwlwifi-QuZ-a0-hr-b0-39
maximum version supported: iwlwifi-QuZ-a0-hr-b0-50
待續:
1. 之前發生
BUG: Unable to handle Kernel NULL pointer deference at ...
IP: iwl_trans_pcie_alloc+0xf7/0xc60 [iwlwifi]
這是因為原本參數用 structure iw_cfg , 改為 iw_cfg_trans_params
以致在
static void iwl_pcie_set_interrupt_capa(struct pci_dev *pdev,
struct iwl_trans *trans)
{
...
if (!trans->cfg->mq_rx_supported)
goto enable_msi;
產生問題.
還有一些類似的資料結構修改問題, 修正後
2. HW REV: 0x351
hw_rf_id=0x10a100
{IWL_PCI_DEVICE(0x02F0, 0x4070, iwl_ax201_cfg_quz_hr)
所以設定應該是走這個:
const struct iwl_cfg iwl_ax201_cfg_quz_hr = {
.name = "Intel(R) Wi-Fi 6 AX201 160MHz",
.fw_name_pre = IWL_QUZ_A_HR_B_FW_PRE,
IWL_DEVICE_22500,
/*
* This device doesn't support receiving BlockAck with a large bitmap
* so we need to restrict the size of transmitted aggregation to the
* HT size; mac80211 would otherwise pick the HE max (256) by default.
*/
.max_tx_agg_size = IEEE80211_MAX_AMPDU_BUF_HT,
};
發生
no suitable firmware found!
minimum version required: iwlwifi-QuZ-a0-hr-b0-39
maximum version supported: iwlwifi-QuZ-a0-hr-b0-50
待續:
留言
張貼留言