Commit 3faa76b
wifi: ath12k: install pairwise key first
commit 66e865f upstream.
As station, WCN7850 firmware requires pairwise key to be installed before
group key. Currently host does not care about this, so it is up to kernel
or userspace to decide which one will be installed first. In case above
requirement is not met, WCN7850 firmware's EAPOL station machine is messed
up, and finally connection fails [1].
Reorder key install for station interface in that case: this is done by
caching group key first; Later when pairwise key arrives, both can be
installed in required order.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00217-QCAHKSWPL_SILICONZ-1
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218733
Link: https://lore.kernel.org/all/AS8P190MB12051DDBD84CD88E71C40AD7873F2@AS8P190MB1205.EURP190.PROD.OUTLOOK.COM # [1]
Signed-off-by: Baochen Qiang <[email protected]>
Reviewed-by: Vasanthakumar Thiagarajan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jeff Johnson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent e1be1f3 commit 3faa76b
3 files changed
Lines changed: 74 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
348 | 352 | | |
349 | 353 | | |
350 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4723 | 4723 | | |
4724 | 4724 | | |
4725 | 4725 | | |
| 4726 | + | |
4726 | 4727 | | |
4727 | 4728 | | |
4728 | 4729 | | |
4729 | 4730 | | |
4730 | 4731 | | |
4731 | 4732 | | |
4732 | | - | |
4733 | | - | |
4734 | 4733 | | |
4735 | 4734 | | |
4736 | 4735 | | |
| |||
4739 | 4738 | | |
4740 | 4739 | | |
4741 | 4740 | | |
4742 | | - | |
| 4741 | + | |
4743 | 4742 | | |
4744 | 4743 | | |
4745 | 4744 | | |
| |||
4767 | 4766 | | |
4768 | 4767 | | |
4769 | 4768 | | |
| 4769 | + | |
| 4770 | + | |
| 4771 | + | |
| 4772 | + | |
| 4773 | + | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
| 4783 | + | |
| 4784 | + | |
| 4785 | + | |
| 4786 | + | |
| 4787 | + | |
| 4788 | + | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
4770 | 4798 | | |
4771 | | - | |
| 4799 | + | |
4772 | 4800 | | |
| 4801 | + | |
4773 | 4802 | | |
4774 | 4803 | | |
4775 | 4804 | | |
4776 | 4805 | | |
4777 | 4806 | | |
4778 | 4807 | | |
4779 | | - | |
4780 | | - | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
| 4838 | + | |
| 4839 | + | |
| 4840 | + | |
| 4841 | + | |
| 4842 | + | |
4781 | 4843 | | |
4782 | | - | |
| 4844 | + | |
4783 | 4845 | | |
4784 | 4846 | | |
4785 | 4847 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3760 | 3760 | | |
3761 | 3761 | | |
3762 | 3762 | | |
| 3763 | + | |
3763 | 3764 | | |
3764 | 3765 | | |
3765 | 3766 | | |
| |||
0 commit comments