~vicamo/+git/ubuntu-kernel:bug-1948375/iwlwifi-fw-api-67-all/jammy

Last commit made on 2022-02-21
Get this branch:
git clone -b bug-1948375/iwlwifi-fw-api-67-all/jammy https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1948375/iwlwifi-fw-api-67-all/jammy
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

ca730ea... by You-Sheng Yang

Bug 1948375: iwlwifi: bump FW API to 67 for AX devices

6bc66b4... by Luca Coelho

iwlwifi: bump FW API to 67 for AX devices

Start supporting API version 67 for AX devices.

Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.3c0af5832d23.I7c18858604b72bc15cf2047a91531e4aa7c0527a@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit cbaa6aeedee5f92dafa5982eceea2a1f98ce4f7d)
Signed-off-by: You-Sheng Yang <email address hidden>

eaa8244... by Johannes Berg

iwlwifi: mvm: extend session protection on association

When we receive an association response, a significant amount
of time might have passed since we sent the corresponding
association request (mac80211 will wait up to 500ms for the TX
and then 100ms for the response after ACK was received). But
the time event is touched only when we send the assoc request,
so it might not have much time remaining, more easily causing
the (dreaded)

  No beacon heard and the session protection is over already...

message.

Refactor iwl_mvm_mac_mgd_prepare_tx() and split out a new
function iwl_mvm_protect_assoc(), and call it on successful
association to extend the time event to the minimum time if
necessary.

Signed-off-by: Johannes Berg <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.411c174d9e5e.I03c701c2e9e6788f34546e538264763db0ab30ef@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit af84ac579c66869a30bf2ca61c3bf63117c060ce)
Signed-off-by: You-Sheng Yang <email address hidden>

bbc77ee... by Nathan Errera <email address hidden>

iwlwifi: rename CHANNEL_SWITCH_NOA_NOTIF to CHANNEL_SWITCH_START_NOTIF

There is no relation between the name and the purpose of the
notification. This notification is sent from FW when the channel switch
starts.

Signed-off-by: Nathan Errera <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.24b71b0cb741.I97deb70e18f259de51395a1e7c7e58c7b006c317@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 6905eb1c3b9ee4580f5d2c7fd9f2bbcc74ec26eb)
Signed-off-by: You-Sheng Yang <email address hidden>

572578b... by Johannes Berg

iwlwifi: mvm: remove session protection on disassoc

If we somehow get disassociated while still waiting for a beacon
during connection, we can end up printing the

  No beacon heard and the session protection is over already...

message even if we aren't really quite waiting for it anymore.
Remove the time event, if it's running, when we get disassociated
and don't need to wait for beacons anymore.

Signed-off-by: Johannes Berg <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.6192e2363784.Ie9c2bfdc30dcfff2c4dd7c393c79e3ac182840a9@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit cf7a7457a362aa868c7d66b1ccbd20b9872a2ff9)
Signed-off-by: You-Sheng Yang <email address hidden>

86107d2... by Luca Coelho

iwlwifi: mvm: fix WGDS table print in iwl_mvm_chub_update_mcc()

WGDS table index 0 means disabled, but we were erroneously checking
for < 0 to print that it is disabled. Fix that and make the print
more readable by mentioning that it's either disabled or there was an
error.

Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.98a5572bf0f8.I6c112ca80cf427f12b2c752899d293cb6437ba5f@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit a6175a85ba339bb2a019abbfd21e0a9c2942bea1)
Signed-off-by: You-Sheng Yang <email address hidden>

8292f80... by Luca Coelho

iwlwifi: rename GEO_TX_POWER_LIMIT to PER_CHAIN_LIMIT_OFFSET_CMD

When this code was implemented, there was no official FW API
description yet, so a placeholder name was used (GEO_TX_POWER_LIMIT).
But then the command became actually called
PER_CHAIN_LIMIT_OFFSET_CMD. Rename the command (and change related
comments) to PER_CHAIN_LIMIT_OFFSET_CMD to avoid confusion.

Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.672fa727ef75.I6572df5d1e3441a0214993a59985da9a9431f3e5@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 523de6c872ca89e2a636f5c03ab48fc0769e132b)
Signed-off-by: You-Sheng Yang <email address hidden>

fcec779... by Johannes Berg

iwlwifi: mvm: d3: use internal data representation

Trying to convert from one firmware data representation to the
next version is getting tedious and error-prone, and doesn't
lend itself well to new APIs being added. Additionally, the
version 11 of the API as defined in the driver doesn't even
exist in the firmware.

Instead of converting to a newer firmware version of the data,
convert to an internal representation. This takes a bit more
space because the TKIP/AES counters etc. must be kept twice,
their representation is different and we don't know which of
the ones it is until later, but this is just a temporary use
of memory, and the code is clearer this way.

Signed-off-by: Johannes Berg <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.9e71630627f3.Iad975e15338844ca068683f62a51eb1fcb69e608@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 4d4cbb9b8e56394d18ec3be3744ae84e9797a865)
Signed-off-by: You-Sheng Yang <email address hidden>

b6467e2... by Gregory Greenman <email address hidden>

iwlwifi: mvm: update RFI TLV

RFI TLV was moved in FW from set3 to set1 due to FW internal
dependency. Adjust driver to this change.

Signed-off-by: Gregory Greenman <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.90e42cd8cb37.I89ac9910e38006a2e5c9e87d371a8507f475572d@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 9da090cdbcfa1ef864bfcbad9ad7e18691395867)
Signed-off-by: You-Sheng Yang <email address hidden>

9affc98... by Luca Coelho

iwlwifi: mvm: don't get address of mvm->fwrt just to dereference as a pointer

The mvm->fwrt element is not a pointer, but an instance of the
structure, so we should access its elements with a dot-notation
instead of getting the address and dereferencing it as a pointer.

Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.ce6841093681.I09634a0aa845a0256e79c7895154d9ac35bc26be@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 45fe1b6b6c999f76975581fe6d4888dad3bbbfd8)
Signed-off-by: You-Sheng Yang <email address hidden>