Search Linux Wireless

Re: [PATCH] iwlwifi: mvm: Ignore NVM write status 0x1000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/13/24 9:26 AM, Korenblit, Miriam Rachel wrote:

-----Original Message-----
From: Marek Vasut <marex@xxxxxxx>
Sent: Sunday, 12 May 2024 21:49
To: linux-wireless@xxxxxxxxxxxxxxx
Cc: Marek Vasut <marex@xxxxxxx>; Abhishek Naik <abhishek.naik@xxxxxxxxx>;
Grumbach, Emmanuel <emmanuel.grumbach@xxxxxxxxx>; Gregory Greenman
<gregory.greenman@xxxxxxxxx>; Berg, Johannes <johannes.berg@xxxxxxxxx>;
Kalle Valo <kvalo@xxxxxxxxxx>; Korenblit, Miriam Rachel
<miriam.rachel.korenblit@xxxxxxxxx>
Subject: [PATCH] iwlwifi: mvm: Ignore NVM write status 0x1000

When loading custom NVM file on Wireless-AC 9260 160MHz, REV=0x324
8086:2526 (rev 29) Subsystem: 8086:001c firmware version 46.6b541b68.0 9260-
th-b0-jf-b0-46.ucode , the NVM_WRITE_OPCODE return status is 0x1000 for all
sections. What does this mean is unknown, however clearing the top 4 bits
permits the NVM to be written and the card operates as it should.

Hexdump of the iNVM file is below, the iNVM file overrides antenna settings to
only use AUX antenna and disables MIMO .

The custom NVM is meant for internal use only.

But why does NVM loading not work without this patch ?

To override antenna settings please use the nl80211 command: NL80211_CMD_SET_WIPHY
You can use the 'iw set antenna' command.

I need to use only the AUX antenna and disable MIMO entirely, the 'iw set antenna' didn't work, the custom NVM fragment does work.

But I do need this extra patch to load the NVM fragment.

Is the patch correct ? Why is the 0x1000 returned and why does it have to be masked out ?




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux