Commit 0e28ee10 authored by Johannes Berg's avatar Johannes Berg
Browse files
Jeff Johnson says:
====================
ath.git patches for v6.15

This development cycle again featured multiple patchsets to ath12k to
support the new 802.11be MLO feature. In addition, there was the usual
set of bug fixes and cleanups.
====================

Link: https://lore.kernel.org/linux-wireless/d01b1976-ebe8-48cd-8f49-32bfa00bed7e@oss.qualcomm.com/


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parents d1e879ec 9a0dddfb
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -92,20 +92,41 @@ properties:

  ieee80211-freq-limit: true

  qcom,calibration-data:
    $ref: /schemas/types.yaml#/definitions/uint8-array
    description:
      Calibration data + board-specific data as a byte array. The length
      can vary between hardware versions.

  qcom,ath10k-calibration-data:
    $ref: /schemas/types.yaml#/definitions/uint8-array
    deprecated: true
    description:
      Calibration data + board-specific data as a byte array. The length
      can vary between hardware versions.

  qcom,calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    description:
      Unique variant identifier of the calibration data in board-2.bin
      for designs with colliding bus and device specific ids

  qcom,ath10k-calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true
    description:
      Unique variant identifier of the calibration data in board-2.bin
      for designs with colliding bus and device specific ids

  qcom,pre-calibration-data:
    $ref: /schemas/types.yaml#/definitions/uint8-array
    description:
      Pre-calibration data as a byte array. The length can vary between
      hardware versions.

  qcom,ath10k-pre-calibration-data:
    $ref: /schemas/types.yaml#/definitions/uint8-array
    deprecated: true
    description:
      Pre-calibration data as a byte array. The length can vary between
      hardware versions.
+8 −1
Original line number Diff line number Diff line
@@ -22,8 +22,15 @@ properties:
  reg:
    maxItems: 1

  qcom,calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    description: |
      string to uniquely identify variant of the calibration data for designs
      with colliding bus and device ids

  qcom,ath11k-calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true
    description: |
      string to uniquely identify variant of the calibration data for designs
      with colliding bus and device ids
@@ -127,7 +134,7 @@ examples:
                vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
                vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;

                qcom,ath11k-calibration-variant = "LE_X13S";
                qcom,calibration-variant = "LE_X13S";
            };
        };
    };
+7 −0
Original line number Diff line number Diff line
@@ -41,8 +41,15 @@ properties:
        * reg
        * reg-names

  qcom,calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    description:
      string to uniquely identify variant of the calibration data in the
      board-2.bin for designs with colliding bus and device specific ids

  qcom,ath11k-calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true
    description:
      string to uniquely identify variant of the calibration data in the
      board-2.bin for designs with colliding bus and device specific ids
+10 −3
Original line number Diff line number Diff line
@@ -52,8 +52,15 @@ properties:
  reg:
    maxItems: 1

  qcom,calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    description:
      String to uniquely identify variant of the calibration data for designs
      with colliding bus and device ids

  qcom,ath12k-calibration-variant:
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true
    description:
      String to uniquely identify variant of the calibration data for designs
      with colliding bus and device ids
@@ -103,7 +110,7 @@ examples:
                compatible = "pci17cb,1109";
                reg = <0x0 0x0 0x0 0x0 0x0>;

                qcom,ath12k-calibration-variant = "RDP433_1";
                qcom,calibration-variant = "RDP433_1";

                ports {
                    #address-cells = <1>;
@@ -139,7 +146,7 @@ examples:
                compatible = "pci17cb,1109";
                reg = <0x0 0x0 0x0 0x0 0x0>;

                qcom,ath12k-calibration-variant = "RDP433_2";
                qcom,calibration-variant = "RDP433_2";
                qcom,wsi-controller;

                ports {
@@ -176,7 +183,7 @@ examples:
                compatible = "pci17cb,1109";
                reg = <0x0 0x0 0x0 0x0 0x0>;

                qcom,ath12k-calibration-variant = "RDP433_3";
                qcom,calibration-variant = "RDP433_3";

                ports {
                    #address-cells = <1>;
+10 −3
Original line number Diff line number Diff line
@@ -1163,6 +1163,9 @@ int ath10k_core_check_dt(struct ath10k *ar)
	if (!node)
		return -ENOENT;

	of_property_read_string(node, "qcom,calibration-variant",
				&variant);
	if (!variant)
		of_property_read_string(node, "qcom,ath10k-calibration-variant",
					&variant);
	if (!variant)
@@ -2259,6 +2262,8 @@ static int ath10k_core_pre_cal_download(struct ath10k *ar)
		   "boot did not find a pre calibration file, try DT next: %d\n",
		   ret);

	ret = ath10k_download_cal_dt(ar, "qcom,pre-calibration-data");
	if (ret == -ENOENT)
		ret = ath10k_download_cal_dt(ar, "qcom,ath10k-pre-calibration-data");
	if (ret) {
		ath10k_dbg(ar, ATH10K_DBG_BOOT,
@@ -2337,6 +2342,8 @@ static int ath10k_download_cal_data(struct ath10k *ar)
		   "boot did not find a calibration file, try DT next: %d\n",
		   ret);

	ret = ath10k_download_cal_dt(ar, "qcom,calibration-data");
	if (ret == -ENOENT)
		ret = ath10k_download_cal_dt(ar, "qcom,ath10k-calibration-data");
	if (ret == 0) {
		ar->cal_mode = ATH10K_CAL_MODE_DT;
Loading