~acelankao/+git/ubuntu-jammy:iwlwifi_67

Last commit made on 2023-08-22
Get this branch:
git clone -b iwlwifi_67 https://git.launchpad.net/~acelankao/+git/ubuntu-jammy
Only AceLan Kao can upload to this branch. If you are AceLan Kao please log in for upload directions.

Branch merges

Branch information

Name:
iwlwifi_67
Repository:
lp:~acelankao/+git/ubuntu-jammy

Recent commits

b25c583... 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: Chia-Lin Kao (AceLan) <email address hidden>

821aac3... 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: Chia-Lin Kao (AceLan) <email address hidden>

4870c29... 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: Chia-Lin Kao (AceLan) <email address hidden>

efd0954... 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: Chia-Lin Kao (AceLan) <email address hidden>

cc7307b... 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: Chia-Lin Kao (AceLan) <email address hidden>

07de437... 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: Chia-Lin Kao (AceLan) <email address hidden>

4ce75af... by Ayala Barazani <email address hidden>

iwlwifi: ACPI: support revision 3 WGDS tables

There's a new revision of the WGDS table with more data,
and corresponding firmware API to pass it through. Add
support for both.

Since we now support 4 different versions, make a table
to load them instead of hard-coding it all.

Signed-off-by: Ayala Barazani <email address hidden>
Signed-off-by: Johannes Berg <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211024165252.2f9b8e304f25.If88d2d1309270e659d4845c5b5c22d5e8d8e2caf@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 97f8a3d1610b1f50013de1e632b007cbfd7459d8)
Signed-off-by: Chia-Lin Kao (AceLan) <email address hidden>

d37e73b... 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: Chia-Lin Kao (AceLan) <email address hidden>

8497546... 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: Chia-Lin Kao (AceLan) <email address hidden>

f774333... by Johannes Berg

iwlwifi: mvm: set BT-coex high priority for 802.1X/4-way-HS

Set BT coex high priority during the 802.1X handshake to avoid
issues where BT is active enough to kill all the big negotiation
frames that we may need to send (e.g. with a large certificate),
leading to the connection not being established correctly. Give
WiFi priority over BT during this short but critical phase.

Signed-off-by: Johannes Berg <email address hidden>
Signed-off-by: Luca Coelho <email address hidden>
Link: https://lore.kernel.org/r/iwlwifi.20211017165728.a1825bbba397.I10315577fb41dfcec15c92e8f6785d9655f74c6a@changeid
Signed-off-by: Luca Coelho <email address hidden>
(cherry picked from commit 8b75858c2e218570a61bb7ee21b17bdd19c49485)
Signed-off-by: Chia-Lin Kao (AceLan) <email address hidden>