iwlwifi: fw api: fix PHY data 2/3 position
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2020 15:48:07 +0000 (18:48 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 May 2020 06:50:29 +0000 (09:50 +0300)
In AX210 devices, the PHY data wasn't actually reported, but now
that it's going to be reported it turns out that the position is
supposed to be the other way around, fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200424182643.06de959301f5.I544c353a8a811f107bd66d168e37920237ecf071@changeid
drivers/net/wireless/intel/iwlwifi/fw/api/rx.h

index 88bc7733065f49c8cf957ef1b34940f570162858..b8b36a4f9eb98479408dabff02d73d53311cb200 100644 (file)
@@ -5,10 +5,9 @@
  *
  * GPL LICENSE SUMMARY
  *
- * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
+ * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
  * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
  * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
- * Copyright(c) 2018 - 2019 Intel Corporation
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of version 2 of the GNU General Public License as
  *
  * BSD LICENSE
  *
- * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
+ * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
  * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
  * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
- * Copyright(c) 2018 - 2019 Intel Corporation
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -535,9 +533,9 @@ struct iwl_rx_mpdu_desc_v3 {
                __le32 filter_match;
 
                /**
-                * @phy_data2: depends on info type (see @phy_data1)
+                * @phy_data3: depends on info type (see @phy_data1)
                 */
-               __le32 phy_data2;
+               __le32 phy_data3;
        };
 
        /* DW8 - carries rss_hash only when rpa_en == 1 */
@@ -548,9 +546,9 @@ struct iwl_rx_mpdu_desc_v3 {
                __le32 rss_hash;
 
                /**
-                * @phy_data3: depends on info type (see @phy_data1)
+                * @phy_data2: depends on info type (see @phy_data1)
                 */
-               __le32 phy_data3;
+               __le32 phy_data2;
        };
        /* DW9 */
        /**