# Arch Linux Intel AX211 Wifi X1 Carbon (Gen 10)
### wifi (iwlwifi)
Had to configure the following to keep the wifi stable. For information about the parameters, see the [Parameters](#Parameters) section.
```
cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=8
options iwlwifi uapsd_disable=1
options iwlmvm power_scheme=1
```
### The error I was getting
```
[ 1055.811353] wlp0s20f3: disconnect from AP 64:97:14:6b:fa:67 for new auth to 30:34:22:09:c2:a7
[ 1055.906389] wlp0s20f3: authenticate with 30:34:22:09:c2:a7
[ 1055.951233] wlp0s20f3: send auth to 30:34:22:09:c2:a7 (try 1/3)
[ 1056.010456] wlp0s20f3: authenticate with 30:34:22:09:c2:a7
[ 1056.026243] wlp0s20f3: send auth to 30:34:22:09:c2:a7 (try 1/3)
[ 1056.029432] wlp0s20f3: authenticated
[ 1056.057279] wlp0s20f3: associate with 30:34:22:09:c2:a7 (try 1/3)
[ 1056.061449] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 1056.065099] wlp0s20f3: RX ReassocResp from 30:34:22:09:c2:a7 (capab=0x1111 status=30 aid=7)
[ 1056.065125] wlp0s20f3: 30:34:22:09:c2:a7 rejected association temporarily; comeback duration 997 TU (1020 ms)
[ 1057.109808] wlp0s20f3: associate with 30:34:22:09:c2:a7 (try 2/3)
[ 1057.197751] wlp0s20f3: RX ReassocResp from 30:34:22:09:c2:a7 (capab=0x1111 status=0 aid=7)
[ 1057.202790] wlp0s20f3: associated
[ 1057.238161] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 1057.257634] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by 30:34:22:09:c2:a7
[ 1057.453250] audit: type=1130 audit(1670295839.640:172): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1067.467048] audit: type=1131 audit(1670295849.653:173): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1670.804566] wlp0s20f3: disconnect from AP 30:34:22:09:c2:a7 for new auth to 64:97:14:6b:fa:67
[ 1670.892919] wlp0s20f3: authenticate with 64:97:14:6b:fa:67
[ 1670.943648] wlp0s20f3: send auth to 64:97:14:6b:fa:67 (try 1/3)
[ 1670.976519] wlp0s20f3: authenticated
[ 1671.002894] wlp0s20f3: associate with 64:97:14:6b:fa:67 (try 1/3)
[ 1671.012075] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 1671.013284] wlp0s20f3: RX ReassocResp from 64:97:14:6b:fa:67 (capab=0x1111 status=30 aid=1)
[ 1671.013323] wlp0s20f3: 64:97:14:6b:fa:67 rejected association temporarily; comeback duration 995 TU (1018 ms)
[ 1672.042896] wlp0s20f3: associate with 64:97:14:6b:fa:67 (try 2/3)
[ 1672.104382] wlp0s20f3: RX ReassocResp from 64:97:14:6b:fa:67 (capab=0x1111 status=0 aid=1)
[ 1672.117941] wlp0s20f3: associated
[ 1672.122429] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by 64:97:14:6b:fa:67
[ 1672.382532] audit: type=1130 audit(1670296454.566:174): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1682.396002] audit: type=1131 audit(1670296464.580:175): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1975.835749] iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
[ 1975.835893] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[ 1975.835935] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 6
[ 1975.835940] iwlwifi 0000:00:14.3: Loaded firmware version: 72.daa05125.0 so-a0-gf-a0-72.ucode
[ 1975.835944] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
[ 1975.835948] iwlwifi 0000:00:14.3: 0x000002F0 | trm_hw_status0
[ 1975.835951] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[ 1975.835953] iwlwifi 0000:00:14.3: 0x004DAAEE | branchlink2
[ 1975.835955] iwlwifi 0000:00:14.3: 0x004D0C26 | interruptlink1
[ 1975.835958] iwlwifi 0000:00:14.3: 0x004D0C26 | interruptlink2
[ 1975.835960] iwlwifi 0000:00:14.3: 0x0000E852 | data1
[ 1975.835963] iwlwifi 0000:00:14.3: 0x00000010 | data2
[ 1975.835965] iwlwifi 0000:00:14.3: 0x00000000 | data3
[ 1975.835967] iwlwifi 0000:00:14.3: 0xE58025CF | beacon time
[ 1975.835970] iwlwifi 0000:00:14.3: 0x3D10BCD2 | tsf low
[ 1975.835972] iwlwifi 0000:00:14.3: 0x00000176 | tsf hi
[ 1975.835974] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[ 1975.835977] iwlwifi 0000:00:14.3: 0x62712DB0 | time gp2
[ 1975.835979] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[ 1975.835981] iwlwifi 0000:00:14.3: 0x00000048 | uCode version major
[ 1975.835983] iwlwifi 0000:00:14.3: 0xDAA05125 | uCode version minor
[ 1975.835986] iwlwifi 0000:00:14.3: 0x00000370 | hw version
[ 1975.835988] iwlwifi 0000:00:14.3: 0x00489002 | board version
[ 1975.835990] iwlwifi 0000:00:14.3: 0x801DFA00 | hcmd
[ 1975.835992] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[ 1975.835995] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[ 1975.835997] iwlwifi 0000:00:14.3: 0x48F00002 | isr2
[ 1975.835999] iwlwifi 0000:00:14.3: 0x00C3080C | isr3
[ 1975.836002] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[ 1975.836004] iwlwifi 0000:00:14.3: 0x0426001C | last cmd Id
[ 1975.836006] iwlwifi 0000:00:14.3: 0x0000E852 | wait_event
[ 1975.836009] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[ 1975.836011] iwlwifi 0000:00:14.3: 0x00000020 | l2p_duration
[ 1975.836013] iwlwifi 0000:00:14.3: 0x0000003F | l2p_mhvalid
[ 1975.836015] iwlwifi 0000:00:14.3: 0x00001800 | l2p_addr_match
[ 1975.836018] iwlwifi 0000:00:14.3: 0x00000009 | lmpm_pmg_sel
[ 1975.836020] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[ 1975.836022] iwlwifi 0000:00:14.3: 0x00009898 | flow_handler
[ 1975.836104] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[ 1975.836108] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
[ 1975.836112] iwlwifi 0000:00:14.3: 0x2010300F | ADVANCED_SYSASSERT
[ 1975.836115] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[ 1975.836117] iwlwifi 0000:00:14.3: 0x8045FDF8 | umac branchlink2
[ 1975.836119] iwlwifi 0000:00:14.3: 0xC0084DFC | umac interruptlink1
[ 1975.836121] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[ 1975.836124] iwlwifi 0000:00:14.3: 0x00000001 | umac data1
[ 1975.836126] iwlwifi 0000:00:14.3: 0x00000003 | umac data2
[ 1975.836128] iwlwifi 0000:00:14.3: 0x00000004 | umac data3
[ 1975.836130] iwlwifi 0000:00:14.3: 0x00000048 | umac major
[ 1975.836132] iwlwifi 0000:00:14.3: 0xDAA05125 | umac minor
[ 1975.836134] iwlwifi 0000:00:14.3: 0x62712DA9 | frame pointer
[ 1975.836137] iwlwifi 0000:00:14.3: 0xC0885EB4 | stack pointer
[ 1975.836139] iwlwifi 0000:00:14.3: 0x0022010D | last host cmd
[ 1975.836141] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[ 1975.836202] iwlwifi 0000:00:14.3: IML/ROM dump:
[ 1975.836204] iwlwifi 0000:00:14.3: 0x00000B03 | IML/ROM error/state
[ 1975.836264] iwlwifi 0000:00:14.3: 0x00007F37 | IML/ROM data1
[ 1975.836327] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[ 1975.836385] iwlwifi 0000:00:14.3: Fseq Registers:
[ 1975.836437] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[ 1975.836487] iwlwifi 0000:00:14.3: 0x803E0001 | FSEQ_TOP_INIT_VERSION
[ 1975.836538] iwlwifi 0000:00:14.3: 0x00190002 | FSEQ_CNVIO_INIT_VERSION
[ 1975.836591] iwlwifi 0000:00:14.3: 0x0000A652 | FSEQ_OTP_VERSION
[ 1975.836642] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[ 1975.836692] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[ 1975.836743] iwlwifi 0000:00:14.3: 0x00080400 | FSEQ_CNVI_ID
[ 1975.836794] iwlwifi 0000:00:14.3: 0x00400410 | FSEQ_CNVR_ID
[ 1975.836847] iwlwifi 0000:00:14.3: 0x00080400 | CNVI_AUX_MISC_CHIP
[ 1975.836899] iwlwifi 0000:00:14.3: 0x00400410 | CNVR_AUX_MISC_CHIP
[ 1975.836951] iwlwifi 0000:00:14.3: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 1975.837001] iwlwifi 0000:00:14.3: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 1975.837225] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[ 1975.837236] ieee80211 phy0: Hardware restart was requested
```
### Parameters
```
$ modinfo iwlinfo
...
parm: debug:debug output mask (uint)
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 2K for AX210 devices, 4K for other devices 1:4K 2:8K 3:12K (16K buffers) 4: 2K (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: nvm_file:NVM file name (charp)
parm: uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
parm: enable_ini:0:disable, 1-15:FW_DBG_PRESET Values, 16:enabled without preset value defined,Debug INI TLV FW debug infrastructure (default: 16)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
parm: disable_11ac:Disable VHT capabilities (default: false) (bool)
parm: remove_when_gone:Remove dev from PCIe bus if it is deemed inaccessible (default: false) (bool)
parm: disable_11ax:Disable HE capabilities (default: false) (bool)
```