Loading Documentation/devicetree/bindings/cnss/cnss-wlan.txt +3 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,9 @@ Optional properties: WLAN_EN pin is a gpio or fixed regulator. - qcom,mhi: phandle to indicate the device which needs MHI support. - qcom,cap-tsf-gpio: WLAN_TSF_CAPTURED GPIO signal specified by the chip specifications, should be drived depending on products specifications, should be drived depending on products. - cnss-daemon-support: Boolean property to decide whether cnss_daemon userspace QMI client is supported. Example: Loading drivers/net/wireless/cnss2/main.c +4 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ #define FW_ASSERT_TIMEOUT 5000 #define CNSS_EVENT_PENDING 2989 #define CNSS_QUIRKS_DEFAULT BIT(ENABLE_DAEMON_SUPPORT) #ifdef CONFIG_CNSS_EMULATION #define CNSS_MHI_TIMEOUT_DEFAULT 90000 #else Loading Loading @@ -1608,7 +1607,10 @@ static void cnss_misc_deinit(struct cnss_plat_data *plat_priv) static void cnss_init_control_params(struct cnss_plat_data *plat_priv) { plat_priv->ctrl_params.quirks = CNSS_QUIRKS_DEFAULT; if (of_property_read_bool(plat_priv->plat_dev->dev.of_node, "cnss-daemon-support")) plat_priv->ctrl_params.quirks |= BIT(ENABLE_DAEMON_SUPPORT); plat_priv->ctrl_params.mhi_timeout = CNSS_MHI_TIMEOUT_DEFAULT; plat_priv->ctrl_params.qmi_timeout = CNSS_QMI_TIMEOUT_DEFAULT; plat_priv->ctrl_params.bdf_type = CNSS_BDF_TYPE_DEFAULT; Loading Loading
Documentation/devicetree/bindings/cnss/cnss-wlan.txt +3 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,9 @@ Optional properties: WLAN_EN pin is a gpio or fixed regulator. - qcom,mhi: phandle to indicate the device which needs MHI support. - qcom,cap-tsf-gpio: WLAN_TSF_CAPTURED GPIO signal specified by the chip specifications, should be drived depending on products specifications, should be drived depending on products. - cnss-daemon-support: Boolean property to decide whether cnss_daemon userspace QMI client is supported. Example: Loading
drivers/net/wireless/cnss2/main.c +4 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ #define FW_ASSERT_TIMEOUT 5000 #define CNSS_EVENT_PENDING 2989 #define CNSS_QUIRKS_DEFAULT BIT(ENABLE_DAEMON_SUPPORT) #ifdef CONFIG_CNSS_EMULATION #define CNSS_MHI_TIMEOUT_DEFAULT 90000 #else Loading Loading @@ -1608,7 +1607,10 @@ static void cnss_misc_deinit(struct cnss_plat_data *plat_priv) static void cnss_init_control_params(struct cnss_plat_data *plat_priv) { plat_priv->ctrl_params.quirks = CNSS_QUIRKS_DEFAULT; if (of_property_read_bool(plat_priv->plat_dev->dev.of_node, "cnss-daemon-support")) plat_priv->ctrl_params.quirks |= BIT(ENABLE_DAEMON_SUPPORT); plat_priv->ctrl_params.mhi_timeout = CNSS_MHI_TIMEOUT_DEFAULT; plat_priv->ctrl_params.qmi_timeout = CNSS_QMI_TIMEOUT_DEFAULT; plat_priv->ctrl_params.bdf_type = CNSS_BDF_TYPE_DEFAULT; Loading